Changeset 3238 in orxonox.OLD for orxonox/branches/sound/configure
- Timestamp:
- Dec 20, 2004, 2:42:54 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound/configure
r2964 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 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 MSBITFIELDSLIBOBJS 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]... … … 846 846 --program-suffix=SUFFIX append SUFFIX to installed program names 847 847 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 848 849 System types: 850 --build=BUILD configure for building on BUILD [guessed] 851 --host=HOST cross-compile to build programs to run on HOST [BUILD] 852 --target=TARGET configure for building compilers for TARGET [HOST] 848 853 _ACEOF 849 854 fi … … 851 856 if test -n "$ac_init_help"; then 852 857 case $ac_init_help in 853 short | recursive ) echo "Configuration of orxonox 0. 1-pre-alpha:";;858 short | recursive ) echo "Configuration of orxonox 0.2.0_alpha-r1:";; 854 859 esac 855 860 cat <<\_ACEOF … … 860 865 --disable-dependency-tracking speeds up one-time build 861 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 862 875 863 876 Some influential environment variables: … … 971 984 if $ac_init_version; then 972 985 cat <<\_ACEOF 973 orxonox configure 0. 1-pre-alpha986 orxonox configure 0.2.0_alpha-r1 974 987 generated by GNU Autoconf 2.59 975 988 … … 985 998 running configure, to aid debugging if configure makes a mistake. 986 999 987 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 988 1001 generated by GNU Autoconf 2.59. Invocation command line was 989 1002 … … 1321 1334 1322 1335 1323 am__api_version="1.8" 1336 1337 # Detect the canonical host and target build environment. 1324 1338 ac_aux_dir= 1325 1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1347 1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1348 1362 1363 # Make sure we can run config.sub. 1364 $ac_config_sub sun4 >/dev/null 2>&1 || 1365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1366 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1367 { (exit 1); exit 1; }; } 1368 1369 echo "$as_me:$LINENO: checking build system type" >&5 1370 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1371 if test "${ac_cv_build+set}" = set; then 1372 echo $ECHO_N "(cached) $ECHO_C" >&6 1373 else 1374 ac_cv_build_alias=$build_alias 1375 test -z "$ac_cv_build_alias" && 1376 ac_cv_build_alias=`$ac_config_guess` 1377 test -z "$ac_cv_build_alias" && 1378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1380 { (exit 1); exit 1; }; } 1381 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1384 { (exit 1); exit 1; }; } 1385 1386 fi 1387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1388 echo "${ECHO_T}$ac_cv_build" >&6 1389 build=$ac_cv_build 1390 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1391 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1392 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1393 1394 1395 echo "$as_me:$LINENO: checking host system type" >&5 1396 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1397 if test "${ac_cv_host+set}" = set; then 1398 echo $ECHO_N "(cached) $ECHO_C" >&6 1399 else 1400 ac_cv_host_alias=$host_alias 1401 test -z "$ac_cv_host_alias" && 1402 ac_cv_host_alias=$ac_cv_build_alias 1403 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1406 { (exit 1); exit 1; }; } 1407 1408 fi 1409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1410 echo "${ECHO_T}$ac_cv_host" >&6 1411 host=$ac_cv_host 1412 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1413 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1414 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1415 1416 1417 echo "$as_me:$LINENO: checking target system type" >&5 1418 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1419 if test "${ac_cv_target+set}" = set; then 1420 echo $ECHO_N "(cached) $ECHO_C" >&6 1421 else 1422 ac_cv_target_alias=$target_alias 1423 test "x$ac_cv_target_alias" = "x" && 1424 ac_cv_target_alias=$ac_cv_host_alias 1425 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1428 { (exit 1); exit 1; }; } 1429 1430 fi 1431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1432 echo "${ECHO_T}$ac_cv_target" >&6 1433 target=$ac_cv_target 1434 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1435 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1436 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1437 1438 1439 # The aliases save the names the user supplied, while $host etc. 1440 # will get canonicalized. 1441 test -n "$target_alias" && 1442 test "$program_prefix$program_suffix$program_transform_name" = \ 1443 NONENONEs,x,x, && 1444 program_prefix=${target_alias}- 1445 1446 1447 am__api_version="1.8" 1349 1448 # Find a good install program. We prefer a C program (faster), 1350 1449 # so one script is as good as another. But avoid the broken or … … 1620 1719 # Define the identity of the package. 1621 1720 PACKAGE='orxonox' 1622 VERSION='0. 1-pre-alpha'1721 VERSION='0.2.0_alpha-r1' 1623 1722 1624 1723 … … 3322 3421 3323 3422 3324 3325 3326 3327 3423 ac_ext=c 3328 3424 ac_cpp='$CPP $CPPFLAGS' … … 3742 3838 3743 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 3744 3957 ### CHECKING FOR SYSTEM ### 3745 3958 3746 3959 echo "$as_me:$LINENO: checking for System" >&5 3747 3960 echo $ECHO_N "checking for System... $ECHO_C" >&6 3748 case `uname` in 3961 ## checking for openGL-environment and other sys-specific parameters 3962 case "$target" in 3749 3963 ### WINDOWS ### 3750 * MINGW*)3964 *-*-mingw32*) 3751 3965 echo "mingw-WINDOWS detected" 3752 3966 … … 4289 4503 fi 4290 4504 4291 4292 4505 # checking for mingw32 4293 4506 echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 … … 4576 4789 4577 4790 if test "$FOUND_sdlmain" = "yes" ; then 4578 4791 LIBS="$LIBS -lsdlmain" 4579 4792 else 4580 4581 4582 4583 4584 4793 echo "------------------" 4794 echo "SDL library not found." 4795 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4796 echo "------------------" 4797 exit 1 4585 4798 fi 4586 4799 echo "$as_me:$LINENO: checking for main in -lsdl" >&5 … … 4647 4860 4648 4861 if test "$FOUND_sdl" = "yes" ; then 4649 4862 LIBS="$LIBS -lsdl" 4650 4863 else 4651 4652 4653 4654 4655 4864 echo "------------------" 4865 echo "SDL library not found." 4866 echo "please install the SDL library, which can be found at http://www.libsdl.org" 4867 echo "------------------" 4868 exit -1 4656 4869 fi 4657 4870 4658 # checking for SDL-Mixer-headers 4659 4660 for ac_header in SDL/SDL_mixer.h 4871 ;; 4872 4873 ### LINUX ### 4874 *-*-linux*) 4875 echo "Linux detected" 4876 4877 Linux="yes" 4878 4879 CPPFLAGS="-I/usr/X11R6/include" 4880 LDFLAGS="-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" 4881 # checking gl header 4882 4883 for ac_header in GL/gl.h 4661 4884 do 4662 4885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4804 5027 4805 5028 else 4806 { { echo "$as_me:$LINENO: error: cannot find SDLheaders" >&54807 echo "$as_me: error: cannot find SDLheaders" >&2;}5029 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5030 echo "$as_me: error: cannot find opengl headers" >&2;} 4808 5031 { (exit 1); exit 1; }; } 4809 5032 fi … … 4812 5035 4813 5036 4814 # checking for libSDL_mixer4815 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&54816 echo $ECHO_N "checking for main in -l SDL_mixer... $ECHO_C" >&64817 if test "${ac_cv_lib_ SDL_mixer_main+set}" = set; then5037 # checking for Unix GL 5038 echo "$as_me:$LINENO: checking for main in -lGL" >&5 5039 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 5040 if test "${ac_cv_lib_GL_main+set}" = set; then 4818 5041 echo $ECHO_N "(cached) $ECHO_C" >&6 4819 5042 else 4820 5043 ac_check_lib_save_LIBS=$LIBS 4821 LIBS="-l SDL_mixer$LIBS"5044 LIBS="-lGL $LIBS" 4822 5045 cat >conftest.$ac_ext <<_ACEOF 4823 5046 /* confdefs.h. */ … … 4858 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4859 5082 (exit $ac_status); }; }; then 4860 ac_cv_lib_ SDL_mixer_main=yes5083 ac_cv_lib_GL_main=yes 4861 5084 else 4862 5085 echo "$as_me: failed program was:" >&5 4863 5086 sed 's/^/| /' conftest.$ac_ext >&5 4864 5087 4865 ac_cv_lib_ SDL_mixer_main=no5088 ac_cv_lib_GL_main=no 4866 5089 fi 4867 5090 rm -f conftest.err conftest.$ac_objext \ … … 4869 5092 LIBS=$ac_check_lib_save_LIBS 4870 5093 fi 4871 echo "$as_me:$LINENO: result: $ac_cv_lib_ SDL_mixer_main" >&54872 echo "${ECHO_T}$ac_cv_lib_ SDL_mixer_main" >&64873 if test $ac_cv_lib_ SDL_mixer_main = yes; then4874 FOUND_ SDL_mixer=yes4875 fi 4876 4877 if test "$FOUND_SDL_mixer" = "yes" ; then4878 LIBS="$LIBS -lSDL_mixer"4879 5094 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 5095 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 5096 if test $ac_cv_lib_GL_main = yes; then 5097 FOUND_GL=yes 5098 fi 5099 5100 if test "$FOUND_GL" = "yes" ; then 5101 LIBS="$LIBS -lGL" 5102 else 4880 5103 echo "------------------" 4881 echo " SDL Mixer librarynot found."4882 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org"5104 echo "opengl not found." 5105 echo "please install the opengl package which can be found at http://www.opengl.org" 4883 5106 echo "------------------" 4884 exit 1 4885 fi 4886 4887 4888 ;; 4889 4890 ### LINUX ### 4891 *Linux*) 4892 echo "Linux detected" 4893 4894 Linux="yes" 4895 4896 # checking gl header 4897 4898 for ac_header in GL/gl.h 5107 exit -1 5108 fi 5109 5110 # cheking for GLU-header 5111 5112 for ac_header in GL/glu.h 4899 5113 do 4900 5114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5050 5264 5051 5265 5052 # checking for Unix GL 5053 echo "$as_me:$LINENO: checking for main in -lGL" >&5 5054 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 5055 if test "${ac_cv_lib_GL_main+set}" = set; then 5266 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 5267 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 5268 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then 5056 5269 echo $ECHO_N "(cached) $ECHO_C" >&6 5057 5270 else 5058 5271 ac_check_lib_save_LIBS=$LIBS 5059 LIBS="-lGL $LIBS"5272 LIBS="-lGLU $LIBS" 5060 5273 cat >conftest.$ac_ext <<_ACEOF 5061 5274 /* confdefs.h. */ … … 5065 5278 /* end confdefs.h. */ 5066 5279 5067 5280 /* Override any gcc2 internal prototype to avoid an error. */ 5281 #ifdef __cplusplus 5282 extern "C" 5283 #endif 5284 /* We use char because int might match the return type of a gcc2 5285 builtin and then its argument prototype would still apply. */ 5286 char gluProject (); 5068 5287 int 5069 5288 main () 5070 5289 { 5071 main();5290 gluProject (); 5072 5291 ; 5073 5292 return 0; … … 5096 5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5097 5316 (exit $ac_status); }; }; then 5098 ac_cv_lib_GL _main=yes5317 ac_cv_lib_GLU_gluProject=yes 5099 5318 else 5100 5319 echo "$as_me: failed program was:" >&5 5101 5320 sed 's/^/| /' conftest.$ac_ext >&5 5102 5321 5103 ac_cv_lib_GL _main=no5322 ac_cv_lib_GLU_gluProject=no 5104 5323 fi 5105 5324 rm -f conftest.err conftest.$ac_objext \ … … 5107 5326 LIBS=$ac_check_lib_save_LIBS 5108 5327 fi 5109 echo "$as_me:$LINENO: result: $ac_cv_lib_GL _main" >&55110 echo "${ECHO_T}$ac_cv_lib_GL _main" >&65111 if test $ac_cv_lib_GL _main= yes; then5112 FOUND_GL =yes5113 fi 5114 5115 if test "$FOUND_GL" = "yes" ; then5116 LIBS="$LIBS -lGL"5117 else5328 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 5329 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 5330 if test $ac_cv_lib_GLU_gluProject = yes; then 5331 FOUND_GLU=yes 5332 fi 5333 5334 if test "$FOUND_GLU" = "yes" ; then 5335 LIBS="$LIBS -lGLU" 5336 else 5118 5337 echo "------------------" 5119 echo " openglnot found."5120 echo "please install the opengl packagewhich can be found at http://www.opengl.org"5338 echo "GLU library not found." 5339 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 5121 5340 echo "------------------" 5122 5341 exit -1 5123 fi5124 5125 # che king for GLU-header5126 5127 for ac_header in GL/glu.h5342 fi 5343 5344 # checking for SDL-headers 5345 5346 for ac_header in SDL/SDL.h 5128 5347 do 5129 5348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5271 5490 5272 5491 else 5273 { { echo "$as_me:$LINENO: error: cannot find openglheaders" >&55274 echo "$as_me: error: cannot find openglheaders" >&2;}5492 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5493 echo "$as_me: error: cannot find SDL headers" >&2;} 5275 5494 { (exit 1); exit 1; }; } 5276 5495 fi … … 5279 5498 5280 5499 5281 echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 5282 echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 5283 if test "${ac_cv_lib_GLU_gluProject+set}" = set; then 5500 # checking for SDL-lib 5501 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 5502 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 5503 if test "${ac_cv_lib_SDL_main+set}" = set; then 5284 5504 echo $ECHO_N "(cached) $ECHO_C" >&6 5285 5505 else 5286 5506 ac_check_lib_save_LIBS=$LIBS 5287 LIBS="-l GLU$LIBS"5507 LIBS="-lSDL $LIBS" 5288 5508 cat >conftest.$ac_ext <<_ACEOF 5289 5509 /* confdefs.h. */ … … 5293 5513 /* end confdefs.h. */ 5294 5514 5295 /* Override any gcc2 internal prototype to avoid an error. */ 5296 #ifdef __cplusplus 5297 extern "C" 5298 #endif 5299 /* We use char because int might match the return type of a gcc2 5300 builtin and then its argument prototype would still apply. */ 5301 char gluProject (); 5515 5302 5516 int 5303 5517 main () 5304 5518 { 5305 gluProject();5519 main (); 5306 5520 ; 5307 5521 return 0; … … 5330 5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 5545 (exit $ac_status); }; }; then 5332 ac_cv_lib_ GLU_gluProject=yes5546 ac_cv_lib_SDL_main=yes 5333 5547 else 5334 5548 echo "$as_me: failed program was:" >&5 5335 5549 sed 's/^/| /' conftest.$ac_ext >&5 5336 5550 5337 ac_cv_lib_ GLU_gluProject=no5551 ac_cv_lib_SDL_main=no 5338 5552 fi 5339 5553 rm -f conftest.err conftest.$ac_objext \ … … 5341 5555 LIBS=$ac_check_lib_save_LIBS 5342 5556 fi 5343 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 5344 echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 5345 if test $ac_cv_lib_GLU_gluProject = yes; then 5346 FOUND_GLU=yes 5347 fi 5348 5349 if test "$FOUND_GLU" = "yes" ; then 5350 LIBS="$LIBS -lGLU" 5351 else 5352 echo "------------------" 5353 echo "GLU library not found." 5354 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" 5355 echo "------------------" 5356 exit -1 5357 fi 5358 5359 # checking for SDL-headers 5360 5361 for ac_header in SDL/SDL.h 5557 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 5558 echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 5559 if test $ac_cv_lib_SDL_main = yes; then 5560 FOUND_SDL=yes 5561 fi 5562 5563 if test "$FOUND_SDL" = "yes" ; then 5564 LIBS="$LIBS -lSDL" 5565 else 5566 echo "------------------" 5567 echo "SDL library not found." 5568 echo "please install the SDL library, which can be found at http://www.libsdl.org" 5569 echo "------------------" 5570 exit -1 5571 fi 5572 5573 5574 ## checking for SDL 5575 # SDL_VERSION=1.2.7 5576 # AM_PATH_SDL($SDL_VERSION, 5577 # :, 5578 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 5579 # ) 5580 # CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 5581 # LIBS="$LIBS $SDL_LIBS" 5582 ;; 5583 5584 ### OS X ### 5585 *darwin*) 5586 echo "OS X detected" 5587 5588 osX="yes" 5589 5590 CPPFLAGS="-I/sw/include $CPPFLAGS" 5591 # checking gl header 5592 5593 for ac_header in OpenGL/gl.h 5362 5594 do 5363 5595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5505 5737 5506 5738 else 5507 { { echo "$as_me:$LINENO: error: cannot find SDLheaders" >&55508 echo "$as_me: error: cannot find SDLheaders" >&2;}5739 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5740 echo "$as_me: error: cannot find opengl headers" >&2;} 5509 5741 { (exit 1); exit 1; }; } 5510 5742 fi … … 5512 5744 done 5513 5745 5514 5515 echo "$as_me:$LINENO: checking for main in -lSDL" >&5 5516 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 5517 if test "${ac_cv_lib_SDL_main+set}" = set; then 5518 echo $ECHO_N "(cached) $ECHO_C" >&6 5519 else 5520 ac_check_lib_save_LIBS=$LIBS 5521 LIBS="-lSDL $LIBS" 5522 cat >conftest.$ac_ext <<_ACEOF 5523 /* confdefs.h. */ 5524 _ACEOF 5525 cat confdefs.h >>conftest.$ac_ext 5526 cat >>conftest.$ac_ext <<_ACEOF 5527 /* end confdefs.h. */ 5528 5529 5530 int 5531 main () 5532 { 5533 main (); 5534 ; 5535 return 0; 5536 } 5537 _ACEOF 5538 rm -f conftest.$ac_objext conftest$ac_exeext 5539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5540 (eval $ac_link) 2>conftest.er1 5541 ac_status=$? 5542 grep -v '^ *+' conftest.er1 >conftest.err 5543 rm -f conftest.er1 5544 cat conftest.err >&5 5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5546 (exit $ac_status); } && 5547 { ac_try='test -z "$ac_c_werror_flag" 5548 || test ! -s conftest.err' 5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5550 (eval $ac_try) 2>&5 5551 ac_status=$? 5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5553 (exit $ac_status); }; } && 5554 { ac_try='test -s conftest$ac_exeext' 5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5556 (eval $ac_try) 2>&5 5557 ac_status=$? 5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5559 (exit $ac_status); }; }; then 5560 ac_cv_lib_SDL_main=yes 5561 else 5562 echo "$as_me: failed program was:" >&5 5563 sed 's/^/| /' conftest.$ac_ext >&5 5564 5565 ac_cv_lib_SDL_main=no 5566 fi 5567 rm -f conftest.err conftest.$ac_objext \ 5568 conftest$ac_exeext conftest.$ac_ext 5569 LIBS=$ac_check_lib_save_LIBS 5570 fi 5571 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 5572 echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 5573 if test $ac_cv_lib_SDL_main = yes; then 5574 FOUND_SDL=yes 5575 fi 5576 5577 if test "$FOUND_SDL" = "yes" ; then 5578 LIBS="$LIBS -lSDL" 5579 else 5580 echo "------------------" 5581 echo "SDL library not found." 5582 echo "please install the SDL library, which can be found at http://www.libsdl.org" 5583 echo "------------------" 5584 exit -1 5585 fi 5586 5587 # checking for SDL-Mixer-headers 5588 5589 for ac_header in SDL/SDL_mixer.h 5746 # cheking for GLU-header 5747 5748 for ac_header in OpenGL/glu.h 5590 5749 do 5591 5750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5733 5892 5734 5893 else 5735 { { echo "$as_me:$LINENO: error: cannot find SDLheaders" >&55736 echo "$as_me: error: cannot find SDLheaders" >&2;}5894 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 5895 echo "$as_me: error: cannot find opengl headers" >&2;} 5737 5896 { (exit 1); exit 1; }; } 5738 5897 fi … … 5741 5900 5742 5901 5743 5744 #checking for libSDL_mixer 5745 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5 5746 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6 5747 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then 5748 echo $ECHO_N "(cached) $ECHO_C" >&6 5749 else 5750 ac_check_lib_save_LIBS=$LIBS 5751 LIBS="-lSDL_mixer $LIBS" 5752 cat >conftest.$ac_ext <<_ACEOF 5753 /* confdefs.h. */ 5754 _ACEOF 5755 cat confdefs.h >>conftest.$ac_ext 5756 cat >>conftest.$ac_ext <<_ACEOF 5757 /* end confdefs.h. */ 5758 5759 5760 int 5761 main () 5762 { 5763 main (); 5764 ; 5765 return 0; 5766 } 5767 _ACEOF 5768 rm -f conftest.$ac_objext conftest$ac_exeext 5769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5770 (eval $ac_link) 2>conftest.er1 5771 ac_status=$? 5772 grep -v '^ *+' conftest.er1 >conftest.err 5773 rm -f conftest.er1 5774 cat conftest.err >&5 5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5776 (exit $ac_status); } && 5777 { ac_try='test -z "$ac_c_werror_flag" 5778 || test ! -s conftest.err' 5779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5780 (eval $ac_try) 2>&5 5781 ac_status=$? 5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5783 (exit $ac_status); }; } && 5784 { ac_try='test -s conftest$ac_exeext' 5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5786 (eval $ac_try) 2>&5 5787 ac_status=$? 5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5789 (exit $ac_status); }; }; then 5790 ac_cv_lib_SDL_mixer_main=yes 5791 else 5792 echo "$as_me: failed program was:" >&5 5793 sed 's/^/| /' conftest.$ac_ext >&5 5794 5795 ac_cv_lib_SDL_mixer_main=no 5796 fi 5797 rm -f conftest.err conftest.$ac_objext \ 5798 conftest$ac_exeext conftest.$ac_ext 5799 LIBS=$ac_check_lib_save_LIBS 5800 fi 5801 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5 5802 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6 5803 if test $ac_cv_lib_SDL_mixer_main = yes; then 5804 FOUND_SDL_mixer=yes 5805 fi 5806 5807 if test "$FOUND_SDL_mixer" = "yes" ; then 5808 LIBS="$LIBS -lSDL_mixer" 5809 else 5810 echo "------------------" 5811 echo "SDL Mixer library not found." 5812 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org" 5813 echo "------------------" 5814 exit 1 5815 fi 5902 LIBS="$LIBS -framework OpenGL" 5903 5904 # checking for SDL-headers 5905 # AC_CHECK_HEADERS(SDL/SDL.h ,, 5906 # [AC_MSG_ERROR([cannot find SDL headers]) ]) 5907 5908 ## checking for SDL 5909 # SDL_VERSION=1.2.7 5910 # AM_PATH_SDL($SDL_VERSION, 5911 # :, 5912 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 5913 # ) 5914 5915 SDL_CFLAGS=`sdl-config --cflags` 5916 SDL_LIBS=`sdl-config --libs` 5917 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 5918 LIBS="$LIBS $SDL_LIBS" 5816 5919 5817 5920 ;; 5921 5818 5922 *) 5819 mingw="no"5820 5923 ;; 5821 5924 esac 5822 echo "$as_me:$LINENO: result: $mingw" >&5 5823 echo "${ECHO_T}$mingw" >&6 5824 5825 5826 #### Checking for LIBraries. 5827 5828 # FIXME: Replace `main' with a function in `-lOSMesa': 5829 5830 echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5 5831 echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6 5832 if test "${ac_cv_lib_OSMesa_main+set}" = set; then 5833 echo $ECHO_N "(cached) $ECHO_C" >&6 5834 else 5835 ac_check_lib_save_LIBS=$LIBS 5836 LIBS="-lOSMesa $LIBS" 5837 cat >conftest.$ac_ext <<_ACEOF 5838 /* confdefs.h. */ 5839 _ACEOF 5840 cat confdefs.h >>conftest.$ac_ext 5841 cat >>conftest.$ac_ext <<_ACEOF 5842 /* end confdefs.h. */ 5843 5844 5845 int 5846 main () 5847 { 5848 main (); 5849 ; 5850 return 0; 5851 } 5852 _ACEOF 5853 rm -f conftest.$ac_objext conftest$ac_exeext 5854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5855 (eval $ac_link) 2>conftest.er1 5856 ac_status=$? 5857 grep -v '^ *+' conftest.er1 >conftest.err 5858 rm -f conftest.er1 5859 cat conftest.err >&5 5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5861 (exit $ac_status); } && 5862 { ac_try='test -z "$ac_c_werror_flag" 5863 || test ! -s conftest.err' 5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5865 (eval $ac_try) 2>&5 5866 ac_status=$? 5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5868 (exit $ac_status); }; } && 5869 { ac_try='test -s conftest$ac_exeext' 5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5871 (eval $ac_try) 2>&5 5872 ac_status=$? 5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5874 (exit $ac_status); }; }; then 5875 ac_cv_lib_OSMesa_main=yes 5876 else 5877 echo "$as_me: failed program was:" >&5 5878 sed 's/^/| /' conftest.$ac_ext >&5 5879 5880 ac_cv_lib_OSMesa_main=no 5881 fi 5882 rm -f conftest.err conftest.$ac_objext \ 5883 conftest$ac_exeext conftest.$ac_ext 5884 LIBS=$ac_check_lib_save_LIBS 5885 fi 5886 echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5 5887 echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6 5888 if test $ac_cv_lib_OSMesa_main = yes; then 5889 cat >>confdefs.h <<_ACEOF 5890 #define HAVE_LIBOSMESA 1 5891 _ACEOF 5892 5893 LIBS="-lOSMesa $LIBS" 5894 5895 fi 5896 5897 # FIXME: Replace `main' with a function in `-lX11': 5898 5899 echo "$as_me:$LINENO: checking for main in -lX11" >&5 5900 echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 5901 if test "${ac_cv_lib_X11_main+set}" = set; then 5902 echo $ECHO_N "(cached) $ECHO_C" >&6 5903 else 5904 ac_check_lib_save_LIBS=$LIBS 5905 LIBS="-lX11 $LIBS" 5906 cat >conftest.$ac_ext <<_ACEOF 5907 /* confdefs.h. */ 5908 _ACEOF 5909 cat confdefs.h >>conftest.$ac_ext 5910 cat >>conftest.$ac_ext <<_ACEOF 5911 /* end confdefs.h. */ 5912 5913 5914 int 5915 main () 5916 { 5917 main (); 5918 ; 5919 return 0; 5920 } 5921 _ACEOF 5922 rm -f conftest.$ac_objext conftest$ac_exeext 5923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5924 (eval $ac_link) 2>conftest.er1 5925 ac_status=$? 5926 grep -v '^ *+' conftest.er1 >conftest.err 5927 rm -f conftest.er1 5928 cat conftest.err >&5 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 (exit $ac_status); } && 5931 { ac_try='test -z "$ac_c_werror_flag" 5932 || test ! -s conftest.err' 5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5934 (eval $ac_try) 2>&5 5935 ac_status=$? 5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5937 (exit $ac_status); }; } && 5938 { ac_try='test -s conftest$ac_exeext' 5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5940 (eval $ac_try) 2>&5 5941 ac_status=$? 5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5943 (exit $ac_status); }; }; then 5944 ac_cv_lib_X11_main=yes 5945 else 5946 echo "$as_me: failed program was:" >&5 5947 sed 's/^/| /' conftest.$ac_ext >&5 5948 5949 ac_cv_lib_X11_main=no 5950 fi 5951 rm -f conftest.err conftest.$ac_objext \ 5952 conftest$ac_exeext conftest.$ac_ext 5953 LIBS=$ac_check_lib_save_LIBS 5954 fi 5955 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 5956 echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 5957 if test $ac_cv_lib_X11_main = yes; then 5958 cat >>confdefs.h <<_ACEOF 5959 #define HAVE_LIBX11 1 5960 _ACEOF 5961 5962 LIBS="-lX11 $LIBS" 5963 5964 fi 5965 5966 # FIXME: Replace `main' with a function in `-lXt': 5967 5968 echo "$as_me:$LINENO: checking for main in -lXt" >&5 5969 echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 5970 if test "${ac_cv_lib_Xt_main+set}" = set; then 5971 echo $ECHO_N "(cached) $ECHO_C" >&6 5972 else 5973 ac_check_lib_save_LIBS=$LIBS 5974 LIBS="-lXt $LIBS" 5975 cat >conftest.$ac_ext <<_ACEOF 5976 /* confdefs.h. */ 5977 _ACEOF 5978 cat confdefs.h >>conftest.$ac_ext 5979 cat >>conftest.$ac_ext <<_ACEOF 5980 /* end confdefs.h. */ 5981 5982 5983 int 5984 main () 5985 { 5986 main (); 5987 ; 5988 return 0; 5989 } 5990 _ACEOF 5991 rm -f conftest.$ac_objext conftest$ac_exeext 5992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5993 (eval $ac_link) 2>conftest.er1 5994 ac_status=$? 5995 grep -v '^ *+' conftest.er1 >conftest.err 5996 rm -f conftest.er1 5997 cat conftest.err >&5 5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5999 (exit $ac_status); } && 6000 { ac_try='test -z "$ac_c_werror_flag" 6001 || test ! -s conftest.err' 6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6003 (eval $ac_try) 2>&5 6004 ac_status=$? 6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6006 (exit $ac_status); }; } && 6007 { ac_try='test -s conftest$ac_exeext' 6008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6009 (eval $ac_try) 2>&5 6010 ac_status=$? 6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6012 (exit $ac_status); }; }; then 6013 ac_cv_lib_Xt_main=yes 6014 else 6015 echo "$as_me: failed program was:" >&5 6016 sed 's/^/| /' conftest.$ac_ext >&5 6017 6018 ac_cv_lib_Xt_main=no 6019 fi 6020 rm -f conftest.err conftest.$ac_objext \ 6021 conftest$ac_exeext conftest.$ac_ext 6022 LIBS=$ac_check_lib_save_LIBS 6023 fi 6024 echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 6025 echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 6026 if test $ac_cv_lib_Xt_main = yes; then 6027 cat >>confdefs.h <<_ACEOF 6028 #define HAVE_LIBXT 1 6029 _ACEOF 6030 6031 LIBS="-lXt $LIBS" 6032 6033 fi 6034 6035 6036 6037 #checking for pthread libs 6038 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 6039 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 6040 if test "${ac_cv_lib_pthread_main+set}" = set; then 6041 echo $ECHO_N "(cached) $ECHO_C" >&6 6042 else 6043 ac_check_lib_save_LIBS=$LIBS 6044 LIBS="-lpthread $LIBS" 6045 cat >conftest.$ac_ext <<_ACEOF 6046 /* confdefs.h. */ 6047 _ACEOF 6048 cat confdefs.h >>conftest.$ac_ext 6049 cat >>conftest.$ac_ext <<_ACEOF 6050 /* end confdefs.h. */ 6051 6052 6053 int 6054 main () 6055 { 6056 main (); 6057 ; 6058 return 0; 6059 } 6060 _ACEOF 6061 rm -f conftest.$ac_objext conftest$ac_exeext 6062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6063 (eval $ac_link) 2>conftest.er1 6064 ac_status=$? 6065 grep -v '^ *+' conftest.er1 >conftest.err 6066 rm -f conftest.er1 6067 cat conftest.err >&5 6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6069 (exit $ac_status); } && 6070 { ac_try='test -z "$ac_c_werror_flag" 6071 || test ! -s conftest.err' 6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6073 (eval $ac_try) 2>&5 6074 ac_status=$? 6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6076 (exit $ac_status); }; } && 6077 { ac_try='test -s conftest$ac_exeext' 6078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6079 (eval $ac_try) 2>&5 6080 ac_status=$? 6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6082 (exit $ac_status); }; }; then 6083 ac_cv_lib_pthread_main=yes 6084 else 6085 echo "$as_me: failed program was:" >&5 6086 sed 's/^/| /' conftest.$ac_ext >&5 6087 6088 ac_cv_lib_pthread_main=no 6089 fi 6090 rm -f conftest.err conftest.$ac_objext \ 6091 conftest$ac_exeext conftest.$ac_ext 6092 LIBS=$ac_check_lib_save_LIBS 6093 fi 6094 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 6095 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 6096 if test $ac_cv_lib_pthread_main = yes; then 6097 FOUND_pthread=yes 6098 fi 6099 6100 if test "$FOUND_pthread" = "yes" ; then 6101 LIBS="$LIBS -lpthread" 6102 fi 6103 6104 6105 6106 6107 # FIXME: Replace `main' with a function in `-lm': 6108 6109 echo "$as_me:$LINENO: checking for main in -lm" >&5 6110 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6111 if test "${ac_cv_lib_m_main+set}" = set; then 6112 echo $ECHO_N "(cached) $ECHO_C" >&6 6113 else 6114 ac_check_lib_save_LIBS=$LIBS 6115 LIBS="-lm $LIBS" 6116 cat >conftest.$ac_ext <<_ACEOF 6117 /* confdefs.h. */ 6118 _ACEOF 6119 cat confdefs.h >>conftest.$ac_ext 6120 cat >>conftest.$ac_ext <<_ACEOF 6121 /* end confdefs.h. */ 6122 6123 6124 int 6125 main () 6126 { 6127 main (); 6128 ; 6129 return 0; 6130 } 6131 _ACEOF 6132 rm -f conftest.$ac_objext conftest$ac_exeext 6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6134 (eval $ac_link) 2>conftest.er1 6135 ac_status=$? 6136 grep -v '^ *+' conftest.er1 >conftest.err 6137 rm -f conftest.er1 6138 cat conftest.err >&5 6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6140 (exit $ac_status); } && 6141 { ac_try='test -z "$ac_c_werror_flag" 6142 || test ! -s conftest.err' 6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6144 (eval $ac_try) 2>&5 6145 ac_status=$? 6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6147 (exit $ac_status); }; } && 6148 { ac_try='test -s conftest$ac_exeext' 6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6150 (eval $ac_try) 2>&5 6151 ac_status=$? 6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6153 (exit $ac_status); }; }; then 6154 ac_cv_lib_m_main=yes 6155 else 6156 echo "$as_me: failed program was:" >&5 6157 sed 's/^/| /' conftest.$ac_ext >&5 6158 6159 ac_cv_lib_m_main=no 6160 fi 6161 rm -f conftest.err conftest.$ac_objext \ 6162 conftest$ac_exeext conftest.$ac_ext 6163 LIBS=$ac_check_lib_save_LIBS 6164 fi 6165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6166 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6167 if test $ac_cv_lib_m_main = yes; then 6168 cat >>confdefs.h <<_ACEOF 6169 #define HAVE_LIBM 1 6170 _ACEOF 6171 6172 LIBS="-lm $LIBS" 6173 6174 fi 6175 6176 6177 LIBS="$LIBS `pkg-config --libs gtk+-2.0`" 6178 6179 6180 # Checks for header files. 6181 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6182 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6183 if test "${ac_cv_header_stdc+set}" = set; then 6184 echo $ECHO_N "(cached) $ECHO_C" >&6 6185 else 6186 cat >conftest.$ac_ext <<_ACEOF 6187 /* confdefs.h. */ 6188 _ACEOF 6189 cat confdefs.h >>conftest.$ac_ext 6190 cat >>conftest.$ac_ext <<_ACEOF 6191 /* end confdefs.h. */ 6192 #include <stdlib.h> 6193 #include <stdarg.h> 6194 #include <string.h> 6195 #include <float.h> 6196 6197 int 6198 main () 6199 { 6200 6201 ; 6202 return 0; 6203 } 6204 _ACEOF 6205 rm -f conftest.$ac_objext 6206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6207 (eval $ac_compile) 2>conftest.er1 6208 ac_status=$? 6209 grep -v '^ *+' conftest.er1 >conftest.err 6210 rm -f conftest.er1 6211 cat conftest.err >&5 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6213 (exit $ac_status); } && 6214 { ac_try='test -z "$ac_c_werror_flag" 6215 || test ! -s conftest.err' 6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6217 (eval $ac_try) 2>&5 6218 ac_status=$? 6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6220 (exit $ac_status); }; } && 6221 { ac_try='test -s conftest.$ac_objext' 6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6223 (eval $ac_try) 2>&5 6224 ac_status=$? 6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6226 (exit $ac_status); }; }; then 6227 ac_cv_header_stdc=yes 6228 else 6229 echo "$as_me: failed program was:" >&5 6230 sed 's/^/| /' conftest.$ac_ext >&5 6231 6232 ac_cv_header_stdc=no 6233 fi 6234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6235 6236 if test $ac_cv_header_stdc = yes; then 6237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6238 cat >conftest.$ac_ext <<_ACEOF 6239 /* confdefs.h. */ 6240 _ACEOF 6241 cat confdefs.h >>conftest.$ac_ext 6242 cat >>conftest.$ac_ext <<_ACEOF 6243 /* end confdefs.h. */ 6244 #include <string.h> 6245 6246 _ACEOF 6247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6248 $EGREP "memchr" >/dev/null 2>&1; then 6249 : 6250 else 6251 ac_cv_header_stdc=no 6252 fi 6253 rm -f conftest* 6254 6255 fi 6256 6257 if test $ac_cv_header_stdc = yes; then 6258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6259 cat >conftest.$ac_ext <<_ACEOF 6260 /* confdefs.h. */ 6261 _ACEOF 6262 cat confdefs.h >>conftest.$ac_ext 6263 cat >>conftest.$ac_ext <<_ACEOF 6264 /* end confdefs.h. */ 6265 #include <stdlib.h> 6266 6267 _ACEOF 6268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6269 $EGREP "free" >/dev/null 2>&1; then 6270 : 6271 else 6272 ac_cv_header_stdc=no 6273 fi 6274 rm -f conftest* 6275 6276 fi 6277 6278 if test $ac_cv_header_stdc = yes; then 6279 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6280 if test "$cross_compiling" = yes; then 6281 : 6282 else 6283 cat >conftest.$ac_ext <<_ACEOF 6284 /* confdefs.h. */ 6285 _ACEOF 6286 cat confdefs.h >>conftest.$ac_ext 6287 cat >>conftest.$ac_ext <<_ACEOF 6288 /* end confdefs.h. */ 6289 #include <ctype.h> 6290 #if ((' ' & 0x0FF) == 0x020) 6291 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6292 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6293 #else 6294 # define ISLOWER(c) \ 6295 (('a' <= (c) && (c) <= 'i') \ 6296 || ('j' <= (c) && (c) <= 'r') \ 6297 || ('s' <= (c) && (c) <= 'z')) 6298 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6299 #endif 6300 6301 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6302 int 6303 main () 6304 { 6305 int i; 6306 for (i = 0; i < 256; i++) 6307 if (XOR (islower (i), ISLOWER (i)) 6308 || toupper (i) != TOUPPER (i)) 6309 exit(2); 6310 exit (0); 6311 } 6312 _ACEOF 6313 rm -f conftest$ac_exeext 6314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6315 (eval $ac_link) 2>&5 6316 ac_status=$? 6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6320 (eval $ac_try) 2>&5 6321 ac_status=$? 6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6323 (exit $ac_status); }; }; then 6324 : 6325 else 6326 echo "$as_me: program exited with status $ac_status" >&5 6327 echo "$as_me: failed program was:" >&5 6328 sed 's/^/| /' conftest.$ac_ext >&5 6329 6330 ( exit $ac_status ) 6331 ac_cv_header_stdc=no 6332 fi 6333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6334 fi 6335 fi 6336 fi 6337 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6338 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6339 if test $ac_cv_header_stdc = yes; then 6340 6341 cat >>confdefs.h <<\_ACEOF 6342 #define STDC_HEADERS 1 6343 _ACEOF 6344 6345 fi 6346 6347 6348 6349 for ac_header in stdlib.h string.h 5925 5926 5927 5928 5929 ## check for SDL_mixer 5930 # checking for SDL-Mixer-headers 5931 5932 for ac_header in SDL/SDL_mixer.h 6350 5933 do 6351 5934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 6492 6075 _ACEOF 6493 6076 6077 else 6078 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 6079 echo "$as_me: error: cannot find SDL headers" >&2;} 6080 { (exit 1); exit 1; }; } 6494 6081 fi 6495 6082 … … 6497 6084 6498 6085 6499 # Checks for typedefs, structures, and compiler characteristics. 6500 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 6501 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 6502 if test "${ac_cv_header_stdbool_h+set}" = set; then 6086 6087 #checking for libSDL_mixer 6088 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5 6089 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6 6090 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then 6503 6091 echo $ECHO_N "(cached) $ECHO_C" >&6 6504 6092 else 6505 cat >conftest.$ac_ext <<_ACEOF 6093 ac_check_lib_save_LIBS=$LIBS 6094 LIBS="-lSDL_mixer $LIBS" 6095 cat >conftest.$ac_ext <<_ACEOF 6506 6096 /* confdefs.h. */ 6507 6097 _ACEOF … … 6510 6100 /* end confdefs.h. */ 6511 6101 6512 #include <stdbool.h>6513 #ifndef bool6514 # error bool is not defined6515 #endif6516 #ifndef false6517 # error false is not defined6518 #endif6519 #if false6520 # error false is not 06521 #endif6522 #ifndef true6523 # error true is not defined6524 #endif6525 #if true != 16526 # error true is not 16527 #endif6528 #ifndef __bool_true_false_are_defined6529 # error __bool_true_false_are_defined is not defined6530 #endif6531 6532 struct s { _Bool s: 1; _Bool t; } s;6533 6534 char a[true == 1 ? 1 : -1];6535 char b[false == 0 ? 1 : -1];6536 char c[__bool_true_false_are_defined == 1 ? 1 : -1];6537 char d[(bool) -0.5 == true ? 1 : -1];6538 bool e = &s;6539 char f[(_Bool) -0.0 == false ? 1 : -1];6540 char g[true];6541 char h[sizeof (_Bool)];6542 char i[sizeof s.t];6543 6102 6544 6103 int 6545 6104 main () 6546 6105 { 6547 return !a + !b + !c + !d + !e + !f + !g + !h + !i;6106 main (); 6548 6107 ; 6549 6108 return 0; 6550 6109 } 6551 6110 _ACEOF 6552 rm -f conftest.$ac_objext 6553 if { (eval echo "$as_me:$LINENO: \"$ac_ compile\"") >&56554 (eval $ac_ compile) 2>conftest.er16111 rm -f conftest.$ac_objext conftest$ac_exeext 6112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6113 (eval $ac_link) 2>conftest.er1 6555 6114 ac_status=$? 6556 6115 grep -v '^ *+' conftest.er1 >conftest.err … … 6566 6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6567 6126 (exit $ac_status); }; } && 6568 { ac_try='test -s conftest .$ac_objext'6127 { ac_try='test -s conftest$ac_exeext' 6569 6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6570 6129 (eval $ac_try) 2>&5 … … 6572 6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6573 6132 (exit $ac_status); }; }; then 6574 ac_cv_ header_stdbool_h=yes6133 ac_cv_lib_SDL_mixer_main=yes 6575 6134 else 6576 6135 echo "$as_me: failed program was:" >&5 6577 6136 sed 's/^/| /' conftest.$ac_ext >&5 6578 6137 6579 ac_cv_header_stdbool_h=no 6580 fi 6581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6582 fi 6583 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 6584 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 6585 echo "$as_me:$LINENO: checking for _Bool" >&5 6586 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 6587 if test "${ac_cv_type__Bool+set}" = set; then 6588 echo $ECHO_N "(cached) $ECHO_C" >&6 6589 else 6590 cat >conftest.$ac_ext <<_ACEOF 6591 /* confdefs.h. */ 6592 _ACEOF 6593 cat confdefs.h >>conftest.$ac_ext 6594 cat >>conftest.$ac_ext <<_ACEOF 6595 /* end confdefs.h. */ 6596 $ac_includes_default 6597 int 6598 main () 6599 { 6600 if ((_Bool *) 0) 6601 return 0; 6602 if (sizeof (_Bool)) 6603 return 0; 6604 ; 6605 return 0; 6606 } 6607 _ACEOF 6608 rm -f conftest.$ac_objext 6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6610 (eval $ac_compile) 2>conftest.er1 6611 ac_status=$? 6612 grep -v '^ *+' conftest.er1 >conftest.err 6613 rm -f conftest.er1 6614 cat conftest.err >&5 6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6616 (exit $ac_status); } && 6617 { ac_try='test -z "$ac_c_werror_flag" 6618 || test ! -s conftest.err' 6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6620 (eval $ac_try) 2>&5 6621 ac_status=$? 6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6623 (exit $ac_status); }; } && 6624 { ac_try='test -s conftest.$ac_objext' 6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6626 (eval $ac_try) 2>&5 6627 ac_status=$? 6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 (exit $ac_status); }; }; then 6630 ac_cv_type__Bool=yes 6631 else 6632 echo "$as_me: failed program was:" >&5 6633 sed 's/^/| /' conftest.$ac_ext >&5 6634 6635 ac_cv_type__Bool=no 6636 fi 6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6638 fi 6639 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 6640 echo "${ECHO_T}$ac_cv_type__Bool" >&6 6641 if test $ac_cv_type__Bool = yes; then 6642 6643 cat >>confdefs.h <<_ACEOF 6644 #define HAVE__BOOL 1 6645 _ACEOF 6646 6647 6648 fi 6649 6650 if test $ac_cv_header_stdbool_h = yes; then 6651 6652 cat >>confdefs.h <<\_ACEOF 6653 #define HAVE_STDBOOL_H 1 6654 _ACEOF 6655 6656 fi 6657 6658 6659 # Checks for library functions. 6660 6661 for ac_header in stdlib.h 6138 ac_cv_lib_SDL_mixer_main=no 6139 fi 6140 rm -f conftest.err conftest.$ac_objext \ 6141 conftest$ac_exeext conftest.$ac_ext 6142 LIBS=$ac_check_lib_save_LIBS 6143 fi 6144 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5 6145 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6 6146 if test $ac_cv_lib_SDL_mixer_main = yes; then 6147 FOUND_SDL_mixer=yes 6148 fi 6149 6150 if test "$FOUND_SDL_mixer" = "yes" ; then 6151 LIBS="$LIBS -lSDL_mixer" 6152 else 6153 echo "------------------" 6154 echo "SDL Mixer library not found." 6155 echo "please install the SDL Mixer library, which can be found at http://www.libsdl.org" 6156 echo "------------------" 6157 exit 1 6158 fi 6159 6160 6161 ## check for SDL_Image 6162 if test "$def_sdl_image" = "yes"; then 6163 # checking for SDL_image-headers 6164 6165 for ac_header in SDL/SDL_image.h 6662 6166 do 6663 6167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 6804 6308 _ACEOF 6805 6309 6310 else 6311 echo "sdl_image not found. falling back to other options"; def_sdl_image=no 6312 fi 6313 6314 done 6315 6316 fi 6317 if test "$def_sdl_image" = "yes"; then 6318 # checking for SDL_image-lib 6319 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 6320 echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 6321 if test "${ac_cv_lib_SDL_image_main+set}" = set; then 6322 echo $ECHO_N "(cached) $ECHO_C" >&6 6323 else 6324 ac_check_lib_save_LIBS=$LIBS 6325 LIBS="-lSDL_image $LIBS" 6326 cat >conftest.$ac_ext <<_ACEOF 6327 /* confdefs.h. */ 6328 _ACEOF 6329 cat confdefs.h >>conftest.$ac_ext 6330 cat >>conftest.$ac_ext <<_ACEOF 6331 /* end confdefs.h. */ 6332 6333 6334 int 6335 main () 6336 { 6337 main (); 6338 ; 6339 return 0; 6340 } 6341 _ACEOF 6342 rm -f conftest.$ac_objext conftest$ac_exeext 6343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6344 (eval $ac_link) 2>conftest.er1 6345 ac_status=$? 6346 grep -v '^ *+' conftest.er1 >conftest.err 6347 rm -f conftest.er1 6348 cat conftest.err >&5 6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); } && 6351 { ac_try='test -z "$ac_c_werror_flag" 6352 || test ! -s conftest.err' 6353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6354 (eval $ac_try) 2>&5 6355 ac_status=$? 6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6357 (exit $ac_status); }; } && 6358 { ac_try='test -s conftest$ac_exeext' 6359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6360 (eval $ac_try) 2>&5 6361 ac_status=$? 6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6363 (exit $ac_status); }; }; then 6364 ac_cv_lib_SDL_image_main=yes 6365 else 6366 echo "$as_me: failed program was:" >&5 6367 sed 's/^/| /' conftest.$ac_ext >&5 6368 6369 ac_cv_lib_SDL_image_main=no 6370 fi 6371 rm -f conftest.err conftest.$ac_objext \ 6372 conftest$ac_exeext conftest.$ac_ext 6373 LIBS=$ac_check_lib_save_LIBS 6374 fi 6375 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 6376 echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 6377 if test $ac_cv_lib_SDL_image_main = yes; then 6378 FOUND_SDL_image=yes 6379 fi 6380 6381 if test "$FOUND_SDL_image" = "yes" ; then 6382 LIBS="$LIBS -lSDL_image" 6383 else 6384 echo "------------------" 6385 echo "SDL_image library not found." 6386 echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" 6387 echo "------------------" 6388 exit -1 6389 fi 6390 fi 6391 6392 6393 if test "$def_sdl_image" = "no"; then 6394 ## checking for libjpeg 6395 6396 for ac_header in jpeglib.h 6397 do 6398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6399 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6400 echo "$as_me:$LINENO: checking for $ac_header" >&5 6401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6402 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6403 echo $ECHO_N "(cached) $ECHO_C" >&6 6404 fi 6405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6407 else 6408 # Is the header compilable? 6409 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6411 cat >conftest.$ac_ext <<_ACEOF 6412 /* confdefs.h. */ 6413 _ACEOF 6414 cat confdefs.h >>conftest.$ac_ext 6415 cat >>conftest.$ac_ext <<_ACEOF 6416 /* end confdefs.h. */ 6417 $ac_includes_default 6418 #include <$ac_header> 6419 _ACEOF 6420 rm -f conftest.$ac_objext 6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6422 (eval $ac_compile) 2>conftest.er1 6423 ac_status=$? 6424 grep -v '^ *+' conftest.er1 >conftest.err 6425 rm -f conftest.er1 6426 cat conftest.err >&5 6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6428 (exit $ac_status); } && 6429 { ac_try='test -z "$ac_c_werror_flag" 6430 || test ! -s conftest.err' 6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6432 (eval $ac_try) 2>&5 6433 ac_status=$? 6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6435 (exit $ac_status); }; } && 6436 { ac_try='test -s conftest.$ac_objext' 6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6438 (eval $ac_try) 2>&5 6439 ac_status=$? 6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6441 (exit $ac_status); }; }; then 6442 ac_header_compiler=yes 6443 else 6444 echo "$as_me: failed program was:" >&5 6445 sed 's/^/| /' conftest.$ac_ext >&5 6446 6447 ac_header_compiler=no 6448 fi 6449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6451 echo "${ECHO_T}$ac_header_compiler" >&6 6452 6453 # Is the header present? 6454 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6456 cat >conftest.$ac_ext <<_ACEOF 6457 /* confdefs.h. */ 6458 _ACEOF 6459 cat confdefs.h >>conftest.$ac_ext 6460 cat >>conftest.$ac_ext <<_ACEOF 6461 /* end confdefs.h. */ 6462 #include <$ac_header> 6463 _ACEOF 6464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6466 ac_status=$? 6467 grep -v '^ *+' conftest.er1 >conftest.err 6468 rm -f conftest.er1 6469 cat conftest.err >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6471 (exit $ac_status); } >/dev/null; then 6472 if test -s conftest.err; then 6473 ac_cpp_err=$ac_c_preproc_warn_flag 6474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6475 else 6476 ac_cpp_err= 6477 fi 6478 else 6479 ac_cpp_err=yes 6480 fi 6481 if test -z "$ac_cpp_err"; then 6482 ac_header_preproc=yes 6483 else 6484 echo "$as_me: failed program was:" >&5 6485 sed 's/^/| /' conftest.$ac_ext >&5 6486 6487 ac_header_preproc=no 6488 fi 6489 rm -f conftest.err conftest.$ac_ext 6490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6491 echo "${ECHO_T}$ac_header_preproc" >&6 6492 6493 # So? What about this header? 6494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6495 yes:no: ) 6496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6500 ac_header_preproc=yes 6501 ;; 6502 no:yes:* ) 6503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6515 ( 6516 cat <<\_ASBOX 6517 ## ------------------------------------------- ## 6518 ## Report this to orxonox-dev@mail.datacore.ch ## 6519 ## ------------------------------------------- ## 6520 _ASBOX 6521 ) | 6522 sed "s/^/$as_me: WARNING: /" >&2 6523 ;; 6524 esac 6525 echo "$as_me:$LINENO: checking for $ac_header" >&5 6526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6527 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6528 echo $ECHO_N "(cached) $ECHO_C" >&6 6529 else 6530 eval "$as_ac_Header=\$ac_header_preproc" 6531 fi 6532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6534 6535 fi 6536 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6537 cat >>confdefs.h <<_ACEOF 6538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6539 _ACEOF 6540 jpegHeader="yes" 6541 else 6542 jpegHeader="no" 6543 fi 6544 6545 done 6546 6547 if test $jpegHeader = "no"; then 6548 echo " not including jpeg." 6549 else 6550 echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 6551 echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6 6552 if test "${ac_cv_lib_jpeg_main+set}" = set; then 6553 echo $ECHO_N "(cached) $ECHO_C" >&6 6554 else 6555 ac_check_lib_save_LIBS=$LIBS 6556 LIBS="-ljpeg $LIBS" 6557 cat >conftest.$ac_ext <<_ACEOF 6558 /* confdefs.h. */ 6559 _ACEOF 6560 cat confdefs.h >>conftest.$ac_ext 6561 cat >>conftest.$ac_ext <<_ACEOF 6562 /* end confdefs.h. */ 6563 6564 6565 int 6566 main () 6567 { 6568 main (); 6569 ; 6570 return 0; 6571 } 6572 _ACEOF 6573 rm -f conftest.$ac_objext conftest$ac_exeext 6574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6575 (eval $ac_link) 2>conftest.er1 6576 ac_status=$? 6577 grep -v '^ *+' conftest.er1 >conftest.err 6578 rm -f conftest.er1 6579 cat conftest.err >&5 6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6581 (exit $ac_status); } && 6582 { ac_try='test -z "$ac_c_werror_flag" 6583 || test ! -s conftest.err' 6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6585 (eval $ac_try) 2>&5 6586 ac_status=$? 6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6588 (exit $ac_status); }; } && 6589 { ac_try='test -s conftest$ac_exeext' 6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6591 (eval $ac_try) 2>&5 6592 ac_status=$? 6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6594 (exit $ac_status); }; }; then 6595 ac_cv_lib_jpeg_main=yes 6596 else 6597 echo "$as_me: failed program was:" >&5 6598 sed 's/^/| /' conftest.$ac_ext >&5 6599 6600 ac_cv_lib_jpeg_main=no 6601 fi 6602 rm -f conftest.err conftest.$ac_objext \ 6603 conftest$ac_exeext conftest.$ac_ext 6604 LIBS=$ac_check_lib_save_LIBS 6605 fi 6606 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5 6607 echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6 6608 if test $ac_cv_lib_jpeg_main = yes; then 6609 FOUND_jpeg=yes 6610 fi 6611 6612 if test "$FOUND_jpeg" = "yes" ; then 6613 LIBS="$LIBS -ljpeg" 6614 else 6615 echo "------------------" 6616 echo "jpeg library not found." 6617 echo "please install the jpeg library from the Independent JPEG Group, which can be found at http://www.ijg.org" 6618 echo "------------------" 6619 exit -1 6620 fi 6621 fi 6622 6623 ## checking for libpng 6624 6625 for ac_header in png.h 6626 do 6627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6628 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6629 echo "$as_me:$LINENO: checking for $ac_header" >&5 6630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6631 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6632 echo $ECHO_N "(cached) $ECHO_C" >&6 6633 fi 6634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6636 else 6637 # Is the header compilable? 6638 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6640 cat >conftest.$ac_ext <<_ACEOF 6641 /* confdefs.h. */ 6642 _ACEOF 6643 cat confdefs.h >>conftest.$ac_ext 6644 cat >>conftest.$ac_ext <<_ACEOF 6645 /* end confdefs.h. */ 6646 $ac_includes_default 6647 #include <$ac_header> 6648 _ACEOF 6649 rm -f conftest.$ac_objext 6650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6651 (eval $ac_compile) 2>conftest.er1 6652 ac_status=$? 6653 grep -v '^ *+' conftest.er1 >conftest.err 6654 rm -f conftest.er1 6655 cat conftest.err >&5 6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6657 (exit $ac_status); } && 6658 { ac_try='test -z "$ac_c_werror_flag" 6659 || test ! -s conftest.err' 6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6661 (eval $ac_try) 2>&5 6662 ac_status=$? 6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6664 (exit $ac_status); }; } && 6665 { ac_try='test -s conftest.$ac_objext' 6666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6667 (eval $ac_try) 2>&5 6668 ac_status=$? 6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6670 (exit $ac_status); }; }; then 6671 ac_header_compiler=yes 6672 else 6673 echo "$as_me: failed program was:" >&5 6674 sed 's/^/| /' conftest.$ac_ext >&5 6675 6676 ac_header_compiler=no 6677 fi 6678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6680 echo "${ECHO_T}$ac_header_compiler" >&6 6681 6682 # Is the header present? 6683 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6685 cat >conftest.$ac_ext <<_ACEOF 6686 /* confdefs.h. */ 6687 _ACEOF 6688 cat confdefs.h >>conftest.$ac_ext 6689 cat >>conftest.$ac_ext <<_ACEOF 6690 /* end confdefs.h. */ 6691 #include <$ac_header> 6692 _ACEOF 6693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6695 ac_status=$? 6696 grep -v '^ *+' conftest.er1 >conftest.err 6697 rm -f conftest.er1 6698 cat conftest.err >&5 6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6700 (exit $ac_status); } >/dev/null; then 6701 if test -s conftest.err; then 6702 ac_cpp_err=$ac_c_preproc_warn_flag 6703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6704 else 6705 ac_cpp_err= 6706 fi 6707 else 6708 ac_cpp_err=yes 6709 fi 6710 if test -z "$ac_cpp_err"; then 6711 ac_header_preproc=yes 6712 else 6713 echo "$as_me: failed program was:" >&5 6714 sed 's/^/| /' conftest.$ac_ext >&5 6715 6716 ac_header_preproc=no 6717 fi 6718 rm -f conftest.err conftest.$ac_ext 6719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6720 echo "${ECHO_T}$ac_header_preproc" >&6 6721 6722 # So? What about this header? 6723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6724 yes:no: ) 6725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6729 ac_header_preproc=yes 6730 ;; 6731 no:yes:* ) 6732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6744 ( 6745 cat <<\_ASBOX 6746 ## ------------------------------------------- ## 6747 ## Report this to orxonox-dev@mail.datacore.ch ## 6748 ## ------------------------------------------- ## 6749 _ASBOX 6750 ) | 6751 sed "s/^/$as_me: WARNING: /" >&2 6752 ;; 6753 esac 6754 echo "$as_me:$LINENO: checking for $ac_header" >&5 6755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6756 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6757 echo $ECHO_N "(cached) $ECHO_C" >&6 6758 else 6759 eval "$as_ac_Header=\$ac_header_preproc" 6760 fi 6761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6763 6764 fi 6765 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6766 cat >>confdefs.h <<_ACEOF 6767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6768 _ACEOF 6769 pngHeader="yes" 6770 else 6771 pngHeader="no" 6772 fi 6773 6774 done 6775 6776 if test $pngHeader = "no"; then 6777 echo " not including png." 6778 else 6779 echo "$as_me:$LINENO: checking for main in -lpng" >&5 6780 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 6781 if test "${ac_cv_lib_png_main+set}" = set; then 6782 echo $ECHO_N "(cached) $ECHO_C" >&6 6783 else 6784 ac_check_lib_save_LIBS=$LIBS 6785 LIBS="-lpng $LIBS" 6786 cat >conftest.$ac_ext <<_ACEOF 6787 /* confdefs.h. */ 6788 _ACEOF 6789 cat confdefs.h >>conftest.$ac_ext 6790 cat >>conftest.$ac_ext <<_ACEOF 6791 /* end confdefs.h. */ 6792 6793 6794 int 6795 main () 6796 { 6797 main (); 6798 ; 6799 return 0; 6800 } 6801 _ACEOF 6802 rm -f conftest.$ac_objext conftest$ac_exeext 6803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6804 (eval $ac_link) 2>conftest.er1 6805 ac_status=$? 6806 grep -v '^ *+' conftest.er1 >conftest.err 6807 rm -f conftest.er1 6808 cat conftest.err >&5 6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6810 (exit $ac_status); } && 6811 { ac_try='test -z "$ac_c_werror_flag" 6812 || test ! -s conftest.err' 6813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6814 (eval $ac_try) 2>&5 6815 ac_status=$? 6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6817 (exit $ac_status); }; } && 6818 { ac_try='test -s conftest$ac_exeext' 6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6820 (eval $ac_try) 2>&5 6821 ac_status=$? 6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6823 (exit $ac_status); }; }; then 6824 ac_cv_lib_png_main=yes 6825 else 6826 echo "$as_me: failed program was:" >&5 6827 sed 's/^/| /' conftest.$ac_ext >&5 6828 6829 ac_cv_lib_png_main=no 6830 fi 6831 rm -f conftest.err conftest.$ac_objext \ 6832 conftest$ac_exeext conftest.$ac_ext 6833 LIBS=$ac_check_lib_save_LIBS 6834 fi 6835 echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 6836 echo "${ECHO_T}$ac_cv_lib_png_main" >&6 6837 if test $ac_cv_lib_png_main = yes; then 6838 FOUND_png=yes 6839 fi 6840 6841 if test "$FOUND_png" = "yes" ; then 6842 LIBS="$LIBS -lpng" 6843 else 6844 echo "------------------" 6845 echo "png library not found." 6846 echo "please install the png library, which can be found at http://libpng.org/pub/png/libpng.html" 6847 echo "------------------" 6848 exit -1 6849 fi 6850 fi 6851 fi 6852 6853 ## checking for GTK 6854 if test "$def_gtk" = yes; then 6855 6856 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 6857 echo "$as_me:$LINENO: checking for gtk2.0" >&5 6858 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 6859 if `pkg-config --exists gtk+-2.0`; then 6860 echo "yes" 6861 have_gtk2=yes 6862 GTK2_LIBS=`pkg-config --libs gtk+-2.0` 6863 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` 6864 6865 cat >>confdefs.h <<_ACEOF 6866 #define HAVE_GTK2 1 6867 _ACEOF 6868 6869 else 6870 echo "no" 6871 fi 6872 6873 fi 6874 6875 6876 6877 6878 if test x$have_gtk2 = xyes; then 6879 HAVE_GTK2_TRUE= 6880 HAVE_GTK2_FALSE='#' 6881 else 6882 HAVE_GTK2_TRUE='#' 6883 HAVE_GTK2_FALSE= 6884 fi 6885 6886 6887 6888 6889 #checking for pthread libs 6890 # AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) 6891 # if test "$FOUND_pthread" = "yes" ; then 6892 # LIBS="$LIBS -lpthread" 6893 # fi 6894 6895 6896 # FIXME: Replace `main' with a function in `-lm': 6897 6898 echo "$as_me:$LINENO: checking for main in -lm" >&5 6899 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6900 if test "${ac_cv_lib_m_main+set}" = set; then 6901 echo $ECHO_N "(cached) $ECHO_C" >&6 6902 else 6903 ac_check_lib_save_LIBS=$LIBS 6904 LIBS="-lm $LIBS" 6905 cat >conftest.$ac_ext <<_ACEOF 6906 /* confdefs.h. */ 6907 _ACEOF 6908 cat confdefs.h >>conftest.$ac_ext 6909 cat >>conftest.$ac_ext <<_ACEOF 6910 /* end confdefs.h. */ 6911 6912 6913 int 6914 main () 6915 { 6916 main (); 6917 ; 6918 return 0; 6919 } 6920 _ACEOF 6921 rm -f conftest.$ac_objext conftest$ac_exeext 6922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6923 (eval $ac_link) 2>conftest.er1 6924 ac_status=$? 6925 grep -v '^ *+' conftest.er1 >conftest.err 6926 rm -f conftest.er1 6927 cat conftest.err >&5 6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6929 (exit $ac_status); } && 6930 { ac_try='test -z "$ac_c_werror_flag" 6931 || test ! -s conftest.err' 6932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6933 (eval $ac_try) 2>&5 6934 ac_status=$? 6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6936 (exit $ac_status); }; } && 6937 { ac_try='test -s conftest$ac_exeext' 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); }; }; then 6943 ac_cv_lib_m_main=yes 6944 else 6945 echo "$as_me: failed program was:" >&5 6946 sed 's/^/| /' conftest.$ac_ext >&5 6947 6948 ac_cv_lib_m_main=no 6949 fi 6950 rm -f conftest.err conftest.$ac_objext \ 6951 conftest$ac_exeext conftest.$ac_ext 6952 LIBS=$ac_check_lib_save_LIBS 6953 fi 6954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6955 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6956 if test $ac_cv_lib_m_main = yes; then 6957 cat >>confdefs.h <<_ACEOF 6958 #define HAVE_LIBM 1 6959 _ACEOF 6960 6961 LIBS="-lm $LIBS" 6962 6963 fi 6964 6965 6966 6967 # Checks for header files. 6968 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6970 if test "${ac_cv_header_stdc+set}" = set; then 6971 echo $ECHO_N "(cached) $ECHO_C" >&6 6972 else 6973 cat >conftest.$ac_ext <<_ACEOF 6974 /* confdefs.h. */ 6975 _ACEOF 6976 cat confdefs.h >>conftest.$ac_ext 6977 cat >>conftest.$ac_ext <<_ACEOF 6978 /* end confdefs.h. */ 6979 #include <stdlib.h> 6980 #include <stdarg.h> 6981 #include <string.h> 6982 #include <float.h> 6983 6984 int 6985 main () 6986 { 6987 6988 ; 6989 return 0; 6990 } 6991 _ACEOF 6992 rm -f conftest.$ac_objext 6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6994 (eval $ac_compile) 2>conftest.er1 6995 ac_status=$? 6996 grep -v '^ *+' conftest.er1 >conftest.err 6997 rm -f conftest.er1 6998 cat conftest.err >&5 6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7000 (exit $ac_status); } && 7001 { ac_try='test -z "$ac_c_werror_flag" 7002 || test ! -s conftest.err' 7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7004 (eval $ac_try) 2>&5 7005 ac_status=$? 7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7007 (exit $ac_status); }; } && 7008 { ac_try='test -s conftest.$ac_objext' 7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7010 (eval $ac_try) 2>&5 7011 ac_status=$? 7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7013 (exit $ac_status); }; }; then 7014 ac_cv_header_stdc=yes 7015 else 7016 echo "$as_me: failed program was:" >&5 7017 sed 's/^/| /' conftest.$ac_ext >&5 7018 7019 ac_cv_header_stdc=no 7020 fi 7021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7022 7023 if test $ac_cv_header_stdc = yes; then 7024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7025 cat >conftest.$ac_ext <<_ACEOF 7026 /* confdefs.h. */ 7027 _ACEOF 7028 cat confdefs.h >>conftest.$ac_ext 7029 cat >>conftest.$ac_ext <<_ACEOF 7030 /* end confdefs.h. */ 7031 #include <string.h> 7032 7033 _ACEOF 7034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7035 $EGREP "memchr" >/dev/null 2>&1; then 7036 : 7037 else 7038 ac_cv_header_stdc=no 7039 fi 7040 rm -f conftest* 7041 7042 fi 7043 7044 if test $ac_cv_header_stdc = yes; then 7045 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7046 cat >conftest.$ac_ext <<_ACEOF 7047 /* confdefs.h. */ 7048 _ACEOF 7049 cat confdefs.h >>conftest.$ac_ext 7050 cat >>conftest.$ac_ext <<_ACEOF 7051 /* end confdefs.h. */ 7052 #include <stdlib.h> 7053 7054 _ACEOF 7055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7056 $EGREP "free" >/dev/null 2>&1; then 7057 : 7058 else 7059 ac_cv_header_stdc=no 7060 fi 7061 rm -f conftest* 7062 7063 fi 7064 7065 if test $ac_cv_header_stdc = yes; then 7066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7067 if test "$cross_compiling" = yes; then 7068 : 7069 else 7070 cat >conftest.$ac_ext <<_ACEOF 7071 /* confdefs.h. */ 7072 _ACEOF 7073 cat confdefs.h >>conftest.$ac_ext 7074 cat >>conftest.$ac_ext <<_ACEOF 7075 /* end confdefs.h. */ 7076 #include <ctype.h> 7077 #if ((' ' & 0x0FF) == 0x020) 7078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7080 #else 7081 # define ISLOWER(c) \ 7082 (('a' <= (c) && (c) <= 'i') \ 7083 || ('j' <= (c) && (c) <= 'r') \ 7084 || ('s' <= (c) && (c) <= 'z')) 7085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7086 #endif 7087 7088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7089 int 7090 main () 7091 { 7092 int i; 7093 for (i = 0; i < 256; i++) 7094 if (XOR (islower (i), ISLOWER (i)) 7095 || toupper (i) != TOUPPER (i)) 7096 exit(2); 7097 exit (0); 7098 } 7099 _ACEOF 7100 rm -f conftest$ac_exeext 7101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7102 (eval $ac_link) 2>&5 7103 ac_status=$? 7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7107 (eval $ac_try) 2>&5 7108 ac_status=$? 7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7110 (exit $ac_status); }; }; then 7111 : 7112 else 7113 echo "$as_me: program exited with status $ac_status" >&5 7114 echo "$as_me: failed program was:" >&5 7115 sed 's/^/| /' conftest.$ac_ext >&5 7116 7117 ( exit $ac_status ) 7118 ac_cv_header_stdc=no 7119 fi 7120 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7121 fi 7122 fi 7123 fi 7124 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7125 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7126 if test $ac_cv_header_stdc = yes; then 7127 7128 cat >>confdefs.h <<\_ACEOF 7129 #define STDC_HEADERS 1 7130 _ACEOF 7131 7132 fi 7133 7134 7135 7136 for ac_header in stdlib.h string.h 7137 do 7138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7139 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7140 echo "$as_me:$LINENO: checking for $ac_header" >&5 7141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7142 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7143 echo $ECHO_N "(cached) $ECHO_C" >&6 7144 fi 7145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7147 else 7148 # Is the header compilable? 7149 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7151 cat >conftest.$ac_ext <<_ACEOF 7152 /* confdefs.h. */ 7153 _ACEOF 7154 cat confdefs.h >>conftest.$ac_ext 7155 cat >>conftest.$ac_ext <<_ACEOF 7156 /* end confdefs.h. */ 7157 $ac_includes_default 7158 #include <$ac_header> 7159 _ACEOF 7160 rm -f conftest.$ac_objext 7161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7162 (eval $ac_compile) 2>conftest.er1 7163 ac_status=$? 7164 grep -v '^ *+' conftest.er1 >conftest.err 7165 rm -f conftest.er1 7166 cat conftest.err >&5 7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7168 (exit $ac_status); } && 7169 { ac_try='test -z "$ac_c_werror_flag" 7170 || test ! -s conftest.err' 7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7172 (eval $ac_try) 2>&5 7173 ac_status=$? 7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7175 (exit $ac_status); }; } && 7176 { ac_try='test -s conftest.$ac_objext' 7177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7178 (eval $ac_try) 2>&5 7179 ac_status=$? 7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7181 (exit $ac_status); }; }; then 7182 ac_header_compiler=yes 7183 else 7184 echo "$as_me: failed program was:" >&5 7185 sed 's/^/| /' conftest.$ac_ext >&5 7186 7187 ac_header_compiler=no 7188 fi 7189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7191 echo "${ECHO_T}$ac_header_compiler" >&6 7192 7193 # Is the header present? 7194 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7196 cat >conftest.$ac_ext <<_ACEOF 7197 /* confdefs.h. */ 7198 _ACEOF 7199 cat confdefs.h >>conftest.$ac_ext 7200 cat >>conftest.$ac_ext <<_ACEOF 7201 /* end confdefs.h. */ 7202 #include <$ac_header> 7203 _ACEOF 7204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7206 ac_status=$? 7207 grep -v '^ *+' conftest.er1 >conftest.err 7208 rm -f conftest.er1 7209 cat conftest.err >&5 7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7211 (exit $ac_status); } >/dev/null; then 7212 if test -s conftest.err; then 7213 ac_cpp_err=$ac_c_preproc_warn_flag 7214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7215 else 7216 ac_cpp_err= 7217 fi 7218 else 7219 ac_cpp_err=yes 7220 fi 7221 if test -z "$ac_cpp_err"; then 7222 ac_header_preproc=yes 7223 else 7224 echo "$as_me: failed program was:" >&5 7225 sed 's/^/| /' conftest.$ac_ext >&5 7226 7227 ac_header_preproc=no 7228 fi 7229 rm -f conftest.err conftest.$ac_ext 7230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7231 echo "${ECHO_T}$ac_header_preproc" >&6 7232 7233 # So? What about this header? 7234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7235 yes:no: ) 7236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7240 ac_header_preproc=yes 7241 ;; 7242 no:yes:* ) 7243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7255 ( 7256 cat <<\_ASBOX 7257 ## ------------------------------------------- ## 7258 ## Report this to orxonox-dev@mail.datacore.ch ## 7259 ## ------------------------------------------- ## 7260 _ASBOX 7261 ) | 7262 sed "s/^/$as_me: WARNING: /" >&2 7263 ;; 7264 esac 7265 echo "$as_me:$LINENO: checking for $ac_header" >&5 7266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7267 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7268 echo $ECHO_N "(cached) $ECHO_C" >&6 7269 else 7270 eval "$as_ac_Header=\$ac_header_preproc" 7271 fi 7272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7274 7275 fi 7276 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7277 cat >>confdefs.h <<_ACEOF 7278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7279 _ACEOF 7280 7281 fi 7282 7283 done 7284 7285 7286 # Checks for typedefs, structures, and compiler characteristics. 7287 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7288 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7289 if test "${ac_cv_header_stdbool_h+set}" = set; then 7290 echo $ECHO_N "(cached) $ECHO_C" >&6 7291 else 7292 cat >conftest.$ac_ext <<_ACEOF 7293 /* confdefs.h. */ 7294 _ACEOF 7295 cat confdefs.h >>conftest.$ac_ext 7296 cat >>conftest.$ac_ext <<_ACEOF 7297 /* end confdefs.h. */ 7298 7299 #include <stdbool.h> 7300 #ifndef bool 7301 # error bool is not defined 7302 #endif 7303 #ifndef false 7304 # error false is not defined 7305 #endif 7306 #if false 7307 # error false is not 0 7308 #endif 7309 #ifndef true 7310 # error true is not defined 7311 #endif 7312 #if true != 1 7313 # error true is not 1 7314 #endif 7315 #ifndef __bool_true_false_are_defined 7316 # error __bool_true_false_are_defined is not defined 7317 #endif 7318 7319 struct s { _Bool s: 1; _Bool t; } s; 7320 7321 char a[true == 1 ? 1 : -1]; 7322 char b[false == 0 ? 1 : -1]; 7323 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7324 char d[(bool) -0.5 == true ? 1 : -1]; 7325 bool e = &s; 7326 char f[(_Bool) -0.0 == false ? 1 : -1]; 7327 char g[true]; 7328 char h[sizeof (_Bool)]; 7329 char i[sizeof s.t]; 7330 7331 int 7332 main () 7333 { 7334 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7335 ; 7336 return 0; 7337 } 7338 _ACEOF 7339 rm -f conftest.$ac_objext 7340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7341 (eval $ac_compile) 2>conftest.er1 7342 ac_status=$? 7343 grep -v '^ *+' conftest.er1 >conftest.err 7344 rm -f conftest.er1 7345 cat conftest.err >&5 7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7347 (exit $ac_status); } && 7348 { ac_try='test -z "$ac_c_werror_flag" 7349 || test ! -s conftest.err' 7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7351 (eval $ac_try) 2>&5 7352 ac_status=$? 7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7354 (exit $ac_status); }; } && 7355 { ac_try='test -s conftest.$ac_objext' 7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7357 (eval $ac_try) 2>&5 7358 ac_status=$? 7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7360 (exit $ac_status); }; }; then 7361 ac_cv_header_stdbool_h=yes 7362 else 7363 echo "$as_me: failed program was:" >&5 7364 sed 's/^/| /' conftest.$ac_ext >&5 7365 7366 ac_cv_header_stdbool_h=no 7367 fi 7368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7369 fi 7370 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7371 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7372 echo "$as_me:$LINENO: checking for _Bool" >&5 7373 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7374 if test "${ac_cv_type__Bool+set}" = set; then 7375 echo $ECHO_N "(cached) $ECHO_C" >&6 7376 else 7377 cat >conftest.$ac_ext <<_ACEOF 7378 /* confdefs.h. */ 7379 _ACEOF 7380 cat confdefs.h >>conftest.$ac_ext 7381 cat >>conftest.$ac_ext <<_ACEOF 7382 /* end confdefs.h. */ 7383 $ac_includes_default 7384 int 7385 main () 7386 { 7387 if ((_Bool *) 0) 7388 return 0; 7389 if (sizeof (_Bool)) 7390 return 0; 7391 ; 7392 return 0; 7393 } 7394 _ACEOF 7395 rm -f conftest.$ac_objext 7396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7397 (eval $ac_compile) 2>conftest.er1 7398 ac_status=$? 7399 grep -v '^ *+' conftest.er1 >conftest.err 7400 rm -f conftest.er1 7401 cat conftest.err >&5 7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7403 (exit $ac_status); } && 7404 { ac_try='test -z "$ac_c_werror_flag" 7405 || test ! -s conftest.err' 7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7407 (eval $ac_try) 2>&5 7408 ac_status=$? 7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7410 (exit $ac_status); }; } && 7411 { ac_try='test -s conftest.$ac_objext' 7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7413 (eval $ac_try) 2>&5 7414 ac_status=$? 7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7416 (exit $ac_status); }; }; then 7417 ac_cv_type__Bool=yes 7418 else 7419 echo "$as_me: failed program was:" >&5 7420 sed 's/^/| /' conftest.$ac_ext >&5 7421 7422 ac_cv_type__Bool=no 7423 fi 7424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7425 fi 7426 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7427 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7428 if test $ac_cv_type__Bool = yes; then 7429 7430 cat >>confdefs.h <<_ACEOF 7431 #define HAVE__BOOL 1 7432 _ACEOF 7433 7434 7435 fi 7436 7437 if test $ac_cv_header_stdbool_h = yes; then 7438 7439 cat >>confdefs.h <<\_ACEOF 7440 #define HAVE_STDBOOL_H 1 7441 _ACEOF 7442 7443 fi 7444 7445 7446 # Checks for library functions. 7447 7448 for ac_header in stdlib.h 7449 do 7450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7451 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7452 echo "$as_me:$LINENO: checking for $ac_header" >&5 7453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7454 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7455 echo $ECHO_N "(cached) $ECHO_C" >&6 7456 fi 7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7459 else 7460 # Is the header compilable? 7461 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7463 cat >conftest.$ac_ext <<_ACEOF 7464 /* confdefs.h. */ 7465 _ACEOF 7466 cat confdefs.h >>conftest.$ac_ext 7467 cat >>conftest.$ac_ext <<_ACEOF 7468 /* end confdefs.h. */ 7469 $ac_includes_default 7470 #include <$ac_header> 7471 _ACEOF 7472 rm -f conftest.$ac_objext 7473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7474 (eval $ac_compile) 2>conftest.er1 7475 ac_status=$? 7476 grep -v '^ *+' conftest.er1 >conftest.err 7477 rm -f conftest.er1 7478 cat conftest.err >&5 7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7480 (exit $ac_status); } && 7481 { ac_try='test -z "$ac_c_werror_flag" 7482 || test ! -s conftest.err' 7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7484 (eval $ac_try) 2>&5 7485 ac_status=$? 7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7487 (exit $ac_status); }; } && 7488 { ac_try='test -s conftest.$ac_objext' 7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7490 (eval $ac_try) 2>&5 7491 ac_status=$? 7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7493 (exit $ac_status); }; }; then 7494 ac_header_compiler=yes 7495 else 7496 echo "$as_me: failed program was:" >&5 7497 sed 's/^/| /' conftest.$ac_ext >&5 7498 7499 ac_header_compiler=no 7500 fi 7501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7503 echo "${ECHO_T}$ac_header_compiler" >&6 7504 7505 # Is the header present? 7506 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7508 cat >conftest.$ac_ext <<_ACEOF 7509 /* confdefs.h. */ 7510 _ACEOF 7511 cat confdefs.h >>conftest.$ac_ext 7512 cat >>conftest.$ac_ext <<_ACEOF 7513 /* end confdefs.h. */ 7514 #include <$ac_header> 7515 _ACEOF 7516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7518 ac_status=$? 7519 grep -v '^ *+' conftest.er1 >conftest.err 7520 rm -f conftest.er1 7521 cat conftest.err >&5 7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7523 (exit $ac_status); } >/dev/null; then 7524 if test -s conftest.err; then 7525 ac_cpp_err=$ac_c_preproc_warn_flag 7526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7527 else 7528 ac_cpp_err= 7529 fi 7530 else 7531 ac_cpp_err=yes 7532 fi 7533 if test -z "$ac_cpp_err"; then 7534 ac_header_preproc=yes 7535 else 7536 echo "$as_me: failed program was:" >&5 7537 sed 's/^/| /' conftest.$ac_ext >&5 7538 7539 ac_header_preproc=no 7540 fi 7541 rm -f conftest.err conftest.$ac_ext 7542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7543 echo "${ECHO_T}$ac_header_preproc" >&6 7544 7545 # So? What about this header? 7546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7547 yes:no: ) 7548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7552 ac_header_preproc=yes 7553 ;; 7554 no:yes:* ) 7555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7567 ( 7568 cat <<\_ASBOX 7569 ## ------------------------------------------- ## 7570 ## Report this to orxonox-dev@mail.datacore.ch ## 7571 ## ------------------------------------------- ## 7572 _ASBOX 7573 ) | 7574 sed "s/^/$as_me: WARNING: /" >&2 7575 ;; 7576 esac 7577 echo "$as_me:$LINENO: checking for $ac_header" >&5 7578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7579 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7580 echo $ECHO_N "(cached) $ECHO_C" >&6 7581 else 7582 eval "$as_ac_Header=\$ac_header_preproc" 7583 fi 7584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7586 7587 fi 7588 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7589 cat >>confdefs.h <<_ACEOF 7590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7591 _ACEOF 7592 6806 7593 fi 6807 7594 … … 6993 7780 6994 7781 6995 ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefileimporter/Makefile"7782 ac_config_files="$ac_config_files Makefile src/console/Makefile src/gui/Makefile src/Makefile src/importer/Makefile" 6996 7783 6997 7784 cat >confcache <<\_ACEOF … … 7104 7891 Usually this means the macro was only invoked conditionally." >&5 7105 7892 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 7893 Usually this means the macro was only invoked conditionally." >&2;} 7894 { (exit 1); exit 1; }; } 7895 fi 7896 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then 7897 { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. 7898 Usually this means the macro was only invoked conditionally." >&5 7899 echo "$as_me: error: conditional \"DOXYGEN\" was never defined. 7900 Usually this means the macro was only invoked conditionally." >&2;} 7901 { (exit 1); exit 1; }; } 7902 fi 7903 if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then 7904 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. 7905 Usually this means the macro was only invoked conditionally." >&5 7906 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 7106 7907 Usually this means the macro was only invoked conditionally." >&2;} 7107 7908 { (exit 1); exit 1; }; } … … 7378 8179 cat >&5 <<_CSEOF 7379 8180 7380 This file was extended by orxonox $as_me 0. 1-pre-alpha, which was8181 This file was extended by orxonox $as_me 0.2.0_alpha-r1, which was 7381 8182 generated by GNU Autoconf 2.59. Invocation command line was 7382 8183 … … 7441 8242 cat >>$CONFIG_STATUS <<_ACEOF 7442 8243 ac_cs_version="\\ 7443 orxonox config.status 0. 1-pre-alpha8244 orxonox config.status 0.2.0_alpha-r1 7444 8245 configured by $0, generated by GNU Autoconf 2.59, 7445 8246 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 7552 8353 # Handling of arguments. 7553 8354 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7554 " console/Makefile" ) CONFIG_FILES="$CONFIG_FILESconsole/Makefile" ;;7555 " gui/Makefile" ) CONFIG_FILES="$CONFIG_FILESgui/Makefile" ;;8355 "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;; 8356 "src/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;; 7556 8357 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7557 " importer/Makefile" ) CONFIG_FILES="$CONFIG_FILESimporter/Makefile" ;;8358 "src/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/importer/Makefile" ;; 7558 8359 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7559 8360 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; … … 7643 8444 s,@ECHO_T@,$ECHO_T,;t t 7644 8445 s,@LIBS@,$LIBS,;t t 8446 s,@build@,$build,;t t 8447 s,@build_cpu@,$build_cpu,;t t 8448 s,@build_vendor@,$build_vendor,;t t 8449 s,@build_os@,$build_os,;t t 8450 s,@host@,$host,;t t 8451 s,@host_cpu@,$host_cpu,;t t 8452 s,@host_vendor@,$host_vendor,;t t 8453 s,@host_os@,$host_os,;t t 8454 s,@target@,$target,;t t 8455 s,@target_cpu@,$target_cpu,;t t 8456 s,@target_vendor@,$target_vendor,;t t 8457 s,@target_os@,$target_os,;t t 7645 8458 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7646 8459 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t … … 7687 8500 s,@CPP@,$CPP,;t t 7688 8501 s,@EGREP@,$EGREP,;t t 8502 s,@DEBUG@,$DEBUG,;t t 8503 s,@DOXYGEN@,$DOXYGEN,;t t 8504 s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t 8505 s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t 7689 8506 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 8507 s,@GTK2_LIBS@,$GTK2_LIBS,;t t 8508 s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t 8509 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8510 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 7690 8511 s,@LIBOBJS@,$LIBOBJS,;t t 7691 8512 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note: See TracChangeset
for help on using the changeset viewer.