X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=77934a7e53bda59cefaacaf3f12a89a35b9ce8ff;hb=0911fa4fa2d418fbbbaf8cf9891609aee87b411d;hp=2d573ebdef14c0dedf1089ac1edc0dc2f5f42468;hpb=db633330fe548b5c1e71322c8d34440d40a58e04;p=simgear.git diff --git a/configure.ac b/configure.ac index 2d573ebd..77934a7e 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ dnl Require at least automake 2.52 AC_PREREQ(2.52) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 0.3.8) +AM_INIT_AUTOMAKE(SimGear, 0.3.9) dnl Specify KAI C++ compiler and flags. dnl Borrowed with slight modification from blitz distribution. @@ -170,7 +170,7 @@ if test "x$ac_cv_header_pthread_h" = "xyes"; then if test "x$ac_cv_search_pthread_exit" = "x-lc_r"; then CXXFLAGS="-pthread $CXXFLAGS" - CFLAGS="-pthread $FLAGS" + CFLAGS="-pthread $CFLAGS" fi fi @@ -250,6 +250,9 @@ case "${host}" in esac +AC_SEARCH_LIBS(glutGetModifiers, [ glut glut32 freeglut ], have_glut=yes, have_glut=no) +AM_CONDITIONAL(HAVE_GLUT, test "x$have_glut" = "xyes") + opengl_LIBS="$LIBS" LIBS="$base_LIBS" @@ -282,6 +285,7 @@ case "${host}" in save_LIBS=$LIBS LIBS="$LIBS $thread_LIBS" AC_SEARCH_LIBS(alGenBuffers, openal) + AC_SEARCH_LIBS(alutInit, [ alut openal ] ) OPENAL_OK="$ac_cv_search_alGenBuffers" openal_LIBS="$LIBS" LIBS=$save_LIBS @@ -386,6 +390,7 @@ fi dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T +AC_TYPE_MODE_T AC_HEADER_TIME AC_STRUCT_TM @@ -425,7 +430,6 @@ AC_CONFIG_FILES([ \ simgear/scene/material/Makefile \ simgear/scene/model/Makefile \ simgear/scene/sky/Makefile \ - simgear/scene/sky/clouds3d/Makefile \ simgear/scene/tgdb/Makefile \ simgear/screen/Makefile \ simgear/serial/Makefile \ @@ -433,7 +437,6 @@ AC_CONFIG_FILES([ \ simgear/structure/Makefile \ simgear/threads/Makefile \ simgear/timing/Makefile \ - simgear/xgl/Makefile \ simgear/xml/Makefile \ ]) AC_OUTPUT