1 dnl Process this file with autoget.sh to produce a working configure
5 AC_CONFIG_SRCDIR([src/Aircraft/aircraft.cxx])
7 dnl Require at least automake 2.52
10 dnl Initialize the automake stuff
11 dnl set the $host variable based on local machine/os
13 AM_INIT_AUTOMAKE(FlightGear, 1.99.5)
15 dnl Checks for programs.
24 # specify the simgear location
25 AC_ARG_WITH(simgear, [ --with-simgear=PREFIX Specify the prefix path to SimGear])
27 if test "x$with_simgear" != "x" ; then
28 echo "SimGear prefix path is $with_simgear"
29 EXTRA_DIRS="${EXTRA_DIRS} $with_simgear"
30 CXXFLAGS="$CXXFLAGS -I$with_simgear"
33 # specify the plib location
34 AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path to plib])
36 if test "x$with_plib" != "x" ; then
37 echo "plib prefix is $with_plib"
38 EXTRA_DIRS="${EXTRA_DIRS} $with_plib"
41 # specify the osg location
42 AC_ARG_WITH(osg, [ --with-osg=PREFIX Specify the prefix path to osg])
44 if test "x$with_osg" != "x" ; then
45 echo "osg prefix is $with_osg"
46 EXTRA_DIRS="${EXTRA_DIRS} $with_osg"
49 # specify Boost location
50 AC_ARG_WITH(osg, [ --with-boost=PREFIX Specify the prefix path to Boost])
52 if test "x$with_boost" != "x" ; then
53 echo "Boost prefix is $with_boost"
54 EXTRA_DIRS="${EXTRA_DIRS} $with_boost"
57 dnl Determine an extra directories to add to include/lib search paths
59 *-apple-darwin* | *-*-mingw32*)
60 echo no EXTRA_DIRS for $host
64 if test -d /usr/local ; then
65 EXTRA_DIRS="${EXTRA_DIRS} /usr/local"
70 if test -d /usr/X11R6 ; then
71 EXTRA_DIR1="/usr/X11R6"
73 if test -d /opt/X11R6 ; then
74 EXTRA_DIR2="/opt/X11R6"
76 EXTRA_DIRS="${EXTRA_DIRS} $EXTRA_DIR1 $EXTRA_DIR2 /usr/local"
80 wi_EXTRA_DIRS(no, ${EXTRA_DIRS})
85 if test "$CXX" = "CC"; then
88 CXXFLAGS="$CXXFLAGS -c99 -I$with_simgear/include/simgear/compatibility"
103 dnl set logging; default value of with_logging=yes
104 AC_ARG_WITH(logging, [ --with-logging Include logging output (default)])
105 if test "x$with_logging" = "xno" ; then
106 AC_DEFINE([FG_NDEBUG], 1, [Define for no logging output])
109 AC_ARG_ENABLE(sp_fdms, [ --enable-sp-fdms Include special purpose Flight Models], [enable_sp_fdms="$enableval"] )
110 if test "x$enable_sp_fdms" != "xno"; then
111 AC_DEFINE([ENABLE_SP_FDM], 1, [Define to include special purpose FDMs])
113 AC_DEFINE([ENABLE_SP_FDM], 0, [Define to include special purpose FDMs])
115 AM_CONDITIONAL(ENABLE_SP_FDM, test "x$enable_sp_fdms" != "xno")
118 dnl Thread related checks
120 AC_ARG_WITH(threads, [ --with-threads Include tile loading threads [default=yes]], [], [with_threads=yes])
121 if test "x$with_threads" = "xyes"; then
122 AC_DEFINE([ENABLE_THREADS], 1, [Define to enable threaded tile paging])
123 CXXFLAGS="$CXXFLAGS -D_REENTRANT"
124 CFLAGS="$CFLAGS -D_REENTRANT"
126 AC_CHECK_HEADER(pthread.h)
127 AM_CONDITIONAL(WITH_THREADS, test "x$with_threads" = "xyes")
129 dnl Used by JSBSim to conditionally compile in fgfs interface code
130 AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])
132 # Check for MS Windows environment
133 AC_CHECK_HEADER(windows.h)
135 dnl Using AM_CONDITIONAL is a step out of the protected little
136 dnl automake fold so it is potentially dangerous. But, we are
137 dnl beginning to run into cases where the standard checks are not
138 dnl enough. AM_CONDITIONALS are then referenced to conditionally
139 dnl build a Makefile.in from a Makefile.am which lets us define custom
140 dnl includes, compile alternative source files, etc.
142 dnl Check for external variables daylight and timezone.
144 if test "$have_daylight" = yes; then
145 AC_DEFINE([HAVE_DAYLIGHT], 1, [Define if system has daylight variable])
149 if test "$have_timezone" = yes; then
150 AC_DEFINE([HAVE_TIMEZONE], 1, [Define if system has timezone variable])
154 dnl add joystick support libraries
155 dnl search for FreeBSD library
156 AC_SEARCH_LIBS(hid_init, usbhid)
157 joystick_LIBS="$LIBS"
161 dnl ENABLE_AUDIO_SUPPORT could be depricated at any time in favor of
162 dnl just assuming we have audio support on all platform. We can
163 dnl depend on plib to hide the details.
164 AC_DEFINE([ENABLE_AUDIO_SUPPORT], 1, [Define for audio support])
166 dnl X11 might be installed on Mac OS X or cygwin/mingwin, we don't want
167 dnl to use it if it is.
169 *-apple-darwin* | *-*-cygwin* | *-*-mingw32*)
170 echo no fancy X11 check
179 dnl Checks for libraries.
181 dnl Thread related checks
182 AC_SEARCH_LIBS(pthread_create, [pthread c_r])
183 if test "x$ac_cv_header_pthread_h" = "xyes"; then
184 if test "x$ac_cv_search_pthread_exit" = "x-lc_r"; then
185 CXXFLAGS="-pthread $CXXFLAGS"
186 CFLAGS="-pthread $CFLAGS"
193 dnl search for network related libraries
194 AC_SEARCH_LIBS(inet_addr, xnet)
195 AC_SEARCH_LIBS(socket, socket)
196 AC_SEARCH_LIBS(main, nsl)
201 dnl check for some default libraries
202 AC_SEARCH_LIBS(sqrt, [am ffm fm fastm m])
203 AC_SEARCH_LIBS(ceil, m)
204 AC_SEARCH_LIBS(dlclose, dl)
208 dnl Check for SDL or glut if enabled.
209 AC_ARG_ENABLE(osgviewer, [ --enable-osgviewer Configure to use osgViewer(default)], [enable_osgviewer="$enableval"])
210 AC_ARG_ENABLE(sdl, [ --enable-sdl Configure to use SDL], [enable_sdl="$enableval"])
211 AC_ARG_ENABLE(glut, [ --enable-glut Configure to use GLUT], [enable_glut="$enableval"])
212 AM_CONDITIONAL(USE_SDL, test "x$enable_sdl" = "xyes")
213 AM_CONDITIONAL(USE_GLUT, test "x$enable_glut" = "xyes")
214 if test "x$enable_sdl" != "xyes" -a "x$enable_glut" != "xyes" -a "x$enable_osgviewer" != "xno"; then
215 enable_osgviewer="yes"
217 if test \( "x$enable_osgviewer" = "xyes" \
218 -a \( "x$enable_sdl" = "xyes" -o "x$enable_glut" = "xyes" \) \) \
219 -o \( "x$enable_sdl" = "xyes" -a "x$enable_glut" = "xyes" \); then
220 echo " Only one of --enable-osgviewer, --enable-sdl, or --enable -glut may"
224 AC_DEFINE([PU_USE_NONE], 1, [Define to use application's pu callbacks])
226 AC_ARG_ENABLE(osgdebug, [ --enable-osgdebug Use OSG debug libraries], [enable_osgdebug="$enableval"])
228 dnl check for OpenGL related libraries
230 *-*-cygwin* | *-*-mingw32*)
231 dnl CygWin under Windoze.
233 echo Win32 specific hacks...
234 AC_DEFINE([WIN32], 1, [Define for Win32 platforms])
235 AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
237 if test "x$enable_sdl" = "xyes"; then
238 AC_SEARCH_LIBS(SDL_Init, SDL)
240 LIBS="$LIBS -lglut32"
243 LIBS="$LIBS -lglu32 -lopengl32 -luser32 -lgdi32"
244 joystick_LIBS="$joystick_LIBS -lwinmm"
246 dnl add -lwsock32 for mingwin
249 echo "********** BUILDING FOR MINGW32 *************"
250 network_LIBS="$network_LIBS -lws2_32"
254 echo "Will link apps with $LIBS"
261 LIBS="$LIBS -framework GLUT -framework OpenGL -framework AGL -framework Carbon -lobjc"
262 joystick_LIBS="$joystick_LIBS -framework IOKit -framework CoreFoundation"
266 dnl X-Windows based machines
268 dnl Skip X11 library tests if requested.
269 if test "x$no_x" != "xyes"; then
270 AC_SEARCH_LIBS(XCreateWindow, X11)
271 AC_SEARCH_LIBS(XShmCreateImage, Xext)
272 AC_SEARCH_LIBS(XGetExtensionVersion, Xi)
273 AC_SEARCH_LIBS(IceOpenConnection, ICE)
274 AC_SEARCH_LIBS(SmcOpenConnection, SM)
275 AC_SEARCH_LIBS(XtMalloc, Xt)
276 AC_SEARCH_LIBS(XmuLookupStandardColormap, Xmu)
279 AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ])
280 if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
281 dnl if GLcore found, then also check for GL
282 AC_SEARCH_LIBS(glXCreateContext, GL)
285 dnl if using mesa, check for xmesa.h
286 if test "x$ac_cv_search_glNewList" = "x-lMesaGL"; then
287 AC_CHECK_HEADER(GL/fxmesa.h)
288 if test "x$ac_cv_header_GL_fxmesa_h" = "xyes"; then
289 AC_DEFINE([XMESA], 1, [Define for fxmesa])
290 AC_DEFINE([FX], 1, [Define for fxmesa])
294 AC_SEARCH_LIBS(gluLookAt, [ GLU MesaGLU ])
295 AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ])
296 if test "x$enable_sdl" = "xyes"; then
297 AC_SEARCH_LIBS(SDL_Init, SDL)
304 LIBS="$base_LIBS $joystick_LIBS"
306 dnl check for OpenAL libraries
310 *-*-cygwin* | *-*-mingw32*)
311 dnl CygWin under Windoze.
312 INCLUDES="$INCLUDES -I/usr/local/include/"
313 LIBS="$LIBS -L/usr/local/lib"
314 AC_SEARCH_LIBS(alGenBuffers, [ openal32 openal ] )
315 AC_SEARCH_LIBS(alutInit, [ openal32 ALut alut ] )
316 LIBS="$LIBS -lwinmm -ldsound -ldxguid -lole32"
318 OPENAL_OK="$ac_cv_search_alGenBuffers"
319 ALUT_OK="$ac_cv_search_alutInit"
325 LIBS="$LIBS -framework IOKit -framework OpenAL"
327 # not sure how to test if OpenAL exists on MacOS (does it come by default?)
333 dnl default unix style machines
336 LIBS="$LIBS $thread_LIBS"
337 AC_SEARCH_LIBS(alGenBuffers, openal)
338 AC_SEARCH_LIBS(alutInit, [ alut openal ] )
339 OPENAL_OK="$ac_cv_search_alGenBuffers"
340 ALUT_OK="$ac_cv_search_alutInit"
347 if test "$OPENAL_OK" == "no"; then
349 echo "You *must* have the openal library installed on your system to build"
352 echo "Please see README.OpenAL for more details."
354 echo "configure aborted."
358 if test "$ALUT_OK" == "no"; then
360 echo "You *must* have the alut library installed on your system to build"
363 echo "Please see README.OpenAL for more details."
365 echo "configure aborted."
373 AC_SUBST(openal_LIBS)
374 AC_SUBST(opengl_LIBS)
375 AC_SUBST(thread_LIBS)
376 AC_SUBST(network_LIBS)
377 AC_SUBST(joystick_LIBS)
379 # The following are C++ items that need to be tested for with the c++
384 dnl Check for the presence of SimGear
385 if test "x$with_simgear" != "x"; then
386 AC_CHECK_HEADER($with_simgear/include/simgear/version.h, [ac_cv_header_simgear_version_h=yes], [ac_cv_header_simgear_version_h=no])
388 AC_CHECK_HEADER(simgear/version.h)
390 if test "x$ac_cv_header_simgear_version_h" != "xyes"; then
392 echo "You *must* have the SimGear support library installed on your system"
393 echo "to build the FGFS simulator!"
395 echo "Please see README.SimGear for more details."
397 echo "configure aborted."
401 AC_MSG_CHECKING([for SimGear 1.99.5 or newer])
405 #include <simgear/version.h>
407 #define STRINGIFY(X) XSTRINGIFY(X)
408 #define XSTRINGIFY(X) #X
415 int major, minor, micro;
417 /* printf("%d.%d.%d or greater, ", MIN_MAJOR, MIN_MINOR, MIN_MICRO); */
418 printf("[found %s] ... ", STRINGIFY(SIMGEAR_VERSION));
420 sscanf( STRINGIFY(SIMGEAR_VERSION), "%d.%d.%d", &major, &minor, µ );
422 if ( (major < MIN_MAJOR) ||
423 (major == MIN_MAJOR && minor < MIN_MINOR) ||
424 (major == MIN_MAJOR && minor == MIN_MINOR && micro < MIN_MICRO) ) {
433 [AC_MSG_RESULT(wrong version);
434 AC_MSG_ERROR([Install latest SimGear first...])],
440 dnl Check if SimGear was built with Norman's JPEG factory support
441 if test "x$with_simgear" != "x"; then
442 AC_CHECK_HEADER($with_simgear/include/simgear/screen/jpgfactory.hxx,[ac_cv_header_simgear_screen_jpgfactory_hxx=yes],[ac_cv_header_simgear_screen_jpgfactory_hxx=no])
444 AC_CHECK_HEADER(simgear/screen/jpgfactory.hxx)
446 if test "x$ac_cv_header_simgear_screen_jpgfactory_hxx" = "xyes"; then
447 AC_CHECK_LIB(jpeg, jpeg_start_compress)
448 if test "x$ac_cv_lib_jpeg_jpeg_start_compress" != "xyes" ; then
450 echo "The JPEG factory code was built and installed with SimGear."
451 echo "However it appears the libjpeg is no longer installed."
452 echo "You need to install libjpeg or remove jpgfactory support from"
455 echo "libjpeg is available at :"
456 echo " ftp://ftp.uu.net in the directory graphics/jpeg"
459 AC_DEFINE([FG_JPEG_SERVER], 1,
460 [Define to build with jpeg screen shot server])
462 AM_CONDITIONAL(ENABLE_JPEG_SERVER, test "x$ac_cv_header_simgear_screen_jpgfactory_hxx" = "xyes")
464 # Check for "plib" without which we cannot go on
465 AC_CHECK_HEADER(plib/ul.h)
466 if test "x$ac_cv_header_plib_ul_h" != "xyes"; then
468 echo "You *must* have the plib library installed on your system to build"
469 echo "the FGFS simulator!"
471 echo "Please see README.plib for more details."
473 echo "configure aborted."
477 AC_MSG_CHECKING([for plib 1.8.5 or newer])
481 #define MIN_PLIB_VERSION 185
484 int major, minor, micro;
486 if ( PLIB_VERSION < MIN_PLIB_VERSION ) {
495 [AC_MSG_RESULT(wrong version);
496 AC_MSG_ERROR([Install plib 1.8.5 or later first...])],
500 dnl If we get here then plib is available, so force use of plib
502 AC_DEFINE([ENABLE_PLIB_JOYSTICK], 1, [Define to enable plib joystick support])
504 AC_CHECK_HEADER(osg/Version)
505 if test "x$ac_cv_header_osg_Version" != "xyes"; then
507 echo "You *must* have the OpenSceneGraph support library installed on your system"
508 echo "to build the FGFS simulator!"
510 echo "Please see README.OSG for more details."
512 echo "configure aborted."
516 AC_CHECK_HEADER(boost/foreach.hpp)
517 if test "x$ac_cv_header_boost_foreach_hpp" != "xyes"; then
519 echo "You *must* have the Boost libraries installed."
521 echo "configure aborted."
525 # Find the OSG libraries. Note special handling for OS X frameworks
529 dnl Thank you Christian Bauer from SheepSaver
530 dnl AC_CHECK_FRAMEWORK($1=NAME, $2=INCLUDES)
531 AC_DEFUN([AC_CHECK_FRAMEWORK], [
532 AS_VAR_PUSHDEF([ac_Framework], [ac_cv_framework_$1])dnl
533 AC_CACHE_CHECK([whether compiler supports framework $1],
536 LIBS="$LIBS -framework $1"
539 [AS_VAR_SET(ac_Framework, yes)], [AS_VAR_SET(ac_Framework, no); LIBS="$saved_LIBS"]
542 AS_IF([test AS_VAR_GET(ac_Framework) = yes],
543 [AC_DEFINE(AS_TR_CPP(HAVE_FRAMEWORK_$1), 1, [Define if framework $1 is available.])]
545 AS_VAR_POPDEF([ac_Framework])dnl
548 if test "x$enable_osgdebug" = "xyes"; then
549 AC_CHECK_LIB(osgViewerd,osgViewerGetVersion)
550 AC_CHECK_LIB(osgGAd,osgGAGetVersion)
551 AC_CHECK_LIB(osgTextd,osgTextGetVersion)
552 LIBS="$LIBS -losgFXd"
553 AC_CHECK_LIB(osgUtild,osgUtilGetVersion)
554 AC_CHECK_LIB(osgDBd,osgDBGetVersion)
555 AC_CHECK_LIB(osgSimd,osgSimGetVersion)
556 AC_CHECK_LIB(osgParticled,osgParticleGetVersion)
557 AC_CHECK_LIB(osgd,osgGetVersion)
558 AC_CHECK_LIB(OpenThreadsd,OpenThreadsGetVersion)
560 AC_CHECK_FRAMEWORK(osgViewer, [#include <osgViewer/Version>])
561 AC_CHECK_FRAMEWORK(osgGA, [#include <osgGA/Version>])
562 AC_CHECK_FRAMEWORK(osgText, [#include <osgText/Version>])
563 AC_CHECK_FRAMEWORK(osgFX, [#include <osgFX/AnisotropicLighting>])
564 AC_CHECK_FRAMEWORK(osgUtil, [#include <osgUtil/Version>])
565 AC_CHECK_FRAMEWORK(osgDB, [#include <osgDB/Version>])
566 AC_CHECK_FRAMEWORK(osgSim, [#include <osgSim/Version>])
567 AC_CHECK_FRAMEWORK(osgParticle, [#include <osgParticle/Version>])
568 AC_CHECK_FRAMEWORK(osg, [#include <osg/Version>])
569 AC_CHECK_FRAMEWORK(OpenThreads, [#include <OpenThreads/Version>])
573 if test "x$enable_osgdebug" = "xyes"; then
574 AC_CHECK_LIB(OpenThreadsd,OpenThreadsGetVersion)
575 AC_CHECK_LIB(osgd,osgGetVersion)
576 AC_CHECK_LIB(osgUtild,osgUtilGetVersion)
577 AC_CHECK_LIB(osgDBd,osgDBGetVersion)
578 AC_CHECK_LIB(osgTextd,osgTextGetVersion)
579 AC_CHECK_LIB(osgGAd,osgGAGetVersion)
580 AC_CHECK_LIB(osgViewerd,osgViewerGetVersion)
581 AC_CHECK_LIB(osgSimd,osgSimGetVersion)
582 AC_CHECK_LIB(osgParticled,osgParticleGetVersion)
583 LIBS="$LIBS -losgFXd"
585 AC_CHECK_LIB(OpenThreads,OpenThreadsGetVersion)
586 AC_CHECK_LIB(osg,osgGetVersion)
587 AC_CHECK_LIB(osgUtil,osgUtilGetVersion)
588 AC_CHECK_LIB(osgDB,osgDBGetVersion)
589 AC_CHECK_LIB(osgText,osgTextGetVersion)
590 AC_CHECK_LIB(osgGA,osgGAGetVersion)
591 AC_CHECK_LIB(osgViewer,osgViewerGetVersion)
592 AC_CHECK_LIB(osgSim,osgSimGetVersion)
593 AC_CHECK_LIB(osgParticle,osgParticleGetVersion)
601 dnl Check for system installed zlib
602 AC_CHECK_HEADER(zlib.h)
603 if test "x$ac_cv_header_zlib_h" != "xyes"; then
605 echo "zlib library not found."
607 echo "If your OS does not provide an installable package for zlib"
608 echo "you will have to compile and install it first yourself. A copy"
609 echo "of zlib-1.1.4.tar.gz is included with SimGear. You will"
610 echo "have to untar this source code, and follow it's included instructions"
611 echo "to compile and install on your system."
613 echo "configure aborted."
617 dnl Check for Subversion library support
619 save_CPPFLAGS=$CPPFLAGS
621 CPPFLAGS="-I/usr/include/subversion-1 -I/usr/include/apr-1.0"
622 AC_CHECK_LIB(svn_client-1, svn_client_checkout3)
623 AC_CHECK_HEADERS([svn_client.h])
624 if test "x$ac_cv_header_svn_client_h" != "xyes"; then
625 echo "TerraSync will shell out for command line subversion"
629 echo "TerraSync will use integrated subversion library"
630 AC_SEARCH_LIBS(svn_client_checkout, svn_client-1)
632 svn_CPPFLAGS=$CPPFLAGS
634 AC_SUBST(svn_CPPFLAGS)
637 CPPFLAGS=$save_CPPFLAGS
639 dnl Checks for header files.
642 fcntl.h getopt.h malloc.h memory.h stdlib.h sys/param.h sys/stat.h \
643 sys/time.h sys/timeb.h unistd.h windows.h values.h )
645 dnl Checks for typedefs, structures, and compiler characteristics.
651 dnl Checks for library functions.
653 LIBS="$base_LIBS $network_LIBS $opengl_LIBS"
657 ftime gettimeofday timegm memcpy bcopy mktime strstr rand mkfifo \
658 random drand48 setitimer getitimer signal GetLocalTime rint getrusage \
662 AM_CONFIG_HEADER(src/Include/config.h)
674 scripts/debug/Makefile \
675 scripts/perl/Makefile \
676 scripts/perl/examples/Makefile \
677 scripts/python/Makefile \
679 src/Include/Makefile \
680 src/Include/version.h \
681 src/Include/config.h-msvc6 \
682 src/Include/config.h-msvc71 \
683 src/Include/config.h-msvc8 \
684 src/Aircraft/Makefile \
685 src/Airports/Makefile \
687 src/ATCDCL/Makefile \
688 src/Autopilot/Makefile \
689 src/Cockpit/Makefile \
690 src/Cockpit/built_in/Makefile \
691 src/Environment/Makefile \
692 src/FDM/ExternalNet/Makefile \
693 src/FDM/ExternalPipe/Makefile \
694 src/FDM/JSBSim/Makefile \
695 src/FDM/JSBSim/initialization/Makefile \
696 src/FDM/JSBSim/input_output/Makefile \
697 src/FDM/JSBSim/math/Makefile \
698 src/FDM/JSBSim/models/Makefile \
699 src/FDM/JSBSim/models/flight_control/Makefile \
700 src/FDM/JSBSim/models/atmosphere/Makefile \
701 src/FDM/JSBSim/models/propulsion/Makefile \
702 src/FDM/LaRCsim/Makefile \
703 src/FDM/SP/Makefile \
704 src/FDM/UIUCModel/Makefile \
705 src/FDM/YASim/Makefile \
709 src/Instrumentation/Makefile \
710 src/Instrumentation/KLN89/Makefile \
711 src/Instrumentation/HUD/Makefile \
714 src/Main/runfgfs.bat \
716 src/AIModel/Makefile \
717 src/MultiPlayer/Makefile \
718 src/Navaids/Makefile \
719 src/Network/Makefile \
720 src/Scenery/Makefile \
721 src/Scripting/Makefile \
723 src/Systems/Makefile \
725 src/Traffic/Makefile \
728 utils/GPSsmooth/Makefile \
729 utils/fgadmin/Makefile
730 utils/fgadmin/src/Makefile \
731 utils/js_server/Makefile \
732 utils/Modeller/Makefile \
733 utils/propmerge/Makefile \
734 utils/TerraSync/Makefile \
735 utils/xmlgrep/Makefile \
739 AC_OUTPUT_COMMANDS([chmod 755 src/Main/runfgfs])
742 echo "Configure Summary"
743 echo "================="
745 echo "Prefix: $prefix"
747 if test "x$with_logging" != "x"; then
748 echo "Debug messages: $with_logging"
750 echo "Debug messages: yes"
753 echo -n "Automake version: "
754 automake --version | head -n 1
756 if test "x$with_multiplayer" != "xno"; then
757 echo "Building with multiplayer support"
760 if test "x$with_threads" = "xyes"; then
766 if test "x$enable_sp_fdms" != "xno"; then
767 echo "Include special purpose flight models: yes"
769 echo "Include special purpose flight models: no"