]> git.mxchange.org Git - simgear.git/blobdiff - configure.ac
Hopefully the last Cygwin fix
[simgear.git] / configure.ac
index 5446e90607f939338e8a6e284c058b3d5916bb53..c0aac66f4626dfab1b06fcfa471e48232c3356bc 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)
 
@@ -374,6 +377,7 @@ AC_CONFIG_FILES([ \
        simgear/magvar/Makefile \
        simgear/math/Makefile \
        simgear/metar/Makefile \
+       simgear/environment/Makefile \
        simgear/misc/Makefile \
        simgear/nasal/Makefile \
        simgear/props/Makefile \