Changeset 3238 in orxonox.OLD for orxonox/branches/nico/configure
- Timestamp:
- Dec 20, 2004, 2:42:54 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/nico/configure
r3001 r3238 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for orxonox 0. 1-pre-alpha.3 # Generated by GNU Autoconf 2.59 for orxonox 0.2.0_alpha-r1. 4 4 # 5 5 # Report bugs to <orxonox-dev@mail.datacore.ch>. … … 270 270 PACKAGE_NAME='orxonox' 271 271 PACKAGE_TARNAME='orxonox' 272 PACKAGE_VERSION='0. 1-pre-alpha'273 PACKAGE_STRING='orxonox 0. 1-pre-alpha'272 PACKAGE_VERSION='0.2.0_alpha-r1' 273 PACKAGE_STRING='orxonox 0.2.0_alpha-r1' 274 274 PACKAGE_BUGREPORT='orxonox-dev@mail.datacore.ch' 275 275 … … 312 312 #endif" 313 313 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 789 789 # This message is too long to be a string in the A/UX 3.1 sh. 790 790 cat <<_ACEOF 791 \`configure' configures orxonox 0. 1-pre-alphato adapt to many kinds of systems.791 \`configure' configures orxonox 0.2.0_alpha-r1 to adapt to many kinds of systems. 792 792 793 793 Usage: $0 [OPTION]... [VAR=VALUE]... … … 856 856 if test -n "$ac_init_help"; then 857 857 case $ac_init_help in 858 short | recursive ) echo "Configuration of orxonox 0. 1-pre-alpha:";;858 short | recursive ) echo "Configuration of orxonox 0.2.0_alpha-r1:";; 859 859 esac 860 860 cat <<\_ACEOF … … 865 865 --disable-dependency-tracking speeds up one-time build 866 866 --enable-dependency-tracking do not reject slow dependency extractors 867 --enable-debug compiles in debug mode. Lots of debug info about the 868 game. 869 870 Optional Packages: 871 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 873 --without-gtk Prevents GTK from being loaded 874 --without-sdl-image Prevents SDL_image from being loaded 867 875 868 876 Some influential environment variables: … … 976 984 if $ac_init_version; then 977 985 cat <<\_ACEOF 978 orxonox configure 0. 1-pre-alpha986 orxonox configure 0.2.0_alpha-r1 979 987 generated by GNU Autoconf 2.59 980 988 … … 990 998 running configure, to aid debugging if configure makes a mistake. 991 999 992 It was created by orxonox $as_me 0. 1-pre-alpha, which was1000 It was created by orxonox $as_me 0.2.0_alpha-r1, which was 993 1001 generated by GNU Autoconf 2.59. Invocation command line was 994 1002 … … 1711 1719 # Define the identity of the package. 1712 1720 PACKAGE='orxonox' 1713 VERSION='0. 1-pre-alpha'1721 VERSION='0.2.0_alpha-r1' 1714 1722 1715 1723 … … 3830 3838 3831 3839 3840 ### CHECKING OPTIONAT ARGUMENTS 3841 ## DEBUG-statement 3842 DEBUG=no 3843 echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 3844 echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6 3845 # Check whether --enable-debug or --disable-debug was given. 3846 if test "${enable_debug+set}" = set; then 3847 enableval="$enable_debug" 3848 DEBUG=$enableval 3849 fi; 3850 3851 if test "$DEBUG" = "no"; then 3852 echo "no" 3853 echo " -> Setting debuglevel to 1. Like this you can still see errors." 3854 DEBUG=1 3855 elif test "$DEBUG" = yes; then 3856 echo "yes" 3857 echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!." 3858 DEBUG=3 3859 else 3860 echo "yes set to $DEBUG" 3861 fi 3862 3863 cat >>confdefs.h <<_ACEOF 3864 #define DEBUG $DEBUG 3865 _ACEOF 3866 3867 3868 3869 3870 ## GTK-disabled 3871 echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 3872 echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 3873 3874 # Check whether --with-gtk or --without-gtk was given. 3875 if test "${with_gtk+set}" = set; then 3876 withval="$with_gtk" 3877 def_gtk=no 3878 else 3879 def_gtk=yes 3880 fi; 3881 if test "$def_gtk" = yes; then 3882 echo "yes" 3883 fi 3884 if test "$def_gtk" = no; then 3885 echo "no" 3886 fi 3887 ### SDL_image-disable 3888 def_sdl_image=yes 3889 echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 3890 echo $ECHO_N "checking if SDL_image should be enabled... $ECHO_C" >&6 3891 3892 # Check whether --with-sdl_image or --without-sdl_image was given. 3893 if test "${with_sdl_image+set}" = set; then 3894 withval="$with_sdl_image" 3895 def_sdl_image=no 3896 fi; 3897 if test "$def_sdl_image" = yes; then 3898 echo "yes" 3899 fi 3900 if test "$def_sdl_image" = no; then 3901 echo "no" 3902 fi 3903 3904 3905 ## PROGRAMM CHECKING 3906 # checking for Doxygen 3907 # Extract the first word of "doxygen", so it can be a program name with args. 3908 set dummy doxygen; ac_word=$2 3909 echo "$as_me:$LINENO: checking for $ac_word" >&5 3910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3911 if test "${ac_cv_path_DOXYGEN+set}" = set; then 3912 echo $ECHO_N "(cached) $ECHO_C" >&6 3913 else 3914 case $DOXYGEN in 3915 [\\/]* | ?:[\\/]*) 3916 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 3917 ;; 3918 *) 3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3920 for as_dir in $PATH 3921 do 3922 IFS=$as_save_IFS 3923 test -z "$as_dir" && as_dir=. 3924 for ac_exec_ext in '' $ac_executable_extensions; do 3925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3926 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 3927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3928 break 2 3929 fi 3930 done 3931 done 3932 3933 ;; 3934 esac 3935 fi 3936 DOXYGEN=$ac_cv_path_DOXYGEN 3937 3938 if test -n "$DOXYGEN"; then 3939 echo "$as_me:$LINENO: result: $DOXYGEN" >&5 3940 echo "${ECHO_T}$DOXYGEN" >&6 3941 else 3942 echo "$as_me:$LINENO: result: no" >&5 3943 echo "${ECHO_T}no" >&6 3944 fi 3945 3946 3947 3948 if test $DOXYGEN; then 3949 DOXYGEN_TRUE= 3950 DOXYGEN_FALSE='#' 3951 else 3952 DOXYGEN_TRUE='#' 3953 DOXYGEN_FALSE= 3954 fi 3955 3956 3832 3957 ### CHECKING FOR SYSTEM ### 3833 3958 … … 4744 4869 fi 4745 4870 4746 4747 4871 ;; 4748 4872 … … 4753 4877 Linux="yes" 4754 4878 4879 CPPFLAGS="-I/usr/X11R6/include" 4880 LDFLAGS="-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" 4755 4881 # checking gl header 4756 4882 … … 5372 5498 5373 5499 5374 # checking for SDL-lib s5500 # checking for SDL-lib 5375 5501 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 5376 5502 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 … … 5445 5571 fi 5446 5572 5573 5447 5574 ## checking for SDL 5448 5575 # SDL_VERSION=1.2.7 … … 5461 5588 osX="yes" 5462 5589 5590 CPPFLAGS="-I/sw/include $CPPFLAGS" 5463 5591 # checking gl header 5464 5592 … … 5789 5917 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 5790 5918 LIBS="$LIBS $SDL_LIBS" 5919 5791 5920 ;; 5792 5921 … … 5797 5926 5798 5927 5799 5800 5801 5802 ## checking for GTK 5803 5804 succeeded=no 5805 5806 if test -z "$PKG_CONFIG"; then 5807 # Extract the first word of "pkg-config", so it can be a program name with args. 5808 set dummy pkg-config; ac_word=$2 5809 echo "$as_me:$LINENO: checking for $ac_word" >&5 5810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5812 echo $ECHO_N "(cached) $ECHO_C" >&6 5813 else 5814 case $PKG_CONFIG in 5815 [\\/]* | ?:[\\/]*) 5816 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5817 ;; 5818 *) 5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5820 for as_dir in $PATH 5821 do 5822 IFS=$as_save_IFS 5823 test -z "$as_dir" && as_dir=. 5824 for ac_exec_ext in '' $ac_executable_extensions; do 5825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5826 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5828 break 2 5829 fi 5830 done 5831 done 5832 5833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 5834 ;; 5835 esac 5836 fi 5837 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5838 5839 if test -n "$PKG_CONFIG"; then 5840 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5841 echo "${ECHO_T}$PKG_CONFIG" >&6 5842 else 5843 echo "$as_me:$LINENO: result: no" >&5 5844 echo "${ECHO_T}no" >&6 5845 fi 5846 5847 fi 5848 5849 if test "$PKG_CONFIG" = "no" ; then 5850 echo "*** The pkg-config script could not be found. Make sure it is" 5851 echo "*** in your path, or set the PKG_CONFIG environment variable" 5852 echo "*** to the full path to pkg-config." 5853 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 5854 else 5855 PKG_CONFIG_MIN_VERSION=0.9.0 5856 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 5857 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" >&5 5858 echo $ECHO_N "checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3... $ECHO_C" >&6 5859 5860 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" ; then 5861 echo "$as_me:$LINENO: result: yes" >&5 5862 echo "${ECHO_T}yes" >&6 5863 succeeded=yes 5864 5865 echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5 5866 echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6 5867 GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` 5868 echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5 5869 echo "${ECHO_T}$GTK2_CFLAGS" >&6 5870 5871 echo "$as_me:$LINENO: checking GTK2_LIBS" >&5 5872 echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6 5873 GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` 5874 echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5 5875 echo "${ECHO_T}$GTK2_LIBS" >&6 5876 else 5877 GTK2_CFLAGS="" 5878 GTK2_LIBS="" 5879 ## If we have a custom action on failure, don't print errors, but 5880 ## do set a variable so people can do so. 5881 GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` 5882 5883 fi 5884 5885 5886 5887 else 5888 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 5889 echo "*** See http://www.freedesktop.org/software/pkgconfig" 5890 fi 5891 fi 5892 5893 if test $succeeded = yes; then 5894 have_gtk2=yes 5895 else 5896 have_gtk2=no 5897 fi 5898 5899 5900 5901 5902 5903 if test "x$have_gtk2" = xyes; then 5904 HAVE_GTK2_TRUE= 5905 HAVE_GTK2_FALSE='#' 5906 else 5907 HAVE_GTK2_TRUE='#' 5908 HAVE_GTK2_FALSE= 5909 fi 5910 5911 5912 5913 #checking for pthread libs 5914 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 5915 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 5916 if test "${ac_cv_lib_pthread_main+set}" = set; then 5917 echo $ECHO_N "(cached) $ECHO_C" >&6 5918 else 5919 ac_check_lib_save_LIBS=$LIBS 5920 LIBS="-lpthread $LIBS" 5921 cat >conftest.$ac_ext <<_ACEOF 5922 /* confdefs.h. */ 5923 _ACEOF 5924 cat confdefs.h >>conftest.$ac_ext 5925 cat >>conftest.$ac_ext <<_ACEOF 5926 /* end confdefs.h. */ 5927 5928 5929 int 5930 main () 5931 { 5932 main (); 5933 ; 5934 return 0; 5935 } 5936 _ACEOF 5937 rm -f conftest.$ac_objext conftest$ac_exeext 5938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5939 (eval $ac_link) 2>conftest.er1 5940 ac_status=$? 5941 grep -v '^ *+' conftest.er1 >conftest.err 5942 rm -f conftest.er1 5943 cat conftest.err >&5 5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5945 (exit $ac_status); } && 5946 { ac_try='test -z "$ac_c_werror_flag" 5947 || test ! -s conftest.err' 5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5949 (eval $ac_try) 2>&5 5950 ac_status=$? 5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5952 (exit $ac_status); }; } && 5953 { ac_try='test -s conftest$ac_exeext' 5954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5955 (eval $ac_try) 2>&5 5956 ac_status=$? 5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5958 (exit $ac_status); }; }; then 5959 ac_cv_lib_pthread_main=yes 5960 else 5961 echo "$as_me: failed program was:" >&5 5962 sed 's/^/| /' conftest.$ac_ext >&5 5963 5964 ac_cv_lib_pthread_main=no 5965 fi 5966 rm -f conftest.err conftest.$ac_objext \ 5967 conftest$ac_exeext conftest.$ac_ext 5968 LIBS=$ac_check_lib_save_LIBS 5969 fi 5970 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 5971 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 5972 if test $ac_cv_lib_pthread_main = yes; then 5973 FOUND_pthread=yes 5974 fi 5975 5976 if test "$FOUND_pthread" = "yes" ; then 5977 LIBS="$LIBS -lpthread" 5978 fi 5979 5980 5981 # FIXME: Replace `main' with a function in `-lm': 5982 5983 echo "$as_me:$LINENO: checking for main in -lm" >&5 5984 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5985 if test "${ac_cv_lib_m_main+set}" = set; then 5986 echo $ECHO_N "(cached) $ECHO_C" >&6 5987 else 5988 ac_check_lib_save_LIBS=$LIBS 5989 LIBS="-lm $LIBS" 5990 cat >conftest.$ac_ext <<_ACEOF 5991 /* confdefs.h. */ 5992 _ACEOF 5993 cat confdefs.h >>conftest.$ac_ext 5994 cat >>conftest.$ac_ext <<_ACEOF 5995 /* end confdefs.h. */ 5996 5997 5998 int 5999 main () 6000 { 6001 main (); 6002 ; 6003 return 0; 6004 } 6005 _ACEOF 6006 rm -f conftest.$ac_objext conftest$ac_exeext 6007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6008 (eval $ac_link) 2>conftest.er1 6009 ac_status=$? 6010 grep -v '^ *+' conftest.er1 >conftest.err 6011 rm -f conftest.er1 6012 cat conftest.err >&5 6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6014 (exit $ac_status); } && 6015 { ac_try='test -z "$ac_c_werror_flag" 6016 || test ! -s conftest.err' 6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6018 (eval $ac_try) 2>&5 6019 ac_status=$? 6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6021 (exit $ac_status); }; } && 6022 { ac_try='test -s conftest$ac_exeext' 6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6024 (eval $ac_try) 2>&5 6025 ac_status=$? 6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6027 (exit $ac_status); }; }; then 6028 ac_cv_lib_m_main=yes 6029 else 6030 echo "$as_me: failed program was:" >&5 6031 sed 's/^/| /' conftest.$ac_ext >&5 6032 6033 ac_cv_lib_m_main=no 6034 fi 6035 rm -f conftest.err conftest.$ac_objext \ 6036 conftest$ac_exeext conftest.$ac_ext 6037 LIBS=$ac_check_lib_save_LIBS 6038 fi 6039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6040 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6041 if test $ac_cv_lib_m_main = yes; then 6042 cat >>confdefs.h <<_ACEOF 6043 #define HAVE_LIBM 1 6044 _ACEOF 6045 6046 LIBS="-lm $LIBS" 6047 6048 fi 6049 6050 6051 6052 # Checks for header files. 6053 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6055 if test "${ac_cv_header_stdc+set}" = set; then 6056 echo $ECHO_N "(cached) $ECHO_C" >&6 6057 else 6058 cat >conftest.$ac_ext <<_ACEOF 6059 /* confdefs.h. */ 6060 _ACEOF 6061 cat confdefs.h >>conftest.$ac_ext 6062 cat >>conftest.$ac_ext <<_ACEOF 6063 /* end confdefs.h. */ 6064 #include <stdlib.h> 6065 #include <stdarg.h> 6066 #include <string.h> 6067 #include <float.h> 6068 6069 int 6070 main () 6071 { 6072 6073 ; 6074 return 0; 6075 } 6076 _ACEOF 6077 rm -f conftest.$ac_objext 6078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6079 (eval $ac_compile) 2>conftest.er1 6080 ac_status=$? 6081 grep -v '^ *+' conftest.er1 >conftest.err 6082 rm -f conftest.er1 6083 cat conftest.err >&5 6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6085 (exit $ac_status); } && 6086 { ac_try='test -z "$ac_c_werror_flag" 6087 || test ! -s conftest.err' 6088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6089 (eval $ac_try) 2>&5 6090 ac_status=$? 6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6092 (exit $ac_status); }; } && 6093 { ac_try='test -s conftest.$ac_objext' 6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6095 (eval $ac_try) 2>&5 6096 ac_status=$? 6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6098 (exit $ac_status); }; }; then 6099 ac_cv_header_stdc=yes 6100 else 6101 echo "$as_me: failed program was:" >&5 6102 sed 's/^/| /' conftest.$ac_ext >&5 6103 6104 ac_cv_header_stdc=no 6105 fi 6106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6107 6108 if test $ac_cv_header_stdc = yes; then 6109 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6110 cat >conftest.$ac_ext <<_ACEOF 6111 /* confdefs.h. */ 6112 _ACEOF 6113 cat confdefs.h >>conftest.$ac_ext 6114 cat >>conftest.$ac_ext <<_ACEOF 6115 /* end confdefs.h. */ 6116 #include <string.h> 6117 6118 _ACEOF 6119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6120 $EGREP "memchr" >/dev/null 2>&1; then 6121 : 6122 else 6123 ac_cv_header_stdc=no 6124 fi 6125 rm -f conftest* 6126 6127 fi 6128 6129 if test $ac_cv_header_stdc = yes; then 6130 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6131 cat >conftest.$ac_ext <<_ACEOF 6132 /* confdefs.h. */ 6133 _ACEOF 6134 cat confdefs.h >>conftest.$ac_ext 6135 cat >>conftest.$ac_ext <<_ACEOF 6136 /* end confdefs.h. */ 6137 #include <stdlib.h> 6138 6139 _ACEOF 6140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6141 $EGREP "free" >/dev/null 2>&1; then 6142 : 6143 else 6144 ac_cv_header_stdc=no 6145 fi 6146 rm -f conftest* 6147 6148 fi 6149 6150 if test $ac_cv_header_stdc = yes; then 6151 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6152 if test "$cross_compiling" = yes; then 6153 : 6154 else 6155 cat >conftest.$ac_ext <<_ACEOF 6156 /* confdefs.h. */ 6157 _ACEOF 6158 cat confdefs.h >>conftest.$ac_ext 6159 cat >>conftest.$ac_ext <<_ACEOF 6160 /* end confdefs.h. */ 6161 #include <ctype.h> 6162 #if ((' ' & 0x0FF) == 0x020) 6163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6165 #else 6166 # define ISLOWER(c) \ 6167 (('a' <= (c) && (c) <= 'i') \ 6168 || ('j' <= (c) && (c) <= 'r') \ 6169 || ('s' <= (c) && (c) <= 'z')) 6170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6171 #endif 6172 6173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6174 int 6175 main () 6176 { 6177 int i; 6178 for (i = 0; i < 256; i++) 6179 if (XOR (islower (i), ISLOWER (i)) 6180 || toupper (i) != TOUPPER (i)) 6181 exit(2); 6182 exit (0); 6183 } 6184 _ACEOF 6185 rm -f conftest$ac_exeext 6186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6187 (eval $ac_link) 2>&5 6188 ac_status=$? 6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6192 (eval $ac_try) 2>&5 6193 ac_status=$? 6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6195 (exit $ac_status); }; }; then 6196 : 6197 else 6198 echo "$as_me: program exited with status $ac_status" >&5 6199 echo "$as_me: failed program was:" >&5 6200 sed 's/^/| /' conftest.$ac_ext >&5 6201 6202 ( exit $ac_status ) 6203 ac_cv_header_stdc=no 6204 fi 6205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6206 fi 6207 fi 6208 fi 6209 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6210 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6211 if test $ac_cv_header_stdc = yes; then 6212 6213 cat >>confdefs.h <<\_ACEOF 6214 #define STDC_HEADERS 1 6215 _ACEOF 6216 6217 fi 6218 6219 6220 6221 for ac_header in stdlib.h string.h 5928 ## check for SDL_Image 5929 if test "$def_sdl_image" = "yes"; then 5930 # checking for SDL_image-headers 5931 5932 for ac_header in SDL/SDL_image.h 6222 5933 do 6223 5934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 6364 6075 _ACEOF 6365 6076 6077 else 6078 echo "sdl_image not found. falling back to other options"; def_sdl_image=no 6366 6079 fi 6367 6080 6368 6081 done 6369 6082 6370 6371 # Checks for typedefs, structures, and compiler characteristics. 6372 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 6373 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 6374 if test "${ac_cv_header_stdbool_h+set}" = set; then 6083 fi 6084 if test "$def_sdl_image" = "yes"; then 6085 # checking for SDL_image-lib 6086 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 6087 echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 6088 if test "${ac_cv_lib_SDL_image_main+set}" = set; then 6375 6089 echo $ECHO_N "(cached) $ECHO_C" >&6 6376 6090 else 6377 cat >conftest.$ac_ext <<_ACEOF 6091 ac_check_lib_save_LIBS=$LIBS 6092 LIBS="-lSDL_image $LIBS" 6093 cat >conftest.$ac_ext <<_ACEOF 6378 6094 /* confdefs.h. */ 6379 6095 _ACEOF … … 6382 6098 /* end confdefs.h. */ 6383 6099 6384 #include <stdbool.h>6385 #ifndef bool6386 # error bool is not defined6387 #endif6388 #ifndef false6389 # error false is not defined6390 #endif6391 #if false6392 # error false is not 06393 #endif6394 #ifndef true6395 # error true is not defined6396 #endif6397 #if true != 16398 # error true is not 16399 #endif6400 #ifndef __bool_true_false_are_defined6401 # error __bool_true_false_are_defined is not defined6402 #endif6403 6404 struct s { _Bool s: 1; _Bool t; } s;6405 6406 char a[true == 1 ? 1 : -1];6407 char b[false == 0 ? 1 : -1];6408 char c[__bool_true_false_are_defined == 1 ? 1 : -1];6409 char d[(bool) -0.5 == true ? 1 : -1];6410 bool e = &s;6411 char f[(_Bool) -0.0 == false ? 1 : -1];6412 char g[true];6413 char h[sizeof (_Bool)];6414 char i[sizeof s.t];6415 6100 6416 6101 int 6417 6102 main () 6418 6103 { 6419 return !a + !b + !c + !d + !e + !f + !g + !h + !i;6104 main (); 6420 6105 ; 6421 6106 return 0; 6422 6107 } 6423 6108 _ACEOF 6424 rm -f conftest.$ac_objext 6425 if { (eval echo "$as_me:$LINENO: \"$ac_ compile\"") >&56426 (eval $ac_ compile) 2>conftest.er16109 rm -f conftest.$ac_objext conftest$ac_exeext 6110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6111 (eval $ac_link) 2>conftest.er1 6427 6112 ac_status=$? 6428 6113 grep -v '^ *+' conftest.er1 >conftest.err … … 6438 6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6439 6124 (exit $ac_status); }; } && 6440 { ac_try='test -s conftest .$ac_objext'6125 { ac_try='test -s conftest$ac_exeext' 6441 6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6442 6127 (eval $ac_try) 2>&5 … … 6444 6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6445 6130 (exit $ac_status); }; }; then 6446 ac_cv_ header_stdbool_h=yes6131 ac_cv_lib_SDL_image_main=yes 6447 6132 else 6448 6133 echo "$as_me: failed program was:" >&5 6449 6134 sed 's/^/| /' conftest.$ac_ext >&5 6450 6135 6451 ac_cv_header_stdbool_h=no 6452 fi 6453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6454 fi 6455 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 6456 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 6457 echo "$as_me:$LINENO: checking for _Bool" >&5 6458 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 6459 if test "${ac_cv_type__Bool+set}" = set; then 6460 echo $ECHO_N "(cached) $ECHO_C" >&6 6461 else 6462 cat >conftest.$ac_ext <<_ACEOF 6463 /* confdefs.h. */ 6464 _ACEOF 6465 cat confdefs.h >>conftest.$ac_ext 6466 cat >>conftest.$ac_ext <<_ACEOF 6467 /* end confdefs.h. */ 6468 $ac_includes_default 6469 int 6470 main () 6471 { 6472 if ((_Bool *) 0) 6473 return 0; 6474 if (sizeof (_Bool)) 6475 return 0; 6476 ; 6477 return 0; 6478 } 6479 _ACEOF 6480 rm -f conftest.$ac_objext 6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6482 (eval $ac_compile) 2>conftest.er1 6483 ac_status=$? 6484 grep -v '^ *+' conftest.er1 >conftest.err 6485 rm -f conftest.er1 6486 cat conftest.err >&5 6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6488 (exit $ac_status); } && 6489 { ac_try='test -z "$ac_c_werror_flag" 6490 || test ! -s conftest.err' 6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6492 (eval $ac_try) 2>&5 6493 ac_status=$? 6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6495 (exit $ac_status); }; } && 6496 { ac_try='test -s conftest.$ac_objext' 6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6498 (eval $ac_try) 2>&5 6499 ac_status=$? 6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); }; }; then 6502 ac_cv_type__Bool=yes 6503 else 6504 echo "$as_me: failed program was:" >&5 6505 sed 's/^/| /' conftest.$ac_ext >&5 6506 6507 ac_cv_type__Bool=no 6508 fi 6509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6510 fi 6511 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 6512 echo "${ECHO_T}$ac_cv_type__Bool" >&6 6513 if test $ac_cv_type__Bool = yes; then 6514 6515 cat >>confdefs.h <<_ACEOF 6516 #define HAVE__BOOL 1 6517 _ACEOF 6518 6519 6520 fi 6521 6522 if test $ac_cv_header_stdbool_h = yes; then 6523 6524 cat >>confdefs.h <<\_ACEOF 6525 #define HAVE_STDBOOL_H 1 6526 _ACEOF 6527 6528 fi 6529 6530 6531 # Checks for library functions. 6532 6533 for ac_header in stdlib.h 6136 ac_cv_lib_SDL_image_main=no 6137 fi 6138 rm -f conftest.err conftest.$ac_objext \ 6139 conftest$ac_exeext conftest.$ac_ext 6140 LIBS=$ac_check_lib_save_LIBS 6141 fi 6142 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 6143 echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 6144 if test $ac_cv_lib_SDL_image_main = yes; then 6145 FOUND_SDL_image=yes 6146 fi 6147 6148 if test "$FOUND_SDL_image" = "yes" ; then 6149 LIBS="$LIBS -lSDL_image" 6150 else 6151 echo "------------------" 6152 echo "SDL_image library not found." 6153 echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" 6154 echo "------------------" 6155 exit -1 6156 fi 6157 fi 6158 6159 6160 if test "$def_sdl_image" = "no"; then 6161 ## checking for libjpeg 6162 6163 for ac_header in jpeglib.h 6534 6164 do 6535 6165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 6675 6305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6676 6306 _ACEOF 6307 jpegHeader="yes" 6308 else 6309 jpegHeader="no" 6310 fi 6311 6312 done 6313 6314 if test $jpegHeader = "no"; then 6315 echo " not including jpeg." 6316 else 6317 echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 6318 echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6 6319 if test "${ac_cv_lib_jpeg_main+set}" = set; then 6320 echo $ECHO_N "(cached) $ECHO_C" >&6 6321 else 6322 ac_check_lib_save_LIBS=$LIBS 6323 LIBS="-ljpeg $LIBS" 6324 cat >conftest.$ac_ext <<_ACEOF 6325 /* confdefs.h. */ 6326 _ACEOF 6327 cat confdefs.h >>conftest.$ac_ext 6328 cat >>conftest.$ac_ext <<_ACEOF 6329 /* end confdefs.h. */ 6330 6331 6332 int 6333 main () 6334 { 6335 main (); 6336 ; 6337 return 0; 6338 } 6339 _ACEOF 6340 rm -f conftest.$ac_objext conftest$ac_exeext 6341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6342 (eval $ac_link) 2>conftest.er1 6343 ac_status=$? 6344 grep -v '^ *+' conftest.er1 >conftest.err 6345 rm -f conftest.er1 6346 cat conftest.err >&5 6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6348 (exit $ac_status); } && 6349 { ac_try='test -z "$ac_c_werror_flag" 6350 || test ! -s conftest.err' 6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6352 (eval $ac_try) 2>&5 6353 ac_status=$? 6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6355 (exit $ac_status); }; } && 6356 { ac_try='test -s conftest$ac_exeext' 6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6358 (eval $ac_try) 2>&5 6359 ac_status=$? 6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6361 (exit $ac_status); }; }; then 6362 ac_cv_lib_jpeg_main=yes 6363 else 6364 echo "$as_me: failed program was:" >&5 6365 sed 's/^/| /' conftest.$ac_ext >&5 6366 6367 ac_cv_lib_jpeg_main=no 6368 fi 6369 rm -f conftest.err conftest.$ac_objext \ 6370 conftest$ac_exeext conftest.$ac_ext 6371 LIBS=$ac_check_lib_save_LIBS 6372 fi 6373 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5 6374 echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6 6375 if test $ac_cv_lib_jpeg_main = yes; then 6376 FOUND_jpeg=yes 6377 fi 6378 6379 if test "$FOUND_jpeg" = "yes" ; then 6380 LIBS="$LIBS -ljpeg" 6381 else 6382 echo "------------------" 6383 echo "jpeg library not found." 6384 echo "please install the jpeg library from the Independent JPEG Group, which can be found at http://www.ijg.org" 6385 echo "------------------" 6386 exit -1 6387 fi 6388 fi 6389 6390 ## checking for libpng 6391 6392 for ac_header in png.h 6393 do 6394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6395 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6396 echo "$as_me:$LINENO: checking for $ac_header" >&5 6397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6398 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6399 echo $ECHO_N "(cached) $ECHO_C" >&6 6400 fi 6401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6403 else 6404 # Is the header compilable? 6405 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6407 cat >conftest.$ac_ext <<_ACEOF 6408 /* confdefs.h. */ 6409 _ACEOF 6410 cat confdefs.h >>conftest.$ac_ext 6411 cat >>conftest.$ac_ext <<_ACEOF 6412 /* end confdefs.h. */ 6413 $ac_includes_default 6414 #include <$ac_header> 6415 _ACEOF 6416 rm -f conftest.$ac_objext 6417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6418 (eval $ac_compile) 2>conftest.er1 6419 ac_status=$? 6420 grep -v '^ *+' conftest.er1 >conftest.err 6421 rm -f conftest.er1 6422 cat conftest.err >&5 6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6424 (exit $ac_status); } && 6425 { ac_try='test -z "$ac_c_werror_flag" 6426 || test ! -s conftest.err' 6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6428 (eval $ac_try) 2>&5 6429 ac_status=$? 6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6431 (exit $ac_status); }; } && 6432 { ac_try='test -s conftest.$ac_objext' 6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6434 (eval $ac_try) 2>&5 6435 ac_status=$? 6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6437 (exit $ac_status); }; }; then 6438 ac_header_compiler=yes 6439 else 6440 echo "$as_me: failed program was:" >&5 6441 sed 's/^/| /' conftest.$ac_ext >&5 6442 6443 ac_header_compiler=no 6444 fi 6445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6447 echo "${ECHO_T}$ac_header_compiler" >&6 6448 6449 # Is the header present? 6450 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6452 cat >conftest.$ac_ext <<_ACEOF 6453 /* confdefs.h. */ 6454 _ACEOF 6455 cat confdefs.h >>conftest.$ac_ext 6456 cat >>conftest.$ac_ext <<_ACEOF 6457 /* end confdefs.h. */ 6458 #include <$ac_header> 6459 _ACEOF 6460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6462 ac_status=$? 6463 grep -v '^ *+' conftest.er1 >conftest.err 6464 rm -f conftest.er1 6465 cat conftest.err >&5 6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6467 (exit $ac_status); } >/dev/null; then 6468 if test -s conftest.err; then 6469 ac_cpp_err=$ac_c_preproc_warn_flag 6470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6471 else 6472 ac_cpp_err= 6473 fi 6474 else 6475 ac_cpp_err=yes 6476 fi 6477 if test -z "$ac_cpp_err"; then 6478 ac_header_preproc=yes 6479 else 6480 echo "$as_me: failed program was:" >&5 6481 sed 's/^/| /' conftest.$ac_ext >&5 6482 6483 ac_header_preproc=no 6484 fi 6485 rm -f conftest.err conftest.$ac_ext 6486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6487 echo "${ECHO_T}$ac_header_preproc" >&6 6488 6489 # So? What about this header? 6490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6491 yes:no: ) 6492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6496 ac_header_preproc=yes 6497 ;; 6498 no:yes:* ) 6499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6511 ( 6512 cat <<\_ASBOX 6513 ## ------------------------------------------- ## 6514 ## Report this to orxonox-dev@mail.datacore.ch ## 6515 ## ------------------------------------------- ## 6516 _ASBOX 6517 ) | 6518 sed "s/^/$as_me: WARNING: /" >&2 6519 ;; 6520 esac 6521 echo "$as_me:$LINENO: checking for $ac_header" >&5 6522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6523 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6524 echo $ECHO_N "(cached) $ECHO_C" >&6 6525 else 6526 eval "$as_ac_Header=\$ac_header_preproc" 6527 fi 6528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6530 6531 fi 6532 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6533 cat >>confdefs.h <<_ACEOF 6534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6535 _ACEOF 6536 pngHeader="yes" 6537 else 6538 pngHeader="no" 6539 fi 6540 6541 done 6542 6543 if test $pngHeader = "no"; then 6544 echo " not including png." 6545 else 6546 echo "$as_me:$LINENO: checking for main in -lpng" >&5 6547 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 6548 if test "${ac_cv_lib_png_main+set}" = set; then 6549 echo $ECHO_N "(cached) $ECHO_C" >&6 6550 else 6551 ac_check_lib_save_LIBS=$LIBS 6552 LIBS="-lpng $LIBS" 6553 cat >conftest.$ac_ext <<_ACEOF 6554 /* confdefs.h. */ 6555 _ACEOF 6556 cat confdefs.h >>conftest.$ac_ext 6557 cat >>conftest.$ac_ext <<_ACEOF 6558 /* end confdefs.h. */ 6559 6560 6561 int 6562 main () 6563 { 6564 main (); 6565 ; 6566 return 0; 6567 } 6568 _ACEOF 6569 rm -f conftest.$ac_objext conftest$ac_exeext 6570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6571 (eval $ac_link) 2>conftest.er1 6572 ac_status=$? 6573 grep -v '^ *+' conftest.er1 >conftest.err 6574 rm -f conftest.er1 6575 cat conftest.err >&5 6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6577 (exit $ac_status); } && 6578 { ac_try='test -z "$ac_c_werror_flag" 6579 || test ! -s conftest.err' 6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6581 (eval $ac_try) 2>&5 6582 ac_status=$? 6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6584 (exit $ac_status); }; } && 6585 { ac_try='test -s conftest$ac_exeext' 6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6587 (eval $ac_try) 2>&5 6588 ac_status=$? 6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6590 (exit $ac_status); }; }; then 6591 ac_cv_lib_png_main=yes 6592 else 6593 echo "$as_me: failed program was:" >&5 6594 sed 's/^/| /' conftest.$ac_ext >&5 6595 6596 ac_cv_lib_png_main=no 6597 fi 6598 rm -f conftest.err conftest.$ac_objext \ 6599 conftest$ac_exeext conftest.$ac_ext 6600 LIBS=$ac_check_lib_save_LIBS 6601 fi 6602 echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 6603 echo "${ECHO_T}$ac_cv_lib_png_main" >&6 6604 if test $ac_cv_lib_png_main = yes; then 6605 FOUND_png=yes 6606 fi 6607 6608 if test "$FOUND_png" = "yes" ; then 6609 LIBS="$LIBS -lpng" 6610 else 6611 echo "------------------" 6612 echo "png library not found." 6613 echo "please install the png library, which can be found at http://libpng.org/pub/png/libpng.html" 6614 echo "------------------" 6615 exit -1 6616 fi 6617 fi 6618 fi 6619 6620 ## checking for GTK 6621 if test "$def_gtk" = yes; then 6622 6623 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 6624 echo "$as_me:$LINENO: checking for gtk2.0" >&5 6625 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 6626 if `pkg-config --exists gtk+-2.0`; then 6627 echo "yes" 6628 have_gtk2=yes 6629 GTK2_LIBS=`pkg-config --libs gtk+-2.0` 6630 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` 6631 6632 cat >>confdefs.h <<_ACEOF 6633 #define HAVE_GTK2 1 6634 _ACEOF 6635 6636 else 6637 echo "no" 6638 fi 6639 6640 fi 6641 6642 6643 6644 6645 if test x$have_gtk2 = xyes; then 6646 HAVE_GTK2_TRUE= 6647 HAVE_GTK2_FALSE='#' 6648 else 6649 HAVE_GTK2_TRUE='#' 6650 HAVE_GTK2_FALSE= 6651 fi 6652 6653 6654 6655 6656 #checking for pthread libs 6657 # AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) 6658 # if test "$FOUND_pthread" = "yes" ; then 6659 # LIBS="$LIBS -lpthread" 6660 # fi 6661 6662 6663 # FIXME: Replace `main' with a function in `-lm': 6664 6665 echo "$as_me:$LINENO: checking for main in -lm" >&5 6666 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6667 if test "${ac_cv_lib_m_main+set}" = set; then 6668 echo $ECHO_N "(cached) $ECHO_C" >&6 6669 else 6670 ac_check_lib_save_LIBS=$LIBS 6671 LIBS="-lm $LIBS" 6672 cat >conftest.$ac_ext <<_ACEOF 6673 /* confdefs.h. */ 6674 _ACEOF 6675 cat confdefs.h >>conftest.$ac_ext 6676 cat >>conftest.$ac_ext <<_ACEOF 6677 /* end confdefs.h. */ 6678 6679 6680 int 6681 main () 6682 { 6683 main (); 6684 ; 6685 return 0; 6686 } 6687 _ACEOF 6688 rm -f conftest.$ac_objext conftest$ac_exeext 6689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6690 (eval $ac_link) 2>conftest.er1 6691 ac_status=$? 6692 grep -v '^ *+' conftest.er1 >conftest.err 6693 rm -f conftest.er1 6694 cat conftest.err >&5 6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 (exit $ac_status); } && 6697 { ac_try='test -z "$ac_c_werror_flag" 6698 || test ! -s conftest.err' 6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6700 (eval $ac_try) 2>&5 6701 ac_status=$? 6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6703 (exit $ac_status); }; } && 6704 { ac_try='test -s conftest$ac_exeext' 6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6706 (eval $ac_try) 2>&5 6707 ac_status=$? 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6709 (exit $ac_status); }; }; then 6710 ac_cv_lib_m_main=yes 6711 else 6712 echo "$as_me: failed program was:" >&5 6713 sed 's/^/| /' conftest.$ac_ext >&5 6714 6715 ac_cv_lib_m_main=no 6716 fi 6717 rm -f conftest.err conftest.$ac_objext \ 6718 conftest$ac_exeext conftest.$ac_ext 6719 LIBS=$ac_check_lib_save_LIBS 6720 fi 6721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6722 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6723 if test $ac_cv_lib_m_main = yes; then 6724 cat >>confdefs.h <<_ACEOF 6725 #define HAVE_LIBM 1 6726 _ACEOF 6727 6728 LIBS="-lm $LIBS" 6729 6730 fi 6731 6732 6733 6734 # Checks for header files. 6735 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6737 if test "${ac_cv_header_stdc+set}" = set; then 6738 echo $ECHO_N "(cached) $ECHO_C" >&6 6739 else 6740 cat >conftest.$ac_ext <<_ACEOF 6741 /* confdefs.h. */ 6742 _ACEOF 6743 cat confdefs.h >>conftest.$ac_ext 6744 cat >>conftest.$ac_ext <<_ACEOF 6745 /* end confdefs.h. */ 6746 #include <stdlib.h> 6747 #include <stdarg.h> 6748 #include <string.h> 6749 #include <float.h> 6750 6751 int 6752 main () 6753 { 6754 6755 ; 6756 return 0; 6757 } 6758 _ACEOF 6759 rm -f conftest.$ac_objext 6760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6761 (eval $ac_compile) 2>conftest.er1 6762 ac_status=$? 6763 grep -v '^ *+' conftest.er1 >conftest.err 6764 rm -f conftest.er1 6765 cat conftest.err >&5 6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 (exit $ac_status); } && 6768 { ac_try='test -z "$ac_c_werror_flag" 6769 || test ! -s conftest.err' 6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6771 (eval $ac_try) 2>&5 6772 ac_status=$? 6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6774 (exit $ac_status); }; } && 6775 { ac_try='test -s conftest.$ac_objext' 6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6777 (eval $ac_try) 2>&5 6778 ac_status=$? 6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6780 (exit $ac_status); }; }; then 6781 ac_cv_header_stdc=yes 6782 else 6783 echo "$as_me: failed program was:" >&5 6784 sed 's/^/| /' conftest.$ac_ext >&5 6785 6786 ac_cv_header_stdc=no 6787 fi 6788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6789 6790 if test $ac_cv_header_stdc = yes; then 6791 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6792 cat >conftest.$ac_ext <<_ACEOF 6793 /* confdefs.h. */ 6794 _ACEOF 6795 cat confdefs.h >>conftest.$ac_ext 6796 cat >>conftest.$ac_ext <<_ACEOF 6797 /* end confdefs.h. */ 6798 #include <string.h> 6799 6800 _ACEOF 6801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6802 $EGREP "memchr" >/dev/null 2>&1; then 6803 : 6804 else 6805 ac_cv_header_stdc=no 6806 fi 6807 rm -f conftest* 6808 6809 fi 6810 6811 if test $ac_cv_header_stdc = yes; then 6812 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6813 cat >conftest.$ac_ext <<_ACEOF 6814 /* confdefs.h. */ 6815 _ACEOF 6816 cat confdefs.h >>conftest.$ac_ext 6817 cat >>conftest.$ac_ext <<_ACEOF 6818 /* end confdefs.h. */ 6819 #include <stdlib.h> 6820 6821 _ACEOF 6822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6823 $EGREP "free" >/dev/null 2>&1; then 6824 : 6825 else 6826 ac_cv_header_stdc=no 6827 fi 6828 rm -f conftest* 6829 6830 fi 6831 6832 if test $ac_cv_header_stdc = yes; then 6833 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6834 if test "$cross_compiling" = yes; then 6835 : 6836 else 6837 cat >conftest.$ac_ext <<_ACEOF 6838 /* confdefs.h. */ 6839 _ACEOF 6840 cat confdefs.h >>conftest.$ac_ext 6841 cat >>conftest.$ac_ext <<_ACEOF 6842 /* end confdefs.h. */ 6843 #include <ctype.h> 6844 #if ((' ' & 0x0FF) == 0x020) 6845 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6846 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6847 #else 6848 # define ISLOWER(c) \ 6849 (('a' <= (c) && (c) <= 'i') \ 6850 || ('j' <= (c) && (c) <= 'r') \ 6851 || ('s' <= (c) && (c) <= 'z')) 6852 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6853 #endif 6854 6855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6856 int 6857 main () 6858 { 6859 int i; 6860 for (i = 0; i < 256; i++) 6861 if (XOR (islower (i), ISLOWER (i)) 6862 || toupper (i) != TOUPPER (i)) 6863 exit(2); 6864 exit (0); 6865 } 6866 _ACEOF 6867 rm -f conftest$ac_exeext 6868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6869 (eval $ac_link) 2>&5 6870 ac_status=$? 6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6874 (eval $ac_try) 2>&5 6875 ac_status=$? 6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6877 (exit $ac_status); }; }; then 6878 : 6879 else 6880 echo "$as_me: program exited with status $ac_status" >&5 6881 echo "$as_me: failed program was:" >&5 6882 sed 's/^/| /' conftest.$ac_ext >&5 6883 6884 ( exit $ac_status ) 6885 ac_cv_header_stdc=no 6886 fi 6887 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6888 fi 6889 fi 6890 fi 6891 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6892 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6893 if test $ac_cv_header_stdc = yes; then 6894 6895 cat >>confdefs.h <<\_ACEOF 6896 #define STDC_HEADERS 1 6897 _ACEOF 6898 6899 fi 6900 6901 6902 6903 for ac_header in stdlib.h string.h 6904 do 6905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6906 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6907 echo "$as_me:$LINENO: checking for $ac_header" >&5 6908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6909 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6910 echo $ECHO_N "(cached) $ECHO_C" >&6 6911 fi 6912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6914 else 6915 # Is the header compilable? 6916 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6918 cat >conftest.$ac_ext <<_ACEOF 6919 /* confdefs.h. */ 6920 _ACEOF 6921 cat confdefs.h >>conftest.$ac_ext 6922 cat >>conftest.$ac_ext <<_ACEOF 6923 /* end confdefs.h. */ 6924 $ac_includes_default 6925 #include <$ac_header> 6926 _ACEOF 6927 rm -f conftest.$ac_objext 6928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6929 (eval $ac_compile) 2>conftest.er1 6930 ac_status=$? 6931 grep -v '^ *+' conftest.er1 >conftest.err 6932 rm -f conftest.er1 6933 cat conftest.err >&5 6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6935 (exit $ac_status); } && 6936 { ac_try='test -z "$ac_c_werror_flag" 6937 || test ! -s conftest.err' 6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6939 (eval $ac_try) 2>&5 6940 ac_status=$? 6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6942 (exit $ac_status); }; } && 6943 { ac_try='test -s conftest.$ac_objext' 6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6945 (eval $ac_try) 2>&5 6946 ac_status=$? 6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6948 (exit $ac_status); }; }; then 6949 ac_header_compiler=yes 6950 else 6951 echo "$as_me: failed program was:" >&5 6952 sed 's/^/| /' conftest.$ac_ext >&5 6953 6954 ac_header_compiler=no 6955 fi 6956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6958 echo "${ECHO_T}$ac_header_compiler" >&6 6959 6960 # Is the header present? 6961 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6963 cat >conftest.$ac_ext <<_ACEOF 6964 /* confdefs.h. */ 6965 _ACEOF 6966 cat confdefs.h >>conftest.$ac_ext 6967 cat >>conftest.$ac_ext <<_ACEOF 6968 /* end confdefs.h. */ 6969 #include <$ac_header> 6970 _ACEOF 6971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6973 ac_status=$? 6974 grep -v '^ *+' conftest.er1 >conftest.err 6975 rm -f conftest.er1 6976 cat conftest.err >&5 6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6978 (exit $ac_status); } >/dev/null; then 6979 if test -s conftest.err; then 6980 ac_cpp_err=$ac_c_preproc_warn_flag 6981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6982 else 6983 ac_cpp_err= 6984 fi 6985 else 6986 ac_cpp_err=yes 6987 fi 6988 if test -z "$ac_cpp_err"; then 6989 ac_header_preproc=yes 6990 else 6991 echo "$as_me: failed program was:" >&5 6992 sed 's/^/| /' conftest.$ac_ext >&5 6993 6994 ac_header_preproc=no 6995 fi 6996 rm -f conftest.err conftest.$ac_ext 6997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6998 echo "${ECHO_T}$ac_header_preproc" >&6 6999 7000 # So? What about this header? 7001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7002 yes:no: ) 7003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7007 ac_header_preproc=yes 7008 ;; 7009 no:yes:* ) 7010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7022 ( 7023 cat <<\_ASBOX 7024 ## ------------------------------------------- ## 7025 ## Report this to orxonox-dev@mail.datacore.ch ## 7026 ## ------------------------------------------- ## 7027 _ASBOX 7028 ) | 7029 sed "s/^/$as_me: WARNING: /" >&2 7030 ;; 7031 esac 7032 echo "$as_me:$LINENO: checking for $ac_header" >&5 7033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7034 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7035 echo $ECHO_N "(cached) $ECHO_C" >&6 7036 else 7037 eval "$as_ac_Header=\$ac_header_preproc" 7038 fi 7039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7041 7042 fi 7043 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7044 cat >>confdefs.h <<_ACEOF 7045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7046 _ACEOF 7047 7048 fi 7049 7050 done 7051 7052 7053 # Checks for typedefs, structures, and compiler characteristics. 7054 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7055 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7056 if test "${ac_cv_header_stdbool_h+set}" = set; then 7057 echo $ECHO_N "(cached) $ECHO_C" >&6 7058 else 7059 cat >conftest.$ac_ext <<_ACEOF 7060 /* confdefs.h. */ 7061 _ACEOF 7062 cat confdefs.h >>conftest.$ac_ext 7063 cat >>conftest.$ac_ext <<_ACEOF 7064 /* end confdefs.h. */ 7065 7066 #include <stdbool.h> 7067 #ifndef bool 7068 # error bool is not defined 7069 #endif 7070 #ifndef false 7071 # error false is not defined 7072 #endif 7073 #if false 7074 # error false is not 0 7075 #endif 7076 #ifndef true 7077 # error true is not defined 7078 #endif 7079 #if true != 1 7080 # error true is not 1 7081 #endif 7082 #ifndef __bool_true_false_are_defined 7083 # error __bool_true_false_are_defined is not defined 7084 #endif 7085 7086 struct s { _Bool s: 1; _Bool t; } s; 7087 7088 char a[true == 1 ? 1 : -1]; 7089 char b[false == 0 ? 1 : -1]; 7090 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7091 char d[(bool) -0.5 == true ? 1 : -1]; 7092 bool e = &s; 7093 char f[(_Bool) -0.0 == false ? 1 : -1]; 7094 char g[true]; 7095 char h[sizeof (_Bool)]; 7096 char i[sizeof s.t]; 7097 7098 int 7099 main () 7100 { 7101 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7102 ; 7103 return 0; 7104 } 7105 _ACEOF 7106 rm -f conftest.$ac_objext 7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7108 (eval $ac_compile) 2>conftest.er1 7109 ac_status=$? 7110 grep -v '^ *+' conftest.er1 >conftest.err 7111 rm -f conftest.er1 7112 cat conftest.err >&5 7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7114 (exit $ac_status); } && 7115 { ac_try='test -z "$ac_c_werror_flag" 7116 || test ! -s conftest.err' 7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7118 (eval $ac_try) 2>&5 7119 ac_status=$? 7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 (exit $ac_status); }; } && 7122 { ac_try='test -s conftest.$ac_objext' 7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7124 (eval $ac_try) 2>&5 7125 ac_status=$? 7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7127 (exit $ac_status); }; }; then 7128 ac_cv_header_stdbool_h=yes 7129 else 7130 echo "$as_me: failed program was:" >&5 7131 sed 's/^/| /' conftest.$ac_ext >&5 7132 7133 ac_cv_header_stdbool_h=no 7134 fi 7135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7136 fi 7137 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7138 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7139 echo "$as_me:$LINENO: checking for _Bool" >&5 7140 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7141 if test "${ac_cv_type__Bool+set}" = set; then 7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7143 else 7144 cat >conftest.$ac_ext <<_ACEOF 7145 /* confdefs.h. */ 7146 _ACEOF 7147 cat confdefs.h >>conftest.$ac_ext 7148 cat >>conftest.$ac_ext <<_ACEOF 7149 /* end confdefs.h. */ 7150 $ac_includes_default 7151 int 7152 main () 7153 { 7154 if ((_Bool *) 0) 7155 return 0; 7156 if (sizeof (_Bool)) 7157 return 0; 7158 ; 7159 return 0; 7160 } 7161 _ACEOF 7162 rm -f conftest.$ac_objext 7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7164 (eval $ac_compile) 2>conftest.er1 7165 ac_status=$? 7166 grep -v '^ *+' conftest.er1 >conftest.err 7167 rm -f conftest.er1 7168 cat conftest.err >&5 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); } && 7171 { ac_try='test -z "$ac_c_werror_flag" 7172 || test ! -s conftest.err' 7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7174 (eval $ac_try) 2>&5 7175 ac_status=$? 7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7177 (exit $ac_status); }; } && 7178 { ac_try='test -s conftest.$ac_objext' 7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7180 (eval $ac_try) 2>&5 7181 ac_status=$? 7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7183 (exit $ac_status); }; }; then 7184 ac_cv_type__Bool=yes 7185 else 7186 echo "$as_me: failed program was:" >&5 7187 sed 's/^/| /' conftest.$ac_ext >&5 7188 7189 ac_cv_type__Bool=no 7190 fi 7191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7192 fi 7193 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7194 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7195 if test $ac_cv_type__Bool = yes; then 7196 7197 cat >>confdefs.h <<_ACEOF 7198 #define HAVE__BOOL 1 7199 _ACEOF 7200 7201 7202 fi 7203 7204 if test $ac_cv_header_stdbool_h = yes; then 7205 7206 cat >>confdefs.h <<\_ACEOF 7207 #define HAVE_STDBOOL_H 1 7208 _ACEOF 7209 7210 fi 7211 7212 7213 # Checks for library functions. 7214 7215 for ac_header in stdlib.h 7216 do 7217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7218 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7219 echo "$as_me:$LINENO: checking for $ac_header" >&5 7220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7221 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7222 echo $ECHO_N "(cached) $ECHO_C" >&6 7223 fi 7224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7226 else 7227 # Is the header compilable? 7228 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7230 cat >conftest.$ac_ext <<_ACEOF 7231 /* confdefs.h. */ 7232 _ACEOF 7233 cat confdefs.h >>conftest.$ac_ext 7234 cat >>conftest.$ac_ext <<_ACEOF 7235 /* end confdefs.h. */ 7236 $ac_includes_default 7237 #include <$ac_header> 7238 _ACEOF 7239 rm -f conftest.$ac_objext 7240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7241 (eval $ac_compile) 2>conftest.er1 7242 ac_status=$? 7243 grep -v '^ *+' conftest.er1 >conftest.err 7244 rm -f conftest.er1 7245 cat conftest.err >&5 7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7247 (exit $ac_status); } && 7248 { ac_try='test -z "$ac_c_werror_flag" 7249 || test ! -s conftest.err' 7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7251 (eval $ac_try) 2>&5 7252 ac_status=$? 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7254 (exit $ac_status); }; } && 7255 { ac_try='test -s conftest.$ac_objext' 7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7257 (eval $ac_try) 2>&5 7258 ac_status=$? 7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7260 (exit $ac_status); }; }; then 7261 ac_header_compiler=yes 7262 else 7263 echo "$as_me: failed program was:" >&5 7264 sed 's/^/| /' conftest.$ac_ext >&5 7265 7266 ac_header_compiler=no 7267 fi 7268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7270 echo "${ECHO_T}$ac_header_compiler" >&6 7271 7272 # Is the header present? 7273 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7275 cat >conftest.$ac_ext <<_ACEOF 7276 /* confdefs.h. */ 7277 _ACEOF 7278 cat confdefs.h >>conftest.$ac_ext 7279 cat >>conftest.$ac_ext <<_ACEOF 7280 /* end confdefs.h. */ 7281 #include <$ac_header> 7282 _ACEOF 7283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7285 ac_status=$? 7286 grep -v '^ *+' conftest.er1 >conftest.err 7287 rm -f conftest.er1 7288 cat conftest.err >&5 7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7290 (exit $ac_status); } >/dev/null; then 7291 if test -s conftest.err; then 7292 ac_cpp_err=$ac_c_preproc_warn_flag 7293 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7294 else 7295 ac_cpp_err= 7296 fi 7297 else 7298 ac_cpp_err=yes 7299 fi 7300 if test -z "$ac_cpp_err"; then 7301 ac_header_preproc=yes 7302 else 7303 echo "$as_me: failed program was:" >&5 7304 sed 's/^/| /' conftest.$ac_ext >&5 7305 7306 ac_header_preproc=no 7307 fi 7308 rm -f conftest.err conftest.$ac_ext 7309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7310 echo "${ECHO_T}$ac_header_preproc" >&6 7311 7312 # So? What about this header? 7313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7314 yes:no: ) 7315 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7316 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7318 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7319 ac_header_preproc=yes 7320 ;; 7321 no:yes:* ) 7322 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7324 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7325 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7326 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7327 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7328 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7329 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7332 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7333 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7334 ( 7335 cat <<\_ASBOX 7336 ## ------------------------------------------- ## 7337 ## Report this to orxonox-dev@mail.datacore.ch ## 7338 ## ------------------------------------------- ## 7339 _ASBOX 7340 ) | 7341 sed "s/^/$as_me: WARNING: /" >&2 7342 ;; 7343 esac 7344 echo "$as_me:$LINENO: checking for $ac_header" >&5 7345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7346 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7347 echo $ECHO_N "(cached) $ECHO_C" >&6 7348 else 7349 eval "$as_ac_Header=\$ac_header_preproc" 7350 fi 7351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7353 7354 fi 7355 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7356 cat >>confdefs.h <<_ACEOF 7357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7358 _ACEOF 6677 7359 6678 7360 fi … … 6865 7547 6866 7548 6867 ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefileimporter/Makefile"7549 ac_config_files="$ac_config_files Makefile src/console/Makefile src/gui/Makefile src/Makefile src/importer/Makefile" 6868 7550 6869 7551 cat >confcache <<\_ACEOF … … 6976 7658 Usually this means the macro was only invoked conditionally." >&5 6977 7659 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 7660 Usually this means the macro was only invoked conditionally." >&2;} 7661 { (exit 1); exit 1; }; } 7662 fi 7663 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then 7664 { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. 7665 Usually this means the macro was only invoked conditionally." >&5 7666 echo "$as_me: error: conditional \"DOXYGEN\" was never defined. 6978 7667 Usually this means the macro was only invoked conditionally." >&2;} 6979 7668 { (exit 1); exit 1; }; } … … 7257 7946 cat >&5 <<_CSEOF 7258 7947 7259 This file was extended by orxonox $as_me 0. 1-pre-alpha, which was7948 This file was extended by orxonox $as_me 0.2.0_alpha-r1, which was 7260 7949 generated by GNU Autoconf 2.59. Invocation command line was 7261 7950 … … 7320 8009 cat >>$CONFIG_STATUS <<_ACEOF 7321 8010 ac_cs_version="\\ 7322 orxonox config.status 0. 1-pre-alpha8011 orxonox config.status 0.2.0_alpha-r1 7323 8012 configured by $0, generated by GNU Autoconf 2.59, 7324 8013 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 7431 8120 # Handling of arguments. 7432 8121 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7433 " console/Makefile" ) CONFIG_FILES="$CONFIG_FILESconsole/Makefile" ;;7434 " gui/Makefile" ) CONFIG_FILES="$CONFIG_FILESgui/Makefile" ;;8122 "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;; 8123 "src/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;; 7435 8124 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7436 " importer/Makefile" ) CONFIG_FILES="$CONFIG_FILESimporter/Makefile" ;;8125 "src/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/importer/Makefile" ;; 7437 8126 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7438 8127 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; … … 7578 8267 s,@CPP@,$CPP,;t t 7579 8268 s,@EGREP@,$EGREP,;t t 8269 s,@DEBUG@,$DEBUG,;t t 8270 s,@DOXYGEN@,$DOXYGEN,;t t 8271 s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t 8272 s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t 7580 8273 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 7581 s,@ PKG_CONFIG@,$PKG_CONFIG,;t t8274 s,@GTK2_LIBS@,$GTK2_LIBS,;t t 7582 8275 s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t 7583 s,@GTK2_LIBS@,$GTK2_LIBS,;t t7584 8276 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 7585 8277 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t
Note: See TracChangeset
for help on using the changeset viewer.