diff --git a/Makefile.am b/Makefile.am index 98882831d..130930401 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = Simulator Tools +SUBDIRS = Include Lib Simulator Tools EXTRA_DIST = Makefile.extra README.Win32 README.autoconf README.running Thanks diff --git a/Makefile.extra b/Makefile.extra index e691703b8..c22552633 100644 --- a/Makefile.extra +++ b/Makefile.extra @@ -8,7 +8,10 @@ ROOT=fg-$(VERSION) # clean up dependencies clean-deps: - rm -rf .deps Src/.deps Src/*/.deps Src/*/*/.deps + rm -rf .deps \ + Lib/.deps Simulator/.deps Tools/.deps \ + Lib/*/.deps Simulator/*/.deps Tools/*/.deps \ + Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps clean-libs: rm -rf .libs Src/.libs Src/*/.libs Src/*/*/.libs diff --git a/Makefile.in b/Makefile.in index c8e4f3e71..a5a6133e8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -71,12 +71,12 @@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ VERSION = @VERSION@ -SUBDIRS = Simulator Tools +SUBDIRS = Include Lib Simulator Tools EXTRA_DIST = Makefile.extra README.Win32 README.autoconf README.running Thanks ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ./Simulator/Include/config.h +CONFIG_HEADER = ./Include/config.h CONFIG_CLEAN_FILES = DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ Makefile.in NEWS aclocal.m4 config.guess config.sub configure \ diff --git a/Thanks b/Thanks index c0444cfa8..6610f0cda 100644 --- a/Thanks +++ b/Thanks @@ -41,6 +41,10 @@ Didier Chauveau http://edcwww.cr.usgs.gov/landdaac/gtopo30/gtopo30.html +Jeff Goeke-Smith + Contributed our first autopilot. + + Michael I. Gold -- Patiently answered my endless "newbie" OpenGL questions. His effort alone has made me a great SGI fan. diff --git a/configure b/configure index c117a570d..eacb5f26a 100755 --- a/configure +++ b/configure @@ -703,7 +703,7 @@ fi PACKAGE=FlightGear -VERSION=0.41 +VERSION=0.42 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } @@ -1316,7 +1316,7 @@ echo "configure:1316: checking for ld used by GCC" >&5 ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. - /* | [A-Za-z]:\\*) + /* | A-Za-z:\\*) test -z "$LD" && LD="$ac_prog" ;; "") @@ -2817,8 +2817,149 @@ else echo "$ac_t""no" 1>&6 fi +echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 +echo "configure:2822: checking for IceOpenConnection in -lICE" >&5 +ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lICE $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_lib=HAVE_LIB`echo ICE | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + cat >> confdefs.h <&6 +fi + +echo $ac_n "checking for SmcOpenConnection in -lSM""... $ac_c" 1>&6 +echo "configure:2869: checking for SmcOpenConnection in -lSM" >&5 +ac_lib_var=`echo SM'_'SmcOpenConnection | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lSM $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_lib=HAVE_LIB`echo SM | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + cat >> confdefs.h <&6 +fi + +echo $ac_n "checking for XtMalloc in -lXt""... $ac_c" 1>&6 +echo "configure:2916: checking for XtMalloc in -lXt" >&5 +ac_lib_var=`echo Xt'_'XtMalloc | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lXt $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_lib=HAVE_LIB`echo Xt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + cat >> confdefs.h <&6 +fi + echo $ac_n "checking for XmuLookupStandardColormap in -lXmu""... $ac_c" 1>&6 -echo "configure:2822: checking for XmuLookupStandardColormap in -lXmu" >&5 +echo "configure:2963: checking for XmuLookupStandardColormap in -lXmu" >&5 ac_lib_var=`echo Xmu'_'XmuLookupStandardColormap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2826,7 +2967,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lXmu $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2866,7 +3007,7 @@ fi echo $ac_n "checking for glNewList in -lGLcore""... $ac_c" 1>&6 -echo "configure:2870: checking for glNewList in -lGLcore" >&5 +echo "configure:3011: checking for glNewList in -lGLcore" >&5 ac_lib_var=`echo GLcore'_'glNewList | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2874,7 +3015,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lGLcore $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2914,7 +3055,7 @@ fi if test "x$ac_cv_lib_GLcore_glNewList" = "xno" ; then echo $ac_n "checking for glNewList in -lGL""... $ac_c" 1>&6 -echo "configure:2918: checking for glNewList in -lGL" >&5 +echo "configure:3059: checking for glNewList in -lGL" >&5 ac_lib_var=`echo GL'_'glNewList | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2922,7 +3063,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lGL $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2962,7 +3103,7 @@ fi if test "x$ac_cv_lib_GL_glNewList" = "xno" ; then echo $ac_n "checking for glNewList in -lMesaGL""... $ac_c" 1>&6 -echo "configure:2966: checking for glNewList in -lMesaGL" >&5 +echo "configure:3107: checking for glNewList in -lMesaGL" >&5 ac_lib_var=`echo MesaGL'_'glNewList | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2970,7 +3111,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lMesaGL $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3011,7 +3152,7 @@ fi fi else echo $ac_n "checking for glXCreateContext in -lGL""... $ac_c" 1>&6 -echo "configure:3015: checking for glXCreateContext in -lGL" >&5 +echo "configure:3156: checking for glXCreateContext in -lGL" >&5 ac_lib_var=`echo GL'_'glXCreateContext | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3019,7 +3160,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lGL $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3060,7 +3201,7 @@ fi fi echo $ac_n "checking for gluLookAt in -lGLU""... $ac_c" 1>&6 -echo "configure:3064: checking for gluLookAt in -lGLU" >&5 +echo "configure:3205: checking for gluLookAt in -lGLU" >&5 ac_lib_var=`echo GLU'_'gluLookAt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3068,7 +3209,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lGLU $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3108,7 +3249,7 @@ fi if test "x$ac_cv_lib_GLU_gluLookAt" = "xno" ; then echo $ac_n "checking for gluLookAt in -lMesaGLU""... $ac_c" 1>&6 -echo "configure:3112: checking for gluLookAt in -lMesaGLU" >&5 +echo "configure:3253: checking for gluLookAt in -lMesaGLU" >&5 ac_lib_var=`echo MesaGLU'_'gluLookAt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3116,7 +3257,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lMesaGLU $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3157,7 +3298,7 @@ fi fi echo $ac_n "checking for glutGetModifiers in -lglut""... $ac_c" 1>&6 -echo "configure:3161: checking for glutGetModifiers in -lglut" >&5 +echo "configure:3302: checking for glutGetModifiers in -lglut" >&5 ac_lib_var=`echo glut'_'glutGetModifiers | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3165,7 +3306,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lglut $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3238,12 +3379,12 @@ EOF fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:3242: checking for ANSI C header files" >&5 +echo "configure:3383: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3251,7 +3392,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -3268,7 +3409,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -3286,7 +3427,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -3307,7 +3448,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -3318,7 +3459,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else @@ -3346,17 +3487,17 @@ for ac_hdr in fcntl.h getopt.h malloc.h stdlib.h sys/time.h sys/timeb.h \ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3350: checking for $ac_hdr" >&5 +echo "configure:3491: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -3384,12 +3525,12 @@ done echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3388: checking for working const" >&5 +echo "configure:3529: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -3459,12 +3600,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:3463: checking for size_t" >&5 +echo "configure:3604: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3492,12 +3633,12 @@ EOF fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:3496: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:3637: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3506,7 +3647,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -3527,12 +3668,12 @@ EOF fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:3531: checking whether struct tm is in sys/time.h or time.h" >&5 +echo "configure:3672: checking whether struct tm is in sys/time.h or time.h" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3540,7 +3681,7 @@ int main() { struct tm *tp; tp->tm_sec; ; return 0; } EOF -if { (eval echo configure:3544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else @@ -3562,12 +3703,12 @@ fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:3566: checking return type of signal handlers" >&5 +echo "configure:3707: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3584,7 +3725,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -3603,12 +3744,12 @@ EOF echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:3607: checking for vprintf" >&5 +echo "configure:3748: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else @@ -3655,12 +3796,12 @@ fi if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:3659: checking for _doprnt" >&5 +echo "configure:3800: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else @@ -3711,12 +3852,12 @@ for ac_func in ftime gettimeofday mktime strstr rand random \ setitimer getitimer signal GetLocalTime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3715: checking for $ac_func" >&5 +echo "configure:3856: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3877,29 +4018,31 @@ ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo "\ Makefile \ + Include/Makefile \ + Lib/Makefile \ + Lib/Bucket/Makefile \ + Lib/DEM/Makefile \ + Lib/XGL/Makefile \ Simulator/Makefile \ Simulator/Aircraft/Makefile \ Simulator/Astro/Makefile \ + Simulator/Autopilot/Makefile \ Simulator/Cockpit/Makefile \ Simulator/Controls/Makefile \ Simulator/Flight/LaRCsim/Makefile \ Simulator/Flight/Slew/Makefile \ Simulator/Flight/Makefile \ - Simulator/Include/Makefile \ Simulator/Joystick/Makefile \ Simulator/Main/Makefile \ Simulator/Main/runfg \ Simulator/Main/runfg.bat \ Simulator/Makefile \ Simulator/Math/Makefile \ - Simulator/Scenery/Bucket/Makefile \ Simulator/Scenery/Makefile \ Simulator/Time/Makefile \ Simulator/Weather/Makefile \ - Simulator/XGL/Makefile \ Tools/Makefile \ Tools/AssemTris/Makefile \ - Tools/DEM/Makefile \ Tools/Dem2node/Makefile \ Tools/FixNode/Makefile \ Tools/FixObj/Makefile \ @@ -3907,7 +4050,7 @@ trap 'rm -fr `echo "\ Tools/Stripe_u/Makefile \ Tools/Tri2obj/Makefile \ Tools/Triangle/Makefile \ - Simulator/Include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 + Include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF fi @@ -4211,7 +4356,7 @@ cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -test -z "$CONFIG_HEADERS" || echo timestamp > Simulator/Include/stamp-h +test -z "$CONFIG_HEADERS" || echo timestamp > Include/stamp-h exit 0 EOF diff --git a/configure.in b/configure.in index f5c8c44a5..790cd1ebe 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ dnl AC_INIT(Simulator/Aircraft/aircraft.c) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(FlightGear, 0.41) +AM_INIT_AUTOMAKE(FlightGear, 0.42) dnl Checks for programs. @@ -42,6 +42,9 @@ AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(X11, XCreateWindow) AC_CHECK_LIB(Xext, XShmCreateImage) AC_CHECK_LIB(Xi, XGetExtensionVersion) +AC_CHECK_LIB(ICE, IceOpenConnection) +AC_CHECK_LIB(SM, SmcOpenConnection) +AC_CHECK_LIB(Xt, XtMalloc) AC_CHECK_LIB(Xmu, XmuLookupStandardColormap) AC_CHECK_LIB(GLcore, glNewList) @@ -122,33 +125,35 @@ if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno"; then exit 1 fi -AM_CONFIG_HEADER(Simulator/Include/config.h) +AM_CONFIG_HEADER(Include/config.h) AC_OUTPUT( \ Makefile \ + Include/Makefile \ + Lib/Makefile \ + Lib/Bucket/Makefile \ + Lib/DEM/Makefile \ + Lib/XGL/Makefile \ Simulator/Makefile \ Simulator/Aircraft/Makefile \ Simulator/Astro/Makefile \ + Simulator/Autopilot/Makefile \ Simulator/Cockpit/Makefile \ Simulator/Controls/Makefile \ Simulator/Flight/LaRCsim/Makefile \ Simulator/Flight/Slew/Makefile \ Simulator/Flight/Makefile \ - Simulator/Include/Makefile \ Simulator/Joystick/Makefile \ Simulator/Main/Makefile \ Simulator/Main/runfg \ Simulator/Main/runfg.bat \ Simulator/Makefile \ Simulator/Math/Makefile \ - Simulator/Scenery/Bucket/Makefile \ Simulator/Scenery/Makefile \ Simulator/Time/Makefile \ Simulator/Weather/Makefile \ - Simulator/XGL/Makefile \ Tools/Makefile \ Tools/AssemTris/Makefile \ - Tools/DEM/Makefile \ Tools/Dem2node/Makefile \ Tools/FixNode/Makefile \ Tools/FixObj/Makefile \