]> git.mxchange.org Git - simgear.git/commitdiff
Make sure all libraries are used to test for certain functions
authorehofman <ehofman>
Tue, 27 Jan 2004 09:41:33 +0000 (09:41 +0000)
committerehofman <ehofman>
Tue, 27 Jan 2004 09:41:33 +0000 (09:41 +0000)
configure.ac

index 5446e90607f939338e8a6e284c058b3d5916bb53..922f7cbcc80608b0cee3b4acfd241f25d985c7ef 100644 (file)
@@ -350,11 +350,14 @@ AC_HEADER_TIME
 AC_STRUCT_TM
 
 dnl Checks for library functions.
+old_LIBS=$LIBS
+LIBS="$base_LIBS $network_LIBS $opengl_LIBS"
 AC_TYPE_SIGNAL
 AC_FUNC_VPRINTF
-AC_CHECK_FUNCS( \
+AC_CHECK_FUNCS( \
         ftime gettimeofday timegm memcpy bcopy mktime strstr rand \
-       random drand48 setitimer getitimer signal GetLocalTime rint getrusage )
+       random drand48 setitimer getitimer signal GetLocalTime rint getrusage ] )
+LIBS=$old_LIBS
 
 AM_CONFIG_HEADER(simgear/simgear_config.h)