|
|
Hi all...
Just compiled povray-3.50c on my debian linux box and notized
the following:
----------<snip>---------
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... no
checking return type of signal handlers... void
checking for strftime... no
checking for strftime in -lintl... no
checking for vprintf... no
checking for getcwd... no
checking for gettimeofday... no
------------------------
The last line definitively made me suspicious.
The problem begins when detecting -lX11: For X11 detection
the linker path -L/usr/X11R6/lib is passed but it is omitted for
all future calls to gcc. The following patch fixes this problem:
-----------<diff>-----------
--- configure.in-orig 2003-03-28 22:35:05.000000000 +0100
+++ configure.in 2003-03-28 22:41:14.000000000 +0100
@@ -26,7 +26,8 @@
dnl Checks for header files.
AC_PATH_XTRA
dnl Now we can check for libX11
-AC_CHECK_LIB(X11, XFlush, LIBS="$LIBS -lX11", true, -L$x_libraries -lX11)
+AC_CHECK_LIB(X11, XFlush, LIBS="$LIBS -lX11 -L$x_libraries", true,
+ -L$x_libraries -lX11)
AC_HEADER_STDC
AC_CHECK_HEADERS(limits.h sys/time.h unistd.h, )
----------------------------
Wolfgang
Post a reply to this message
|
|