most of the more sophisticated features of Flight Gear.
+Michael Basler <pmb@knUUt.de>
+ Coauthor of the Getting Started guide.
+
+
Paul Bleisch <pbleisch@acm.org>
Paul redid the "debug" system so that it would be much more
flexible, so it could be easily disabled for production system, and
AM_CONDITIONAL(ENABLE_UNIX_SERIAL, true)
dnl extra library and include directories
-EXTRA_DIRS="/usr/local /usr/X11R6 /opt/X11R6"
+EXTRA_DIRS="/usr/local /usr/X11R6"
+
+if test -d /opt/X11R6 ; then
+ EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6"
+fi
if test "x$ac_cv_header_windows_h" = "xyes" ; then
EXTRA_DIRS="${EXTRA_DIRS} `pwd`/Win32"
base_LIBS="$LIBS"
-# AC_CHECK_LIB(socket, socket)
+AC_CHECK_LIB(socket, socket)
AC_CHECK_LIB(X11, XCreateWindow)
AC_CHECK_LIB(Xext, XShmCreateImage)
AC_CHECK_LIB(Xi, XGetExtensionVersion)
ac_cv_lib_glut_glutGameModeString="yes"
fi
+if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno"; then
+ echo
+ echo "Unable to find the necessary OpenGL or GLUT libraries."
+ echo "See config.log for automated test details and results ..."
+ exit 1
+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
+ echo " http://reality.sgi.com/opengl/glut3/glut3.html"
+ exit 1
+fi
+
opengl_LIBS="$LIBS"
LIBS="$base_LIBS"
AC_CHECK_FUNCS( ftime gettimeofday memcpy bcopy mktime strstr rand random \
setitimer getitimer signal GetLocalTime rint getrusage )
-if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno"; then
- echo
- echo "Unable to find the necessary OpenGL or GLUT libraries."
- echo "See config.log for automated test details and results ..."
- exit 1
-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
- echo " http://reality.sgi.com/opengl/glut3/glut3.html"
- exit 1
-fi
-
AM_CONFIG_HEADER(Include/config.h)
AC_OUTPUT( \