X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=38f795832a1c63489a196a64a34ff206f35bdf27;hb=20c099b7ef4ef49b951dbfb9cf1df7ba4065ba6a;hp=cc7c437c0209f8a2095e7b57f154ddd5334d6899;hpb=c3bdd0e5377a37be5f6c8899254a0cced59d9cbd;p=simgear.git diff --git a/configure.ac b/configure.ac index cc7c437c..38f79583 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ AC_CONFIG_SRCDIR([simgear/bucket/newbucket.cxx]) AC_PREREQ(2.52) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 0.0.19pre2) +AM_INIT_AUTOMAKE(SimGear, 0.3.0) dnl Specify KAI C++ compiler and flags. dnl Borrowed with slight modification from blitz distribution. @@ -38,14 +38,20 @@ AC_PROG_RANLIB AC_PROG_INSTALL AC_PROG_LN_S + +# Used on the Irix platform AR="ar" +ARFLAGS="cru" OS=`uname -s` if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then if test "$CXX" = "CC"; then AR="CC -ar" - AC_SUBST(AR) + ARFLAGS="-o" fi fi +AC_SUBST(AR) +AC_SUBST(ARFLAGS) + if echo $includedir | egrep "simgear$" > /dev/null; then echo "includedir is" $includedir "libdir is" $libdir @@ -107,7 +113,7 @@ AM_CONDITIONAL(IS_CYGWIN, test "x$is_cygwin" = "xyes") if test "x$HOSTTYPE" != "xmacintosh" -a "x$is_mingw" != "xyes"; then dnl extra library and include directories - EXTRA_DIRS="/usr/local /usr/X11R6" + EXTRA_DIRS="/usr/X11R6" if test -d /opt/X11R6 ; then EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6" @@ -161,6 +167,8 @@ fi dnl check for OpenGL related libraries +AM_CONDITIONAL(EXTGL_NEEDED, test "x$ac_cv_header_windows_h" = "xyes") + if test "x$HOSTTYPE" = "xmacintosh" ; then dnl Macintosh OSX LIBS="$LIBS -framework OpenGL -framework GLUT" @@ -355,7 +363,6 @@ AC_CONFIG_FILES([ \ simgear/bucket/Makefile \ simgear/debug/Makefile \ simgear/ephemeris/Makefile \ - simgear/interpreter/Makefile \ simgear/io/Makefile \ simgear/magvar/Makefile \ simgear/math/Makefile \ @@ -365,6 +372,7 @@ AC_CONFIG_FILES([ \ simgear/screen/Makefile \ simgear/serial/Makefile \ simgear/sky/Makefile \ + simgear/sky/clouds3d/Makefile \ simgear/threads/Makefile \ simgear/timing/Makefile \ simgear/xgl/Makefile \