if test "x$with_efence" = "xyes" ; then
echo "Building with efence"
- LIBS= "$LIBS -lefence"
+ LIBS="$LIBS -lefence"
fi
dnl Check for MS Windows environment
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS( \
- fcntl.h getopt.h malloc.h memory.h stdlib.h sys/param.h sys/stat.h \
- sys/time.h sys/timeb.h unistd.h windows.h winbase.h values.h )
+ fcntl.h getopt.h malloc.h memory.h stdint.h stdlib.h sys/param.h \
+ sys/stat.h sys/time.h sys/timeb.h unistd.h windows.h winbase.h values.h )
+
+if test "x$ac_cv_header_stdint_h" = "xyes"; then
+ AC_DEFINE( HAVE_STDINT_H )
+fi
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_CHECK_FUNCS( ftime gettimeofday timegm memcpy bcopy mktime strstr rand \
random setitimer getitimer signal GetLocalTime rint getrusage )
-AM_CONFIG_HEADER(simgear/config.h)
+AM_CONFIG_HEADER(simgear/simgear_config.h)
AC_OUTPUT( \
Makefile \
fi
if test "x$ac_cv_lib_pthread_pthread_exit" = "xyes" -a "x$ac_cv_header_pthread_h" = "xyes"; then
- echo "Threads: pthread is supported."
+ echo "Threads: pthread lib found."
else
- echo "Threads: no threads (pthreads not found.)"
+ echo "Threads: no threads (pthread lib not found.)"
fi