]> git.mxchange.org Git - simgear.git/blobdiff - configure.in
Tidy up the autoconf/automake configuration a bit.
[simgear.git] / configure.in
index aa443d51fbd43bdccf1dc170c51525e1b16b0446..cf7769c8282cbf9e9df80a9994d5b41f064b3a64 100644 (file)
@@ -128,9 +128,6 @@ dnl enough.  AM_CONDITIONALS are then referenced to conditionally
 dnl build a Makefile.in from a Makefile.am which lets us define custom
 dnl includes, compile alternative source files, etc.
 
-dnl Enable serial support on Unix type systems
-AM_CONDITIONAL(ENABLE_UNIX_SERIAL, true)
-
 dnl X11 might be installed on Mac OS X, don't want to use it if it is.
 if test "x$HOSTTYPE" != "xmacintosh" ; then
     dnl Check for X11 (fancy)
@@ -192,8 +189,8 @@ elif test "x$ac_cv_header_windows_h" != "xyes" ; then
     if test "x$ac_cv_lib_MesaGL_glNewList" = "xyes" ; then
        AC_CHECK_HEADER(GL/fxmesa.h)
        if test "x$ac_cv_header_GL_fxmesa_h" = "xyes"; then
-           AC_DEFINE( XMESA )
-            AC_DEFINE( FX )
+           AC_DEFINE(XMESA)
+            AC_DEFINE(FX)
         fi
     fi
 
@@ -254,7 +251,9 @@ fi
 if test "x$ac_cv_lib_glut_glutGameModeString" = "xno"; then
     echo
     echo "Your version of glut doesn't support game mode."
-    echo "You need to fetch and install the latest version of glut from:"
+    echo "You need to install the latest version of glut.  If your"
+    echo "distribution doesn't provide a newer version, you can get the source"
+    echo "code from:"
     echo
     echo "    http://reality.sgi.com/opengl/glut3/glut3.html"
     exit 1
@@ -309,7 +308,7 @@ AC_CHECK_HEADERS( \
        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 )
+    AC_DEFINE(HAVE_STDINT_H)
 fi
 
 dnl Checks for typedefs, structures, and compiler characteristics.