Changeset 2993 in orxonox.OLD for orxonox/branches/osX/configure
- Timestamp:
- Nov 26, 2004, 1:57:22 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/osX/configure
r2985 r2993 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 7for orxonox 0.1-pre-alpha.3 # Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha. 4 4 # 5 5 # Report bugs to <orxonox-dev@mail.datacore.ch>. 6 6 # 7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 8 # Free Software Foundation, Inc. 7 # Copyright (C) 2003 Free Software Foundation, Inc. 9 8 # This configure script is free software; the Free Software Foundation 10 9 # gives unlimited permission to copy, distribute and modify it. … … 23 22 set -o posix 24 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 25 26 26 # Support unset when possible. 27 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 28 as_unset=unset 29 29 else … … 44 44 LC_TELEPHONE LC_TIME 45 45 do 46 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 47 eval $as_var=C; export $as_var 48 48 else … … 221 221 as_mkdir_p=: 222 222 else 223 test -d ./-p && rmdir ./-p 223 224 as_mkdir_p=false 224 225 fi … … 227 228 228 229 # Sed expression to map a string onto a valid CPP name. 229 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 230 231 231 232 # Sed expression to map a string onto a valid variable name. 232 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 233 234 234 235 … … 311 312 #endif" 312 313 313 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 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 SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP SDL_CONFIG SDL_CFLAGS SDL_LIBS MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' 314 315 ac_subst_files='' 315 316 … … 670 671 # Be sure to have absolute paths. 671 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 673 localstatedir libdir includedir oldincludedir infodir mandir 673 674 do 674 675 eval ac_val=$`echo $ac_var` … … 710 711 ac_confdir=`(dirname "$0") 2>/dev/null || 711 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 713 714 715 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 716 717 echo X"$0" | 717 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 813 814 Installation directories: 814 815 --prefix=PREFIX install architecture-independent files in PREFIX 815 816 [$ac_default_prefix] 816 817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 817 818 [PREFIX] 818 819 819 820 By default, \`make install' will install all the files in … … 862 863 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 863 864 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 864 --disable-dependency-tracking Speeds up one-time builds865 --enable-dependency-tracking Do not reject slow dependency extractors865 --disable-dependency-tracking speeds up one-time build 866 --enable-dependency-tracking do not reject slow dependency extractors 866 867 --disable-sdltest Do not try to compile and run a test SDL program 867 868 … … 920 921 ac_top_srcdir=$ac_top_builddir$srcdir ;; 921 922 esac 922 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 923 # absolute. 924 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 925 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 926 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 927 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 923 924 # Do not use `cd foo && pwd` to compute absolute paths, because 925 # the directories may not exist. 926 case `pwd` in 927 .) ac_abs_builddir="$ac_dir";; 928 *) 929 case "$ac_dir" in 930 .) ac_abs_builddir=`pwd`;; 931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 932 *) ac_abs_builddir=`pwd`/"$ac_dir";; 933 esac;; 934 esac 935 case $ac_abs_builddir in 936 .) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) 938 case ${ac_top_builddir}. in 939 .) ac_abs_top_builddir=$ac_abs_builddir;; 940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 942 esac;; 943 esac 944 case $ac_abs_builddir in 945 .) ac_abs_srcdir=$ac_srcdir;; 946 *) 947 case $ac_srcdir in 948 .) ac_abs_srcdir=$ac_abs_builddir;; 949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 951 esac;; 952 esac 953 case $ac_abs_builddir in 954 .) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) 956 case $ac_top_srcdir in 957 .) ac_abs_top_srcdir=$ac_abs_builddir;; 958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 960 esac;; 961 esac 928 962 929 963 cd $ac_dir … … 936 970 $SHELL $ac_srcdir/configure --help=recursive 937 971 elif test -f $ac_srcdir/configure.ac || 938 972 test -f $ac_srcdir/configure.in; then 939 973 echo 940 974 $ac_configure --help … … 950 984 cat <<\_ACEOF 951 985 orxonox configure 0.1-pre-alpha 952 generated by GNU Autoconf 2.57 953 954 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 955 Free Software Foundation, Inc. 986 generated by GNU Autoconf 2.59 987 988 Copyright (C) 2003 Free Software Foundation, Inc. 956 989 This configure script is free software; the Free Software Foundation 957 990 gives unlimited permission to copy, distribute and modify it. … … 965 998 966 999 It was created by orxonox $as_me 0.1-pre-alpha, which was 967 generated by GNU Autoconf 2.5 7. Invocation command line was1000 generated by GNU Autoconf 2.59. Invocation command line was 968 1001 969 1002 $ $0 $@ … … 1042 1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1043 1076 if test $ac_must_keep_next = true; then 1044 1077 ac_must_keep_next=false # Got value, back to normal. 1045 1078 else 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1079 case $ac_arg in 1080 *=* | --config-cache | -C | -disable-* | --disable-* \ 1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1083 | -with-* | --with-* | -without-* | --without-* | --x) 1084 case "$ac_configure_args0 " in 1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1086 esac 1087 ;; 1088 -* ) ac_must_keep_next=true ;; 1089 esac 1057 1090 fi 1058 1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1088 1121 *ac_space=\ *) 1089 1122 sed -n \ 1090 1091 1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1092 1125 ;; 1093 1126 *) 1094 1127 sed -n \ 1095 1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1096 1129 ;; 1097 1130 esac; … … 1122 1155 do 1123 1156 eval ac_val=$`echo $ac_var` 1124 1157 echo "$ac_var='"'"'$ac_val'"'"'" 1125 1158 done | sort 1126 1159 echo … … 1141 1174 echo "$as_me: exit $exit_status" 1142 1175 } >&5 1143 rm -f core core.**.core &&1176 rm -f core *.core && 1144 1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1145 1178 exit $exit_status … … 1221 1254 ac_cache_corrupted=false 1222 1255 for ac_var in `(set) 2>&1 | 1223 1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1224 1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1225 1258 eval ac_new_set=\$ac_env_${ac_var}_set … … 1238 1271 *) 1239 1272 if test "x$ac_old_val" != "x$ac_new_val"; then 1240 1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1241 1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1242 1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1243 1276 echo "$as_me: former value: $ac_old_val" >&2;} 1244 1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1245 1278 echo "$as_me: current value: $ac_new_val" >&2;} 1246 1279 ac_cache_corrupted=: 1247 1280 fi;; 1248 1281 esac … … 1411 1444 1412 1445 1413 am__api_version="1. 7"1446 am__api_version="1.8" 1414 1447 # Find a good install program. We prefer a C program (faster), 1415 1448 # so one script is as good as another. But avoid the broken or … … 1423 1456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1424 1457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1458 # OS/2's system install, which has a completely different semantic 1425 1459 # ./install, which can be erroneously created by make from ./install.sh. 1426 1460 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 1439 1473 ./ | .// | /cC/* | \ 1440 1474 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1475 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1441 1476 /usr/ucb/* ) ;; 1442 1477 *) … … 1446 1481 for ac_prog in ginstall scoinst install; do 1447 1482 for ac_exec_ext in '' $ac_executable_extensions; do 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1484 if test $ac_prog = install && 1485 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1486 # AIX install. It has an incompatible calling convention. 1487 : 1488 elif test $ac_prog = install && 1489 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1490 # program-specific install script used by HP pwplus--don't use. 1491 : 1492 else 1493 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1494 break 3 1495 fi 1496 fi 1462 1497 done 1463 1498 done … … 1547 1582 rm conftest.sed 1548 1583 1549 1550 1584 # expand $ac_aux_dir to an absolute path 1551 1585 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1559 1593 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1560 1594 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1595 fi 1596 1597 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1598 # Keeping the `.' argument allows $(mkdir_p) to be used without 1599 # argument. Indeed, we sometimes output rules like 1600 # $(mkdir_p) $(somedir) 1601 # where $(somedir) is conditionally defined. 1602 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 1603 # expensive solution, as it forces Make to start a sub-shell.) 1604 mkdir_p='mkdir -p -- .' 1605 else 1606 # On NextStep and OpenStep, the `mkdir' command does not 1607 # recognize any option. It will interpret all options as 1608 # directories to create, and then abort because `.' already 1609 # exists. 1610 for d in ./-p ./--version; 1611 do 1612 test -d $d && rmdir $d 1613 done 1614 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1615 if test -f "$ac_aux_dir/mkinstalldirs"; then 1616 mkdir_p='$(mkinstalldirs)' 1617 else 1618 mkdir_p='$(install_sh) -d' 1619 fi 1561 1620 fi 1562 1621 … … 1603 1662 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1604 1663 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1605 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, ./+-,__p_,'`1664 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1606 1665 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1607 1666 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1639 1698 rmdir .tst 2>/dev/null 1640 1699 1641 1700 # test to see if srcdir already configured 1642 1701 if test "`cd $srcdir && pwd`" != "`pwd`" && 1643 1702 test -f $srcdir/config.status; then … … 1906 1965 1907 1966 cat >conftest.$ac_ext <<_ACEOF 1908 #line $LINENO "configure"1909 1967 /* confdefs.h. */ 1910 1968 _ACEOF … … 1926 1984 # It will help us diagnose broken compilers, and finding out an intuition 1927 1985 # of exeext. 1928 echo "$as_me:$LINENO: checking for C++ compiler default output " >&51929 echo $ECHO_N "checking for C++ compiler default output ... $ECHO_C" >&61986 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1987 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 1930 1988 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1931 1989 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1947 2005 case $ac_file in 1948 2006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1949 2007 ;; 1950 2008 conftest.$ac_ext ) 1951 1952 2009 # This is the source file. 2010 ;; 1953 2011 [ab].out ) 1954 1955 1956 2012 # We found the default executable, but exeext='' is most 2013 # certainly right. 2014 break;; 1957 2015 *.* ) 1958 1959 1960 1961 1962 1963 2016 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2017 # FIXME: I believe we export ac_cv_exeext for Libtool, 2018 # but it would be cool to find out if it's true. Does anybody 2019 # maintain Libtool? --akim. 2020 export ac_cv_exeext 2021 break;; 1964 2022 * ) 1965 2023 break;; 1966 2024 esac 1967 2025 done … … 2037 2095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2038 2096 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2039 2040 2097 export ac_cv_exeext 2098 break;; 2041 2099 * ) break;; 2042 2100 esac … … 2063 2121 else 2064 2122 cat >conftest.$ac_ext <<_ACEOF 2065 #line $LINENO "configure"2066 2123 /* confdefs.h. */ 2067 2124 _ACEOF … … 2114 2171 else 2115 2172 cat >conftest.$ac_ext <<_ACEOF 2116 #line $LINENO "configure"2117 2173 /* confdefs.h. */ 2118 2174 _ACEOF … … 2134 2190 rm -f conftest.$ac_objext 2135 2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2136 (eval $ac_compile) 2>&5 2137 ac_status=$? 2192 (eval $ac_compile) 2>conftest.er1 2193 ac_status=$? 2194 grep -v '^ *+' conftest.er1 >conftest.err 2195 rm -f conftest.er1 2196 cat conftest.err >&5 2138 2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2139 2198 (exit $ac_status); } && 2140 { ac_try='test -s conftest.$ac_objext' 2199 { ac_try='test -z "$ac_cxx_werror_flag" 2200 || test ! -s conftest.err' 2141 2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2142 2202 (eval $ac_try) 2>&5 2143 2203 ac_status=$? 2144 2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2205 (exit $ac_status); }; } && 2206 { ac_try='test -s conftest.$ac_objext' 2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2208 (eval $ac_try) 2>&5 2209 ac_status=$? 2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2145 2211 (exit $ac_status); }; }; then 2146 2212 ac_compiler_gnu=yes … … 2151 2217 ac_compiler_gnu=no 2152 2218 fi 2153 rm -f conftest. $ac_objext conftest.$ac_ext2219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2154 2220 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2155 2221 … … 2167 2233 else 2168 2234 cat >conftest.$ac_ext <<_ACEOF 2169 #line $LINENO "configure"2170 2235 /* confdefs.h. */ 2171 2236 _ACEOF … … 2184 2249 rm -f conftest.$ac_objext 2185 2250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2186 (eval $ac_compile) 2>&5 2187 ac_status=$? 2251 (eval $ac_compile) 2>conftest.er1 2252 ac_status=$? 2253 grep -v '^ *+' conftest.er1 >conftest.err 2254 rm -f conftest.er1 2255 cat conftest.err >&5 2188 2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2189 2257 (exit $ac_status); } && 2190 { ac_try='test -s conftest.$ac_objext' 2258 { ac_try='test -z "$ac_cxx_werror_flag" 2259 || test ! -s conftest.err' 2191 2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2192 2261 (eval $ac_try) 2>&5 2193 2262 ac_status=$? 2194 2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2264 (exit $ac_status); }; } && 2265 { ac_try='test -s conftest.$ac_objext' 2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2267 (eval $ac_try) 2>&5 2268 ac_status=$? 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2195 2270 (exit $ac_status); }; }; then 2196 2271 ac_cv_prog_cxx_g=yes … … 2201 2276 ac_cv_prog_cxx_g=no 2202 2277 fi 2203 rm -f conftest. $ac_objext conftest.$ac_ext2278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2204 2279 fi 2205 2280 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 … … 2221 2296 fi 2222 2297 for ac_declaration in \ 2223 ''\ 2224 '#include <stdlib.h>' \ 2298 '' \ 2225 2299 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2226 2300 'extern "C" void std::exit (int); using std::exit;' \ … … 2230 2304 do 2231 2305 cat >conftest.$ac_ext <<_ACEOF 2232 #line $LINENO "configure"2233 2306 /* confdefs.h. */ 2234 2307 _ACEOF … … 2236 2309 cat >>conftest.$ac_ext <<_ACEOF 2237 2310 /* end confdefs.h. */ 2311 $ac_declaration 2238 2312 #include <stdlib.h> 2239 $ac_declaration2240 2313 int 2241 2314 main () … … 2248 2321 rm -f conftest.$ac_objext 2249 2322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2250 (eval $ac_compile) 2>&5 2251 ac_status=$? 2323 (eval $ac_compile) 2>conftest.er1 2324 ac_status=$? 2325 grep -v '^ *+' conftest.er1 >conftest.err 2326 rm -f conftest.er1 2327 cat conftest.err >&5 2252 2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2253 2329 (exit $ac_status); } && 2254 { ac_try='test -s conftest.$ac_objext' 2330 { ac_try='test -z "$ac_cxx_werror_flag" 2331 || test ! -s conftest.err' 2255 2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2256 2333 (eval $ac_try) 2>&5 2257 2334 ac_status=$? 2258 2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2336 (exit $ac_status); }; } && 2337 { ac_try='test -s conftest.$ac_objext' 2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2339 (eval $ac_try) 2>&5 2340 ac_status=$? 2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2259 2342 (exit $ac_status); }; }; then 2260 2343 : … … 2265 2348 continue 2266 2349 fi 2267 rm -f conftest. $ac_objext conftest.$ac_ext2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2268 2351 cat >conftest.$ac_ext <<_ACEOF 2269 #line $LINENO "configure"2270 2352 /* confdefs.h. */ 2271 2353 _ACEOF … … 2284 2366 rm -f conftest.$ac_objext 2285 2367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2286 (eval $ac_compile) 2>&5 2287 ac_status=$? 2368 (eval $ac_compile) 2>conftest.er1 2369 ac_status=$? 2370 grep -v '^ *+' conftest.er1 >conftest.err 2371 rm -f conftest.er1 2372 cat conftest.err >&5 2288 2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 2374 (exit $ac_status); } && 2290 { ac_try='test -s conftest.$ac_objext' 2375 { ac_try='test -z "$ac_cxx_werror_flag" 2376 || test ! -s conftest.err' 2291 2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2292 2378 (eval $ac_try) 2>&5 2293 2379 ac_status=$? 2294 2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2381 (exit $ac_status); }; } && 2382 { ac_try='test -s conftest.$ac_objext' 2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2384 (eval $ac_try) 2>&5 2385 ac_status=$? 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2295 2387 (exit $ac_status); }; }; then 2296 2388 break … … 2300 2392 2301 2393 fi 2302 rm -f conftest. $ac_objext conftest.$ac_ext2394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2303 2395 done 2304 2396 rm -f conftest* … … 2421 2513 for i in 1 2 3 4 5 6; do 2422 2514 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2423 : > sub/conftst$i.h 2515 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2516 # Solaris 8's {/usr,}/bin/sh. 2517 touch sub/conftst$i.h 2424 2518 done 2425 2519 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2449 2543 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2450 2544 # icc doesn't choke on unknown options, it will just issue warnings 2451 # (even with -Werror). So we grep stderr for any message 2452 # that says an option was ignored. 2453 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2545 # or remarks (even with -Werror). So we grep stderr for any message 2546 # that says an option was ignored or not supported. 2547 # When given -MP, icc 7.0 and 7.1 complain thusly: 2548 # icc: Command line warning: ignoring option '-M'; no argument required 2549 # The diagnosis changed in icc 8.0: 2550 # icc: Command line remark: option '-MP' not supported 2551 if (grep 'ignoring option' conftest.err || 2552 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2454 2553 am_cv_CXX_dependencies_compiler_type=$depmode 2455 2554 break … … 2823 2922 else 2824 2923 cat >conftest.$ac_ext <<_ACEOF 2825 #line $LINENO "configure"2826 2924 /* confdefs.h. */ 2827 2925 _ACEOF … … 2843 2941 rm -f conftest.$ac_objext 2844 2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2845 (eval $ac_compile) 2>&5 2846 ac_status=$? 2943 (eval $ac_compile) 2>conftest.er1 2944 ac_status=$? 2945 grep -v '^ *+' conftest.er1 >conftest.err 2946 rm -f conftest.er1 2947 cat conftest.err >&5 2847 2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2848 2949 (exit $ac_status); } && 2849 { ac_try='test -s conftest.$ac_objext' 2950 { ac_try='test -z "$ac_c_werror_flag" 2951 || test ! -s conftest.err' 2850 2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2851 2953 (eval $ac_try) 2>&5 2852 2954 ac_status=$? 2853 2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2956 (exit $ac_status); }; } && 2957 { ac_try='test -s conftest.$ac_objext' 2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2959 (eval $ac_try) 2>&5 2960 ac_status=$? 2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2854 2962 (exit $ac_status); }; }; then 2855 2963 ac_compiler_gnu=yes … … 2860 2968 ac_compiler_gnu=no 2861 2969 fi 2862 rm -f conftest. $ac_objext conftest.$ac_ext2970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2863 2971 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2864 2972 … … 2876 2984 else 2877 2985 cat >conftest.$ac_ext <<_ACEOF 2878 #line $LINENO "configure"2879 2986 /* confdefs.h. */ 2880 2987 _ACEOF … … 2893 3000 rm -f conftest.$ac_objext 2894 3001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2895 (eval $ac_compile) 2>&5 2896 ac_status=$? 3002 (eval $ac_compile) 2>conftest.er1 3003 ac_status=$? 3004 grep -v '^ *+' conftest.er1 >conftest.err 3005 rm -f conftest.er1 3006 cat conftest.err >&5 2897 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2898 3008 (exit $ac_status); } && 2899 { ac_try='test -s conftest.$ac_objext' 3009 { ac_try='test -z "$ac_c_werror_flag" 3010 || test ! -s conftest.err' 2900 3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2901 3012 (eval $ac_try) 2>&5 2902 3013 ac_status=$? 2903 3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3015 (exit $ac_status); }; } && 3016 { ac_try='test -s conftest.$ac_objext' 3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3018 (eval $ac_try) 2>&5 3019 ac_status=$? 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2904 3021 (exit $ac_status); }; }; then 2905 3022 ac_cv_prog_cc_g=yes … … 2910 3027 ac_cv_prog_cc_g=no 2911 3028 fi 2912 rm -f conftest. $ac_objext conftest.$ac_ext3029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2913 3030 fi 2914 3031 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2937 3054 ac_save_CC=$CC 2938 3055 cat >conftest.$ac_ext <<_ACEOF 2939 #line $LINENO "configure"2940 3056 /* confdefs.h. */ 2941 3057 _ACEOF … … 2965 3081 return s; 2966 3082 } 3083 3084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3085 function prototypes and stuff, but not '\xHH' hex character constants. 3086 These don't provoke an error unfortunately, instead are silently treated 3087 as 'x'. The following induces an error, until -std1 is added to get 3088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3089 array size at least. It's necessary to write '\x00'==0 to get something 3090 that's true only with -std1. */ 3091 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3092 2967 3093 int test (int i, double x); 2968 3094 struct s1 {int (*f) (int a);}; … … 2991 3117 rm -f conftest.$ac_objext 2992 3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2993 (eval $ac_compile) 2>&5 2994 ac_status=$? 3119 (eval $ac_compile) 2>conftest.er1 3120 ac_status=$? 3121 grep -v '^ *+' conftest.er1 >conftest.err 3122 rm -f conftest.er1 3123 cat conftest.err >&5 2995 3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2996 3125 (exit $ac_status); } && 2997 { ac_try='test -s conftest.$ac_objext' 3126 { ac_try='test -z "$ac_c_werror_flag" 3127 || test ! -s conftest.err' 3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3129 (eval $ac_try) 2>&5 3130 ac_status=$? 3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3132 (exit $ac_status); }; } && 3133 { ac_try='test -s conftest.$ac_objext' 2998 3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2999 3135 (eval $ac_try) 2>&5 … … 3008 3144 3009 3145 fi 3010 rm -f conftest. $ac_objext3146 rm -f conftest.err conftest.$ac_objext 3011 3147 done 3012 3148 rm -f conftest.$ac_ext conftest.$ac_objext … … 3036 3172 rm -f conftest.$ac_objext 3037 3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3038 (eval $ac_compile) 2>&5 3039 ac_status=$? 3174 (eval $ac_compile) 2>conftest.er1 3175 ac_status=$? 3176 grep -v '^ *+' conftest.er1 >conftest.err 3177 rm -f conftest.er1 3178 cat conftest.err >&5 3040 3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 3180 (exit $ac_status); } && 3042 { ac_try='test -s conftest.$ac_objext' 3181 { ac_try='test -z "$ac_c_werror_flag" 3182 || test ! -s conftest.err' 3043 3183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3044 3184 (eval $ac_try) 2>&5 3045 3185 ac_status=$? 3046 3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3187 (exit $ac_status); }; } && 3188 { ac_try='test -s conftest.$ac_objext' 3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3190 (eval $ac_try) 2>&5 3191 ac_status=$? 3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3047 3193 (exit $ac_status); }; }; then 3048 3194 for ac_declaration in \ 3049 ''\ 3050 '#include <stdlib.h>' \ 3195 '' \ 3051 3196 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3052 3197 'extern "C" void std::exit (int); using std::exit;' \ … … 3056 3201 do 3057 3202 cat >conftest.$ac_ext <<_ACEOF 3058 #line $LINENO "configure"3059 3203 /* confdefs.h. */ 3060 3204 _ACEOF … … 3062 3206 cat >>conftest.$ac_ext <<_ACEOF 3063 3207 /* end confdefs.h. */ 3208 $ac_declaration 3064 3209 #include <stdlib.h> 3065 $ac_declaration3066 3210 int 3067 3211 main () … … 3074 3218 rm -f conftest.$ac_objext 3075 3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3076 (eval $ac_compile) 2>&5 3077 ac_status=$? 3220 (eval $ac_compile) 2>conftest.er1 3221 ac_status=$? 3222 grep -v '^ *+' conftest.er1 >conftest.err 3223 rm -f conftest.er1 3224 cat conftest.err >&5 3078 3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3079 3226 (exit $ac_status); } && 3080 { ac_try='test -s conftest.$ac_objext' 3227 { ac_try='test -z "$ac_c_werror_flag" 3228 || test ! -s conftest.err' 3081 3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3082 3230 (eval $ac_try) 2>&5 3083 3231 ac_status=$? 3084 3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3233 (exit $ac_status); }; } && 3234 { ac_try='test -s conftest.$ac_objext' 3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3236 (eval $ac_try) 2>&5 3237 ac_status=$? 3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3085 3239 (exit $ac_status); }; }; then 3086 3240 : … … 3091 3245 continue 3092 3246 fi 3093 rm -f conftest. $ac_objext conftest.$ac_ext3247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3094 3248 cat >conftest.$ac_ext <<_ACEOF 3095 #line $LINENO "configure"3096 3249 /* confdefs.h. */ 3097 3250 _ACEOF … … 3110 3263 rm -f conftest.$ac_objext 3111 3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3112 (eval $ac_compile) 2>&5 3113 ac_status=$? 3265 (eval $ac_compile) 2>conftest.er1 3266 ac_status=$? 3267 grep -v '^ *+' conftest.er1 >conftest.err 3268 rm -f conftest.er1 3269 cat conftest.err >&5 3114 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3115 3271 (exit $ac_status); } && 3116 { ac_try='test -s conftest.$ac_objext' 3272 { ac_try='test -z "$ac_c_werror_flag" 3273 || test ! -s conftest.err' 3117 3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3118 3275 (eval $ac_try) 2>&5 3119 3276 ac_status=$? 3120 3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3278 (exit $ac_status); }; } && 3279 { ac_try='test -s conftest.$ac_objext' 3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3281 (eval $ac_try) 2>&5 3282 ac_status=$? 3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121 3284 (exit $ac_status); }; }; then 3122 3285 break … … 3126 3289 3127 3290 fi 3128 rm -f conftest. $ac_objext conftest.$ac_ext3291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3129 3292 done 3130 3293 rm -f conftest* … … 3140 3303 3141 3304 fi 3142 rm -f conftest. $ac_objext conftest.$ac_ext3305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3143 3306 ac_ext=c 3144 3307 ac_cpp='$CPP $CPPFLAGS' … … 3188 3351 for i in 1 2 3 4 5 6; do 3189 3352 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3190 : > sub/conftst$i.h 3353 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3354 # Solaris 8's {/usr,}/bin/sh. 3355 touch sub/conftst$i.h 3191 3356 done 3192 3357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3216 3381 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3217 3382 # icc doesn't choke on unknown options, it will just issue warnings 3218 # (even with -Werror). So we grep stderr for any message 3219 # that says an option was ignored. 3220 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3383 # or remarks (even with -Werror). So we grep stderr for any message 3384 # that says an option was ignored or not supported. 3385 # When given -MP, icc 7.0 and 7.1 complain thusly: 3386 # icc: Command line warning: ignoring option '-M'; no argument required 3387 # The diagnosis changed in icc 8.0: 3388 # icc: Command line remark: option '-MP' not supported 3389 if (grep 'ignoring option' conftest.err || 3390 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3221 3391 am_cv_CC_dependencies_compiler_type=$depmode 3222 3392 break … … 3278 3448 # not just through cpp. "Syntax error" is here to catch this case. 3279 3449 cat >conftest.$ac_ext <<_ACEOF 3280 #line $LINENO "configure"3281 3450 /* confdefs.h. */ 3282 3451 _ACEOF … … 3289 3458 # include <assert.h> 3290 3459 #endif 3291 3460 Syntax error 3292 3461 _ACEOF 3293 3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3301 3470 if test -s conftest.err; then 3302 3471 ac_cpp_err=$ac_c_preproc_warn_flag 3472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3303 3473 else 3304 3474 ac_cpp_err= … … 3321 3491 # can be detected and how. 3322 3492 cat >conftest.$ac_ext <<_ACEOF 3323 #line $LINENO "configure"3324 3493 /* confdefs.h. */ 3325 3494 _ACEOF … … 3339 3508 if test -s conftest.err; then 3340 3509 ac_cpp_err=$ac_c_preproc_warn_flag 3510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3341 3511 else 3342 3512 ac_cpp_err= … … 3385 3555 # not just through cpp. "Syntax error" is here to catch this case. 3386 3556 cat >conftest.$ac_ext <<_ACEOF 3387 #line $LINENO "configure"3388 3557 /* confdefs.h. */ 3389 3558 _ACEOF … … 3396 3565 # include <assert.h> 3397 3566 #endif 3398 3567 Syntax error 3399 3568 _ACEOF 3400 3569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3408 3577 if test -s conftest.err; then 3409 3578 ac_cpp_err=$ac_c_preproc_warn_flag 3579 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3410 3580 else 3411 3581 ac_cpp_err= … … 3428 3598 # can be detected and how. 3429 3599 cat >conftest.$ac_ext <<_ACEOF 3430 #line $LINENO "configure"3431 3600 /* confdefs.h. */ 3432 3601 _ACEOF … … 3446 3615 if test -s conftest.err; then 3447 3616 ac_cpp_err=$ac_c_preproc_warn_flag 3617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3448 3618 else 3449 3619 ac_cpp_err= … … 3506 3676 else 3507 3677 cat >conftest.$ac_ext <<_ACEOF 3508 #line $LINENO "configure"3509 3678 /* confdefs.h. */ 3510 3679 _ACEOF … … 3527 3696 rm -f conftest.$ac_objext 3528 3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3529 (eval $ac_compile) 2>&5 3530 ac_status=$? 3698 (eval $ac_compile) 2>conftest.er1 3699 ac_status=$? 3700 grep -v '^ *+' conftest.er1 >conftest.err 3701 rm -f conftest.er1 3702 cat conftest.err >&5 3531 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3532 3704 (exit $ac_status); } && 3533 { ac_try='test -s conftest.$ac_objext' 3705 { ac_try='test -z "$ac_c_werror_flag" 3706 || test ! -s conftest.err' 3534 3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3535 3708 (eval $ac_try) 2>&5 3536 3709 ac_status=$? 3537 3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); }; } && 3712 { ac_try='test -s conftest.$ac_objext' 3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3714 (eval $ac_try) 2>&5 3715 ac_status=$? 3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3538 3717 (exit $ac_status); }; }; then 3539 3718 ac_cv_header_stdc=yes … … 3544 3723 ac_cv_header_stdc=no 3545 3724 fi 3546 rm -f conftest. $ac_objext conftest.$ac_ext3725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3547 3726 3548 3727 if test $ac_cv_header_stdc = yes; then 3549 3728 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3550 3729 cat >conftest.$ac_ext <<_ACEOF 3551 #line $LINENO "configure"3552 3730 /* confdefs.h. */ 3553 3731 _ACEOF … … 3571 3749 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3572 3750 cat >conftest.$ac_ext <<_ACEOF 3573 #line $LINENO "configure"3574 3751 /* confdefs.h. */ 3575 3752 _ACEOF … … 3596 3773 else 3597 3774 cat >conftest.$ac_ext <<_ACEOF 3598 #line $LINENO "configure"3599 3775 /* confdefs.h. */ 3600 3776 _ACEOF … … 3608 3784 #else 3609 3785 # define ISLOWER(c) \ 3610 3611 3612 3786 (('a' <= (c) && (c) <= 'i') \ 3787 || ('j' <= (c) && (c) <= 'r') \ 3788 || ('s' <= (c) && (c) <= 'z')) 3613 3789 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3614 3790 #endif … … 3621 3797 for (i = 0; i < 256; i++) 3622 3798 if (XOR (islower (i), ISLOWER (i)) 3623 3799 || toupper (i) != TOUPPER (i)) 3624 3800 exit(2); 3625 3801 exit (0); … … 3646 3822 ac_cv_header_stdc=no 3647 3823 fi 3648 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3649 3825 fi 3650 3826 fi … … 3690 3866 3691 3867 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3692 3868 inttypes.h stdint.h unistd.h 3693 3869 do 3694 3870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 3699 3875 else 3700 3876 cat >conftest.$ac_ext <<_ACEOF 3701 #line $LINENO "configure"3702 3877 /* confdefs.h. */ 3703 3878 _ACEOF … … 3711 3886 rm -f conftest.$ac_objext 3712 3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3713 (eval $ac_compile) 2>&5 3714 ac_status=$? 3888 (eval $ac_compile) 2>conftest.er1 3889 ac_status=$? 3890 grep -v '^ *+' conftest.er1 >conftest.err 3891 rm -f conftest.er1 3892 cat conftest.err >&5 3715 3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 3894 (exit $ac_status); } && 3717 { ac_try='test -s conftest.$ac_objext' 3895 { ac_try='test -z "$ac_c_werror_flag" 3896 || test ! -s conftest.err' 3718 3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3719 3898 (eval $ac_try) 2>&5 3720 3899 ac_status=$? 3721 3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3901 (exit $ac_status); }; } && 3902 { ac_try='test -s conftest.$ac_objext' 3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3904 (eval $ac_try) 2>&5 3905 ac_status=$? 3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3722 3907 (exit $ac_status); }; }; then 3723 3908 eval "$as_ac_Header=yes" … … 3728 3913 eval "$as_ac_Header=no" 3729 3914 fi 3730 rm -f conftest. $ac_objext conftest.$ac_ext3915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3731 3916 fi 3732 3917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3759 3944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3760 3945 cat >conftest.$ac_ext <<_ACEOF 3761 #line $LINENO "configure"3762 3946 /* confdefs.h. */ 3763 3947 _ACEOF … … 3770 3954 rm -f conftest.$ac_objext 3771 3955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3772 (eval $ac_compile) 2>&5 3773 ac_status=$? 3956 (eval $ac_compile) 2>conftest.er1 3957 ac_status=$? 3958 grep -v '^ *+' conftest.er1 >conftest.err 3959 rm -f conftest.er1 3960 cat conftest.err >&5 3774 3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 3962 (exit $ac_status); } && 3776 { ac_try='test -s conftest.$ac_objext' 3963 { ac_try='test -z "$ac_c_werror_flag" 3964 || test ! -s conftest.err' 3777 3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3778 3966 (eval $ac_try) 2>&5 3779 3967 ac_status=$? 3780 3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3969 (exit $ac_status); }; } && 3970 { ac_try='test -s conftest.$ac_objext' 3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3972 (eval $ac_try) 2>&5 3973 ac_status=$? 3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3781 3975 (exit $ac_status); }; }; then 3782 3976 ac_header_compiler=yes … … 3787 3981 ac_header_compiler=no 3788 3982 fi 3789 rm -f conftest. $ac_objext conftest.$ac_ext3983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3790 3984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3791 3985 echo "${ECHO_T}$ac_header_compiler" >&6 … … 3795 3989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3796 3990 cat >conftest.$ac_ext <<_ACEOF 3797 #line $LINENO "configure"3798 3991 /* confdefs.h. */ 3799 3992 _ACEOF … … 3813 4006 if test -s conftest.err; then 3814 4007 ac_cpp_err=$ac_c_preproc_warn_flag 4008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3815 4009 else 3816 4010 ac_cpp_err= … … 3832 4026 3833 4027 # So? What about this header? 3834 case $ac_header_compiler:$ac_header_preproc in3835 yes:no )4028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4029 yes:no: ) 3836 4030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3837 4031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4034 ac_header_preproc=yes 4035 ;; 4036 no:yes:* ) 4037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3838 4045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3839 4046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3840 4049 ( 3841 4050 cat <<\_ASBOX 3842 ## ------------------------------------ ## 3843 ## Report this to bug-autoconf@gnu.org. ## 3844 ## ------------------------------------ ## 3845 _ASBOX 3846 ) | 3847 sed "s/^/$as_me: WARNING: /" >&2 3848 ;; 3849 no:yes ) 3850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3856 ( 3857 cat <<\_ASBOX 3858 ## ------------------------------------ ## 3859 ## Report this to bug-autoconf@gnu.org. ## 3860 ## ------------------------------------ ## 4051 ## ------------------------------------------- ## 4052 ## Report this to orxonox-dev@mail.datacore.ch ## 4053 ## ------------------------------------------- ## 3861 4054 _ASBOX 3862 4055 ) | … … 3869 4062 echo $ECHO_N "(cached) $ECHO_C" >&6 3870 4063 else 3871 eval "$as_ac_Header= $ac_header_preproc"4064 eval "$as_ac_Header=\$ac_header_preproc" 3872 4065 fi 3873 4066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3897 4090 LIBS="-lopengl32 $LIBS" 3898 4091 cat >conftest.$ac_ext <<_ACEOF 3899 #line $LINENO "configure"3900 4092 /* confdefs.h. */ 3901 4093 _ACEOF … … 3915 4107 rm -f conftest.$ac_objext conftest$ac_exeext 3916 4108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3917 (eval $ac_link) 2>&5 3918 ac_status=$? 4109 (eval $ac_link) 2>conftest.er1 4110 ac_status=$? 4111 grep -v '^ *+' conftest.er1 >conftest.err 4112 rm -f conftest.er1 4113 cat conftest.err >&5 3919 4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3920 4115 (exit $ac_status); } && 3921 { ac_try='test -s conftest$ac_exeext' 4116 { ac_try='test -z "$ac_c_werror_flag" 4117 || test ! -s conftest.err' 3922 4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3923 4119 (eval $ac_try) 2>&5 3924 4120 ac_status=$? 3925 4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4122 (exit $ac_status); }; } && 4123 { ac_try='test -s conftest$ac_exeext' 4124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4125 (eval $ac_try) 2>&5 4126 ac_status=$? 4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3926 4128 (exit $ac_status); }; }; then 3927 4129 ac_cv_lib_opengl32_main=yes … … 3932 4134 ac_cv_lib_opengl32_main=no 3933 4135 fi 3934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4136 rm -f conftest.err conftest.$ac_objext \ 4137 conftest$ac_exeext conftest.$ac_ext 3935 4138 LIBS=$ac_check_lib_save_LIBS 3936 4139 fi … … 3971 4174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3972 4175 cat >conftest.$ac_ext <<_ACEOF 3973 #line $LINENO "configure"3974 4176 /* confdefs.h. */ 3975 4177 _ACEOF … … 3982 4184 rm -f conftest.$ac_objext 3983 4185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3984 (eval $ac_compile) 2>&5 3985 ac_status=$? 4186 (eval $ac_compile) 2>conftest.er1 4187 ac_status=$? 4188 grep -v '^ *+' conftest.er1 >conftest.err 4189 rm -f conftest.er1 4190 cat conftest.err >&5 3986 4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3987 4192 (exit $ac_status); } && 3988 { ac_try='test -s conftest.$ac_objext' 4193 { ac_try='test -z "$ac_c_werror_flag" 4194 || test ! -s conftest.err' 3989 4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3990 4196 (eval $ac_try) 2>&5 3991 4197 ac_status=$? 3992 4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4199 (exit $ac_status); }; } && 4200 { ac_try='test -s conftest.$ac_objext' 4201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4202 (eval $ac_try) 2>&5 4203 ac_status=$? 4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3993 4205 (exit $ac_status); }; }; then 3994 4206 ac_header_compiler=yes … … 3999 4211 ac_header_compiler=no 4000 4212 fi 4001 rm -f conftest. $ac_objext conftest.$ac_ext4213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4002 4214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4003 4215 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4007 4219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4008 4220 cat >conftest.$ac_ext <<_ACEOF 4009 #line $LINENO "configure"4010 4221 /* confdefs.h. */ 4011 4222 _ACEOF … … 4025 4236 if test -s conftest.err; then 4026 4237 ac_cpp_err=$ac_c_preproc_warn_flag 4238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4027 4239 else 4028 4240 ac_cpp_err= … … 4044 4256 4045 4257 # So? What about this header? 4046 case $ac_header_compiler:$ac_header_preproc in4047 yes:no )4258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4259 yes:no: ) 4048 4260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4049 4261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4264 ac_header_preproc=yes 4265 ;; 4266 no:yes:* ) 4267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4050 4275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4051 4276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4052 4279 ( 4053 4280 cat <<\_ASBOX 4054 ## ------------------------------------ ## 4055 ## Report this to bug-autoconf@gnu.org. ## 4056 ## ------------------------------------ ## 4057 _ASBOX 4058 ) | 4059 sed "s/^/$as_me: WARNING: /" >&2 4060 ;; 4061 no:yes ) 4062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4068 ( 4069 cat <<\_ASBOX 4070 ## ------------------------------------ ## 4071 ## Report this to bug-autoconf@gnu.org. ## 4072 ## ------------------------------------ ## 4281 ## ------------------------------------------- ## 4282 ## Report this to orxonox-dev@mail.datacore.ch ## 4283 ## ------------------------------------------- ## 4073 4284 _ASBOX 4074 4285 ) | … … 4081 4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4082 4293 else 4083 eval "$as_ac_Header= $ac_header_preproc"4294 eval "$as_ac_Header=\$ac_header_preproc" 4084 4295 fi 4085 4296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4110 4321 LIBS="-lglu32 $LIBS" 4111 4322 cat >conftest.$ac_ext <<_ACEOF 4112 #line $LINENO "configure"4113 4323 /* confdefs.h. */ 4114 4324 _ACEOF … … 4128 4338 rm -f conftest.$ac_objext conftest$ac_exeext 4129 4339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4130 (eval $ac_link) 2>&5 4131 ac_status=$? 4340 (eval $ac_link) 2>conftest.er1 4341 ac_status=$? 4342 grep -v '^ *+' conftest.er1 >conftest.err 4343 rm -f conftest.er1 4344 cat conftest.err >&5 4132 4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4133 4346 (exit $ac_status); } && 4134 { ac_try='test -s conftest$ac_exeext' 4347 { ac_try='test -z "$ac_c_werror_flag" 4348 || test ! -s conftest.err' 4135 4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4136 4350 (eval $ac_try) 2>&5 4137 4351 ac_status=$? 4138 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); }; } && 4354 { ac_try='test -s conftest$ac_exeext' 4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4356 (eval $ac_try) 2>&5 4357 ac_status=$? 4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4139 4359 (exit $ac_status); }; }; then 4140 4360 ac_cv_lib_glu32_main=yes … … 4145 4365 ac_cv_lib_glu32_main=no 4146 4366 fi 4147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4367 rm -f conftest.err conftest.$ac_objext \ 4368 conftest$ac_exeext conftest.$ac_ext 4148 4369 LIBS=$ac_check_lib_save_LIBS 4149 4370 fi … … 4173 4394 LIBS="-lmingw32 $LIBS" 4174 4395 cat >conftest.$ac_ext <<_ACEOF 4175 #line $LINENO "configure"4176 4396 /* confdefs.h. */ 4177 4397 _ACEOF … … 4191 4411 rm -f conftest.$ac_objext conftest$ac_exeext 4192 4412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4193 (eval $ac_link) 2>&5 4194 ac_status=$? 4413 (eval $ac_link) 2>conftest.er1 4414 ac_status=$? 4415 grep -v '^ *+' conftest.er1 >conftest.err 4416 rm -f conftest.er1 4417 cat conftest.err >&5 4195 4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4196 4419 (exit $ac_status); } && 4197 { ac_try='test -s conftest$ac_exeext' 4420 { ac_try='test -z "$ac_c_werror_flag" 4421 || test ! -s conftest.err' 4198 4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4199 4423 (eval $ac_try) 2>&5 4200 4424 ac_status=$? 4201 4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4426 (exit $ac_status); }; } && 4427 { ac_try='test -s conftest$ac_exeext' 4428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4429 (eval $ac_try) 2>&5 4430 ac_status=$? 4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4202 4432 (exit $ac_status); }; }; then 4203 4433 ac_cv_lib_mingw32_main=yes … … 4208 4438 ac_cv_lib_mingw32_main=no 4209 4439 fi 4210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4440 rm -f conftest.err conftest.$ac_objext \ 4441 conftest$ac_exeext conftest.$ac_ext 4211 4442 LIBS=$ac_check_lib_save_LIBS 4212 4443 fi … … 4238 4469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4239 4470 cat >conftest.$ac_ext <<_ACEOF 4240 #line $LINENO "configure"4241 4471 /* confdefs.h. */ 4242 4472 _ACEOF … … 4249 4479 rm -f conftest.$ac_objext 4250 4480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4251 (eval $ac_compile) 2>&5 4252 ac_status=$? 4481 (eval $ac_compile) 2>conftest.er1 4482 ac_status=$? 4483 grep -v '^ *+' conftest.er1 >conftest.err 4484 rm -f conftest.er1 4485 cat conftest.err >&5 4253 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 4487 (exit $ac_status); } && 4255 { ac_try='test -s conftest.$ac_objext' 4488 { ac_try='test -z "$ac_c_werror_flag" 4489 || test ! -s conftest.err' 4256 4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4257 4491 (eval $ac_try) 2>&5 4258 4492 ac_status=$? 4259 4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4494 (exit $ac_status); }; } && 4495 { ac_try='test -s conftest.$ac_objext' 4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4497 (eval $ac_try) 2>&5 4498 ac_status=$? 4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4260 4500 (exit $ac_status); }; }; then 4261 4501 ac_header_compiler=yes … … 4266 4506 ac_header_compiler=no 4267 4507 fi 4268 rm -f conftest. $ac_objext conftest.$ac_ext4508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4269 4509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4270 4510 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4274 4514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4275 4515 cat >conftest.$ac_ext <<_ACEOF 4276 #line $LINENO "configure"4277 4516 /* confdefs.h. */ 4278 4517 _ACEOF … … 4292 4531 if test -s conftest.err; then 4293 4532 ac_cpp_err=$ac_c_preproc_warn_flag 4533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4294 4534 else 4295 4535 ac_cpp_err= … … 4311 4551 4312 4552 # So? What about this header? 4313 case $ac_header_compiler:$ac_header_preproc in4314 yes:no )4553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4554 yes:no: ) 4315 4555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4316 4556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4559 ac_header_preproc=yes 4560 ;; 4561 no:yes:* ) 4562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4317 4570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4318 4571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4319 4574 ( 4320 4575 cat <<\_ASBOX 4321 ## ------------------------------------ ## 4322 ## Report this to bug-autoconf@gnu.org. ## 4323 ## ------------------------------------ ## 4324 _ASBOX 4325 ) | 4326 sed "s/^/$as_me: WARNING: /" >&2 4327 ;; 4328 no:yes ) 4329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4335 ( 4336 cat <<\_ASBOX 4337 ## ------------------------------------ ## 4338 ## Report this to bug-autoconf@gnu.org. ## 4339 ## ------------------------------------ ## 4576 ## ------------------------------------------- ## 4577 ## Report this to orxonox-dev@mail.datacore.ch ## 4578 ## ------------------------------------------- ## 4340 4579 _ASBOX 4341 4580 ) | … … 4348 4587 echo $ECHO_N "(cached) $ECHO_C" >&6 4349 4588 else 4350 eval "$as_ac_Header= $ac_header_preproc"4589 eval "$as_ac_Header=\$ac_header_preproc" 4351 4590 fi 4352 4591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4377 4616 LIBS="-lsdlmain $LIBS" 4378 4617 cat >conftest.$ac_ext <<_ACEOF 4379 #line $LINENO "configure"4380 4618 /* confdefs.h. */ 4381 4619 _ACEOF … … 4395 4633 rm -f conftest.$ac_objext conftest$ac_exeext 4396 4634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4397 (eval $ac_link) 2>&5 4398 ac_status=$? 4635 (eval $ac_link) 2>conftest.er1 4636 ac_status=$? 4637 grep -v '^ *+' conftest.er1 >conftest.err 4638 rm -f conftest.er1 4639 cat conftest.err >&5 4399 4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4400 4641 (exit $ac_status); } && 4401 { ac_try='test -s conftest$ac_exeext' 4642 { ac_try='test -z "$ac_c_werror_flag" 4643 || test ! -s conftest.err' 4402 4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4403 4645 (eval $ac_try) 2>&5 4404 4646 ac_status=$? 4405 4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4648 (exit $ac_status); }; } && 4649 { ac_try='test -s conftest$ac_exeext' 4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4651 (eval $ac_try) 2>&5 4652 ac_status=$? 4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4406 4654 (exit $ac_status); }; }; then 4407 4655 ac_cv_lib_sdlmain_main=yes … … 4412 4660 ac_cv_lib_sdlmain_main=no 4413 4661 fi 4414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4662 rm -f conftest.err conftest.$ac_objext \ 4663 conftest$ac_exeext conftest.$ac_ext 4415 4664 LIBS=$ac_check_lib_save_LIBS 4416 4665 fi … … 4438 4687 LIBS="-lsdl $LIBS" 4439 4688 cat >conftest.$ac_ext <<_ACEOF 4440 #line $LINENO "configure"4441 4689 /* confdefs.h. */ 4442 4690 _ACEOF … … 4456 4704 rm -f conftest.$ac_objext conftest$ac_exeext 4457 4705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4458 (eval $ac_link) 2>&5 4459 ac_status=$? 4706 (eval $ac_link) 2>conftest.er1 4707 ac_status=$? 4708 grep -v '^ *+' conftest.er1 >conftest.err 4709 rm -f conftest.er1 4710 cat conftest.err >&5 4460 4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4461 4712 (exit $ac_status); } && 4462 { ac_try='test -s conftest$ac_exeext' 4713 { ac_try='test -z "$ac_c_werror_flag" 4714 || test ! -s conftest.err' 4463 4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4464 4716 (eval $ac_try) 2>&5 4465 4717 ac_status=$? 4466 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; } && 4720 { ac_try='test -s conftest$ac_exeext' 4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4722 (eval $ac_try) 2>&5 4723 ac_status=$? 4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4467 4725 (exit $ac_status); }; }; then 4468 4726 ac_cv_lib_sdl_main=yes … … 4473 4731 ac_cv_lib_sdl_main=no 4474 4732 fi 4475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4733 rm -f conftest.err conftest.$ac_objext \ 4734 conftest$ac_exeext conftest.$ac_ext 4476 4735 LIBS=$ac_check_lib_save_LIBS 4477 4736 fi … … 4519 4778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4520 4779 cat >conftest.$ac_ext <<_ACEOF 4521 #line $LINENO "configure"4522 4780 /* confdefs.h. */ 4523 4781 _ACEOF … … 4530 4788 rm -f conftest.$ac_objext 4531 4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4532 (eval $ac_compile) 2>&5 4533 ac_status=$? 4790 (eval $ac_compile) 2>conftest.er1 4791 ac_status=$? 4792 grep -v '^ *+' conftest.er1 >conftest.err 4793 rm -f conftest.er1 4794 cat conftest.err >&5 4534 4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4535 4796 (exit $ac_status); } && 4536 { ac_try='test -s conftest.$ac_objext' 4797 { ac_try='test -z "$ac_c_werror_flag" 4798 || test ! -s conftest.err' 4537 4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4538 4800 (eval $ac_try) 2>&5 4539 4801 ac_status=$? 4540 4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4803 (exit $ac_status); }; } && 4804 { ac_try='test -s conftest.$ac_objext' 4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4806 (eval $ac_try) 2>&5 4807 ac_status=$? 4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4541 4809 (exit $ac_status); }; }; then 4542 4810 ac_header_compiler=yes … … 4547 4815 ac_header_compiler=no 4548 4816 fi 4549 rm -f conftest. $ac_objext conftest.$ac_ext4817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4550 4818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4551 4819 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4555 4823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4556 4824 cat >conftest.$ac_ext <<_ACEOF 4557 #line $LINENO "configure"4558 4825 /* confdefs.h. */ 4559 4826 _ACEOF … … 4573 4840 if test -s conftest.err; then 4574 4841 ac_cpp_err=$ac_c_preproc_warn_flag 4842 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4575 4843 else 4576 4844 ac_cpp_err= … … 4592 4860 4593 4861 # So? What about this header? 4594 case $ac_header_compiler:$ac_header_preproc in4595 yes:no )4862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4863 yes:no: ) 4596 4864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4597 4865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4868 ac_header_preproc=yes 4869 ;; 4870 no:yes:* ) 4871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4598 4879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4599 4880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4600 4883 ( 4601 4884 cat <<\_ASBOX 4602 ## ------------------------------------ ## 4603 ## Report this to bug-autoconf@gnu.org. ## 4604 ## ------------------------------------ ## 4605 _ASBOX 4606 ) | 4607 sed "s/^/$as_me: WARNING: /" >&2 4608 ;; 4609 no:yes ) 4610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4616 ( 4617 cat <<\_ASBOX 4618 ## ------------------------------------ ## 4619 ## Report this to bug-autoconf@gnu.org. ## 4620 ## ------------------------------------ ## 4885 ## ------------------------------------------- ## 4886 ## Report this to orxonox-dev@mail.datacore.ch ## 4887 ## ------------------------------------------- ## 4621 4888 _ASBOX 4622 4889 ) | … … 4629 4896 echo $ECHO_N "(cached) $ECHO_C" >&6 4630 4897 else 4631 eval "$as_ac_Header= $ac_header_preproc"4898 eval "$as_ac_Header=\$ac_header_preproc" 4632 4899 fi 4633 4900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4658 4925 LIBS="-lGL $LIBS" 4659 4926 cat >conftest.$ac_ext <<_ACEOF 4660 #line $LINENO "configure"4661 4927 /* confdefs.h. */ 4662 4928 _ACEOF … … 4676 4942 rm -f conftest.$ac_objext conftest$ac_exeext 4677 4943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4678 (eval $ac_link) 2>&5 4679 ac_status=$? 4944 (eval $ac_link) 2>conftest.er1 4945 ac_status=$? 4946 grep -v '^ *+' conftest.er1 >conftest.err 4947 rm -f conftest.er1 4948 cat conftest.err >&5 4680 4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4681 4950 (exit $ac_status); } && 4682 { ac_try='test -s conftest$ac_exeext' 4951 { ac_try='test -z "$ac_c_werror_flag" 4952 || test ! -s conftest.err' 4683 4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4684 4954 (eval $ac_try) 2>&5 4685 4955 ac_status=$? 4686 4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4957 (exit $ac_status); }; } && 4958 { ac_try='test -s conftest$ac_exeext' 4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4960 (eval $ac_try) 2>&5 4961 ac_status=$? 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4687 4963 (exit $ac_status); }; }; then 4688 4964 ac_cv_lib_GL_main=yes … … 4693 4969 ac_cv_lib_GL_main=no 4694 4970 fi 4695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4971 rm -f conftest.err conftest.$ac_objext \ 4972 conftest$ac_exeext conftest.$ac_ext 4696 4973 LIBS=$ac_check_lib_save_LIBS 4697 4974 fi … … 4730 5007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4731 5008 cat >conftest.$ac_ext <<_ACEOF 4732 #line $LINENO "configure"4733 5009 /* confdefs.h. */ 4734 5010 _ACEOF … … 4741 5017 rm -f conftest.$ac_objext 4742 5018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4743 (eval $ac_compile) 2>&5 4744 ac_status=$? 5019 (eval $ac_compile) 2>conftest.er1 5020 ac_status=$? 5021 grep -v '^ *+' conftest.er1 >conftest.err 5022 rm -f conftest.er1 5023 cat conftest.err >&5 4745 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4746 5025 (exit $ac_status); } && 4747 { ac_try='test -s conftest.$ac_objext' 5026 { ac_try='test -z "$ac_c_werror_flag" 5027 || test ! -s conftest.err' 4748 5028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4749 5029 (eval $ac_try) 2>&5 4750 5030 ac_status=$? 4751 5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 (exit $ac_status); }; } && 5033 { ac_try='test -s conftest.$ac_objext' 5034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5035 (eval $ac_try) 2>&5 5036 ac_status=$? 5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 5038 (exit $ac_status); }; }; then 4753 5039 ac_header_compiler=yes … … 4758 5044 ac_header_compiler=no 4759 5045 fi 4760 rm -f conftest. $ac_objext conftest.$ac_ext5046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4761 5047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4762 5048 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4766 5052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4767 5053 cat >conftest.$ac_ext <<_ACEOF 4768 #line $LINENO "configure"4769 5054 /* confdefs.h. */ 4770 5055 _ACEOF … … 4784 5069 if test -s conftest.err; then 4785 5070 ac_cpp_err=$ac_c_preproc_warn_flag 5071 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4786 5072 else 4787 5073 ac_cpp_err= … … 4803 5089 4804 5090 # So? What about this header? 4805 case $ac_header_compiler:$ac_header_preproc in4806 yes:no )5091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5092 yes:no: ) 4807 5093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4808 5094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5097 ac_header_preproc=yes 5098 ;; 5099 no:yes:* ) 5100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4809 5108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4810 5109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4811 5112 ( 4812 5113 cat <<\_ASBOX 4813 ## ------------------------------------ ## 4814 ## Report this to bug-autoconf@gnu.org. ## 4815 ## ------------------------------------ ## 4816 _ASBOX 4817 ) | 4818 sed "s/^/$as_me: WARNING: /" >&2 4819 ;; 4820 no:yes ) 4821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4827 ( 4828 cat <<\_ASBOX 4829 ## ------------------------------------ ## 4830 ## Report this to bug-autoconf@gnu.org. ## 4831 ## ------------------------------------ ## 5114 ## ------------------------------------------- ## 5115 ## Report this to orxonox-dev@mail.datacore.ch ## 5116 ## ------------------------------------------- ## 4832 5117 _ASBOX 4833 5118 ) | … … 4840 5125 echo $ECHO_N "(cached) $ECHO_C" >&6 4841 5126 else 4842 eval "$as_ac_Header= $ac_header_preproc"5127 eval "$as_ac_Header=\$ac_header_preproc" 4843 5128 fi 4844 5129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4868 5153 LIBS="-lGLU $LIBS" 4869 5154 cat >conftest.$ac_ext <<_ACEOF 4870 #line $LINENO "configure"4871 5155 /* confdefs.h. */ 4872 5156 _ACEOF … … 4892 5176 rm -f conftest.$ac_objext conftest$ac_exeext 4893 5177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4894 (eval $ac_link) 2>&5 4895 ac_status=$? 5178 (eval $ac_link) 2>conftest.er1 5179 ac_status=$? 5180 grep -v '^ *+' conftest.er1 >conftest.err 5181 rm -f conftest.er1 5182 cat conftest.err >&5 4896 5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4897 5184 (exit $ac_status); } && 4898 { ac_try='test -s conftest$ac_exeext' 5185 { ac_try='test -z "$ac_c_werror_flag" 5186 || test ! -s conftest.err' 4899 5187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 5188 (eval $ac_try) 2>&5 4901 5189 ac_status=$? 4902 5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5191 (exit $ac_status); }; } && 5192 { ac_try='test -s conftest$ac_exeext' 5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5194 (eval $ac_try) 2>&5 5195 ac_status=$? 5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 5197 (exit $ac_status); }; }; then 4904 5198 ac_cv_lib_GLU_gluProject=yes … … 4909 5203 ac_cv_lib_GLU_gluProject=no 4910 5204 fi 4911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5205 rm -f conftest.err conftest.$ac_objext \ 5206 conftest$ac_exeext conftest.$ac_ext 4912 5207 LIBS=$ac_check_lib_save_LIBS 4913 5208 fi … … 5035 5330 else 5036 5331 cat >conftest.$ac_ext <<_ACEOF 5037 #line $LINENO "configure"5038 5332 /* confdefs.h. */ 5039 5333 _ACEOF … … 5120 5414 no_sdl=yes 5121 5415 fi 5122 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext5416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5123 5417 fi 5124 5418 CFLAGS="$ac_save_CFLAGS" … … 5146 5440 LIBS="$LIBS $SDL_LIBS" 5147 5441 cat >conftest.$ac_ext <<_ACEOF 5148 #line $LINENO "configure"5149 5442 /* confdefs.h. */ 5150 5443 _ACEOF … … 5171 5464 rm -f conftest.$ac_objext conftest$ac_exeext 5172 5465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5173 (eval $ac_link) 2>&5 5174 ac_status=$? 5466 (eval $ac_link) 2>conftest.er1 5467 ac_status=$? 5468 grep -v '^ *+' conftest.er1 >conftest.err 5469 rm -f conftest.er1 5470 cat conftest.err >&5 5175 5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 5472 (exit $ac_status); } && 5177 { ac_try='test -s conftest$ac_exeext' 5473 { ac_try='test -z "$ac_c_werror_flag" 5474 || test ! -s conftest.err' 5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5476 (eval $ac_try) 2>&5 5477 ac_status=$? 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); }; } && 5480 { ac_try='test -s conftest$ac_exeext' 5178 5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5179 5482 (eval $ac_try) 2>&5 … … 5199 5502 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 5200 5503 fi 5201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5504 rm -f conftest.err conftest.$ac_objext \ 5505 conftest$ac_exeext conftest.$ac_ext 5202 5506 CFLAGS="$ac_save_CFLAGS" 5203 5507 LIBS="$ac_save_LIBS" … … 5243 5547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5244 5548 cat >conftest.$ac_ext <<_ACEOF 5245 #line $LINENO "configure"5246 5549 /* confdefs.h. */ 5247 5550 _ACEOF … … 5254 5557 rm -f conftest.$ac_objext 5255 5558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5256 (eval $ac_compile) 2>&5 5257 ac_status=$? 5559 (eval $ac_compile) 2>conftest.er1 5560 ac_status=$? 5561 grep -v '^ *+' conftest.er1 >conftest.err 5562 rm -f conftest.er1 5563 cat conftest.err >&5 5258 5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 5565 (exit $ac_status); } && 5260 { ac_try='test -s conftest.$ac_objext' 5566 { ac_try='test -z "$ac_c_werror_flag" 5567 || test ! -s conftest.err' 5261 5568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5262 5569 (eval $ac_try) 2>&5 5263 5570 ac_status=$? 5264 5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5572 (exit $ac_status); }; } && 5573 { ac_try='test -s conftest.$ac_objext' 5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5575 (eval $ac_try) 2>&5 5576 ac_status=$? 5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5265 5578 (exit $ac_status); }; }; then 5266 5579 ac_header_compiler=yes … … 5271 5584 ac_header_compiler=no 5272 5585 fi 5273 rm -f conftest. $ac_objext conftest.$ac_ext5586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5274 5587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5275 5588 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5279 5592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5280 5593 cat >conftest.$ac_ext <<_ACEOF 5281 #line $LINENO "configure"5282 5594 /* confdefs.h. */ 5283 5595 _ACEOF … … 5297 5609 if test -s conftest.err; then 5298 5610 ac_cpp_err=$ac_c_preproc_warn_flag 5611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5299 5612 else 5300 5613 ac_cpp_err= … … 5316 5629 5317 5630 # So? What about this header? 5318 case $ac_header_compiler:$ac_header_preproc in5319 yes:no )5631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5632 yes:no: ) 5320 5633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5321 5634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5637 ac_header_preproc=yes 5638 ;; 5639 no:yes:* ) 5640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5322 5648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5323 5649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5324 5652 ( 5325 5653 cat <<\_ASBOX 5326 ## ------------------------------------ ## 5327 ## Report this to bug-autoconf@gnu.org. ## 5328 ## ------------------------------------ ## 5329 _ASBOX 5330 ) | 5331 sed "s/^/$as_me: WARNING: /" >&2 5332 ;; 5333 no:yes ) 5334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5340 ( 5341 cat <<\_ASBOX 5342 ## ------------------------------------ ## 5343 ## Report this to bug-autoconf@gnu.org. ## 5344 ## ------------------------------------ ## 5654 ## ------------------------------------------- ## 5655 ## Report this to orxonox-dev@mail.datacore.ch ## 5656 ## ------------------------------------------- ## 5345 5657 _ASBOX 5346 5658 ) | … … 5353 5665 echo $ECHO_N "(cached) $ECHO_C" >&6 5354 5666 else 5355 eval "$as_ac_Header= $ac_header_preproc"5667 eval "$as_ac_Header=\$ac_header_preproc" 5356 5668 fi 5357 5669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5390 5702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5391 5703 cat >conftest.$ac_ext <<_ACEOF 5392 #line $LINENO "configure"5393 5704 /* confdefs.h. */ 5394 5705 _ACEOF … … 5401 5712 rm -f conftest.$ac_objext 5402 5713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5403 (eval $ac_compile) 2>&5 5404 ac_status=$? 5714 (eval $ac_compile) 2>conftest.er1 5715 ac_status=$? 5716 grep -v '^ *+' conftest.er1 >conftest.err 5717 rm -f conftest.er1 5718 cat conftest.err >&5 5405 5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5406 5720 (exit $ac_status); } && 5407 { ac_try='test -s conftest.$ac_objext' 5721 { ac_try='test -z "$ac_c_werror_flag" 5722 || test ! -s conftest.err' 5408 5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5409 5724 (eval $ac_try) 2>&5 5410 5725 ac_status=$? 5411 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5727 (exit $ac_status); }; } && 5728 { ac_try='test -s conftest.$ac_objext' 5729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 (eval $ac_try) 2>&5 5731 ac_status=$? 5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5412 5733 (exit $ac_status); }; }; then 5413 5734 ac_header_compiler=yes … … 5418 5739 ac_header_compiler=no 5419 5740 fi 5420 rm -f conftest. $ac_objext conftest.$ac_ext5741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5421 5742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5422 5743 echo "${ECHO_T}$ac_header_compiler" >&6 … … 5426 5747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5427 5748 cat >conftest.$ac_ext <<_ACEOF 5428 #line $LINENO "configure"5429 5749 /* confdefs.h. */ 5430 5750 _ACEOF … … 5444 5764 if test -s conftest.err; then 5445 5765 ac_cpp_err=$ac_c_preproc_warn_flag 5766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5446 5767 else 5447 5768 ac_cpp_err= … … 5463 5784 5464 5785 # So? What about this header? 5465 case $ac_header_compiler:$ac_header_preproc in5466 yes:no )5786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5787 yes:no: ) 5467 5788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5468 5789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5792 ac_header_preproc=yes 5793 ;; 5794 no:yes:* ) 5795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5469 5803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5470 5804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5471 5807 ( 5472 5808 cat <<\_ASBOX 5473 ## ------------------------------------ ## 5474 ## Report this to bug-autoconf@gnu.org. ## 5475 ## ------------------------------------ ## 5476 _ASBOX 5477 ) | 5478 sed "s/^/$as_me: WARNING: /" >&2 5479 ;; 5480 no:yes ) 5481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5487 ( 5488 cat <<\_ASBOX 5489 ## ------------------------------------ ## 5490 ## Report this to bug-autoconf@gnu.org. ## 5491 ## ------------------------------------ ## 5809 ## ------------------------------------------- ## 5810 ## Report this to orxonox-dev@mail.datacore.ch ## 5811 ## ------------------------------------------- ## 5492 5812 _ASBOX 5493 5813 ) | … … 5500 5820 echo $ECHO_N "(cached) $ECHO_C" >&6 5501 5821 else 5502 eval "$as_ac_Header= $ac_header_preproc"5822 eval "$as_ac_Header=\$ac_header_preproc" 5503 5823 fi 5504 5824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 5522 5842 LIBS="$LIBS -framework OpenGL" 5523 5843 5524 ## checking for SDL 5525 SDL_VERSION=1.2.7 5526 5527 # Check whether --with-sdl-prefix or --without-sdl-prefix was given. 5528 if test "${with_sdl_prefix+set}" = set; then 5529 withval="$with_sdl_prefix" 5530 sdl_prefix="$withval" 5531 else 5532 sdl_prefix="" 5533 fi; 5534 5535 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given. 5536 if test "${with_sdl_exec_prefix+set}" = set; then 5537 withval="$with_sdl_exec_prefix" 5538 sdl_exec_prefix="$withval" 5539 else 5540 sdl_exec_prefix="" 5541 fi; 5542 # Check whether --enable-sdltest or --disable-sdltest was given. 5543 if test "${enable_sdltest+set}" = set; then 5544 enableval="$enable_sdltest" 5545 5546 else 5547 enable_sdltest=yes 5548 fi; 5549 5550 if test x$sdl_exec_prefix != x ; then 5551 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" 5552 if test x${SDL_CONFIG+set} != xset ; then 5553 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config 5554 fi 5555 fi 5556 if test x$sdl_prefix != x ; then 5557 sdl_args="$sdl_args --prefix=$sdl_prefix" 5558 if test x${SDL_CONFIG+set} != xset ; then 5559 SDL_CONFIG=$sdl_prefix/bin/sdl-config 5560 fi 5561 fi 5562 5563 5564 PATH="$prefix/bin:$prefix/usr/bin:$PATH" 5565 # Extract the first word of "sdl-config", so it can be a program name with args. 5566 set dummy sdl-config; ac_word=$2 5567 echo "$as_me:$LINENO: checking for $ac_word" >&5 5568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5569 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then 5844 # checking for SDL-headers 5845 5846 for ac_header in SDL/SDL.h 5847 do 5848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5849 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5850 echo "$as_me:$LINENO: checking for $ac_header" >&5 5851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5852 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5570 5853 echo $ECHO_N "(cached) $ECHO_C" >&6 5571 else 5572 case $SDL_CONFIG in 5573 [\\/]* | ?:[\\/]*) 5574 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. 5575 ;; 5576 *) 5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5578 for as_dir in $PATH 5579 do 5580 IFS=$as_save_IFS 5581 test -z "$as_dir" && as_dir=. 5582 for ac_exec_ext in '' $ac_executable_extensions; do 5583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5584 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5586 break 2 5587 fi 5588 done 5589 done 5590 5591 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" 5592 ;; 5593 esac 5594 fi 5595 SDL_CONFIG=$ac_cv_path_SDL_CONFIG 5596 5597 if test -n "$SDL_CONFIG"; then 5598 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5 5599 echo "${ECHO_T}$SDL_CONFIG" >&6 5600 else 5601 echo "$as_me:$LINENO: result: no" >&5 5602 echo "${ECHO_T}no" >&6 5603 fi 5604 5605 min_sdl_version=$SDL_VERSION 5606 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5 5607 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6 5608 no_sdl="" 5609 if test "$SDL_CONFIG" = "no" ; then 5610 no_sdl=yes 5611 else 5612 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` 5613 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` 5614 5615 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ 5616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 5617 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ 5618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 5619 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ 5620 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 5621 if test "x$enable_sdltest" = "xyes" ; then 5622 ac_save_CFLAGS="$CFLAGS" 5623 ac_save_LIBS="$LIBS" 5624 CFLAGS="$CFLAGS $SDL_CFLAGS" 5625 LIBS="$LIBS $SDL_LIBS" 5626 rm -f conf.sdltest 5627 if test "$cross_compiling" = yes; then 5628 echo $ac_n "cross compiling; assumed OK... $ac_c" 5629 else 5630 cat >conftest.$ac_ext <<_ACEOF 5631 #line $LINENO "configure" 5854 fi 5855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5857 else 5858 # Is the header compilable? 5859 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5861 cat >conftest.$ac_ext <<_ACEOF 5632 5862 /* confdefs.h. */ 5633 5863 _ACEOF … … 5635 5865 cat >>conftest.$ac_ext <<_ACEOF 5636 5866 /* end confdefs.h. */ 5637 5638 #include <stdio.h> 5639 #include <stdlib.h> 5640 #include <string.h> 5641 #include "SDL.h" 5642 5643 char* 5644 my_strdup (char *str) 5645 { 5646 char *new_str; 5647 5648 if (str) 5649 { 5650 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); 5651 strcpy (new_str, str); 5652 } 5653 else 5654 new_str = NULL; 5655 5656 return new_str; 5657 } 5658 5659 int main (int argc, char *argv[]) 5660 { 5661 int major, minor, micro; 5662 char *tmp_version; 5663 5664 /* This hangs on some systems (?) 5665 system ("touch conf.sdltest"); 5666 */ 5667 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } 5668 5669 /* HP/UX 9 (%@#!) writes to sscanf strings */ 5670 tmp_version = my_strdup("$min_sdl_version"); 5671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 5672 printf("%s, bad version string\n", "$min_sdl_version"); 5673 exit(1); 5674 } 5675 5676 if (($sdl_major_version > major) || 5677 (($sdl_major_version == major) && ($sdl_minor_version > minor)) || 5678 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) 5679 { 5680 return 0; 5681 } 5682 else 5683 { 5684 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); 5685 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); 5686 printf("*** best to upgrade to the required version.\n"); 5687 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); 5688 printf("*** to point to the correct copy of sdl-config, and remove the file\n"); 5689 printf("*** config.cache before re-running configure\n"); 5690 return 1; 5691 } 5692 } 5693 5694 5695 _ACEOF 5696 rm -f conftest$ac_exeext 5697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5698 (eval $ac_link) 2>&5 5699 ac_status=$? 5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5701 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5867 $ac_includes_default 5868 #include <$ac_header> 5869 _ACEOF 5870 rm -f conftest.$ac_objext 5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5872 (eval $ac_compile) 2>conftest.er1 5873 ac_status=$? 5874 grep -v '^ *+' conftest.er1 >conftest.err 5875 rm -f conftest.er1 5876 cat conftest.err >&5 5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5878 (exit $ac_status); } && 5879 { ac_try='test -z "$ac_c_werror_flag" 5880 || test ! -s conftest.err' 5702 5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5703 5882 (eval $ac_try) 2>&5 5704 5883 ac_status=$? 5705 5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5885 (exit $ac_status); }; } && 5886 { ac_try='test -s conftest.$ac_objext' 5887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5888 (eval $ac_try) 2>&5 5889 ac_status=$? 5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5706 5891 (exit $ac_status); }; }; then 5707 : 5708 else 5709 echo "$as_me: program exited with status $ac_status" >&5 5710 echo "$as_me: failed program was:" >&5 5892 ac_header_compiler=yes 5893 else 5894 echo "$as_me: failed program was:" >&5 5711 5895 sed 's/^/| /' conftest.$ac_ext >&5 5712 5896 5713 ( exit $ac_status ) 5714 no_sdl=yes 5715 fi 5716 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5717 fi 5718 CFLAGS="$ac_save_CFLAGS" 5719 LIBS="$ac_save_LIBS" 5720 fi 5721 fi 5722 if test "x$no_sdl" = x ; then 5723 echo "$as_me:$LINENO: result: yes" >&5 5724 echo "${ECHO_T}yes" >&6 5725 : 5726 else 5727 echo "$as_me:$LINENO: result: no" >&5 5728 echo "${ECHO_T}no" >&6 5729 if test "$SDL_CONFIG" = "no" ; then 5730 echo "*** The sdl-config script installed by SDL could not be found" 5731 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" 5732 echo "*** your path, or set the SDL_CONFIG environment variable to the" 5733 echo "*** full path to sdl-config." 5734 else 5735 if test -f conf.sdltest ; then 5736 : 5737 else 5738 echo "*** Could not run SDL test program, checking why..." 5739 CFLAGS="$CFLAGS $SDL_CFLAGS" 5740 LIBS="$LIBS $SDL_LIBS" 5741 cat >conftest.$ac_ext <<_ACEOF 5742 #line $LINENO "configure" 5897 ac_header_compiler=no 5898 fi 5899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5901 echo "${ECHO_T}$ac_header_compiler" >&6 5902 5903 # Is the header present? 5904 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5906 cat >conftest.$ac_ext <<_ACEOF 5743 5907 /* confdefs.h. */ 5744 5908 _ACEOF … … 5746 5910 cat >>conftest.$ac_ext <<_ACEOF 5747 5911 /* end confdefs.h. */ 5748 5749 #include <stdio.h> 5750 #include "SDL.h" 5751 5752 int main(int argc, char *argv[]) 5753 { return 0; } 5754 #undef main 5755 #define main K_and_R_C_main 5756 5757 int 5758 main () 5759 { 5760 return 0; 5761 ; 5762 return 0; 5763 } 5764 _ACEOF 5765 rm -f conftest.$ac_objext conftest$ac_exeext 5766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5767 (eval $ac_link) 2>&5 5768 ac_status=$? 5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5770 (exit $ac_status); } && 5771 { ac_try='test -s conftest$ac_exeext' 5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5773 (eval $ac_try) 2>&5 5774 ac_status=$? 5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5776 (exit $ac_status); }; }; then 5777 echo "*** The test program compiled, but did not run. This usually means" 5778 echo "*** that the run-time linker is not finding SDL or finding the wrong" 5779 echo "*** version of SDL. If it is not finding SDL, you'll need to set your" 5780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 5781 echo "*** to the installed location Also, make sure you have run ldconfig if that" 5782 echo "*** is required on your system" 5783 echo "***" 5784 echo "*** If you have an old version installed, it is best to remove it, although" 5785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 5912 #include <$ac_header> 5913 _ACEOF 5914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5916 ac_status=$? 5917 grep -v '^ *+' conftest.er1 >conftest.err 5918 rm -f conftest.er1 5919 cat conftest.err >&5 5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5921 (exit $ac_status); } >/dev/null; then 5922 if test -s conftest.err; then 5923 ac_cpp_err=$ac_c_preproc_warn_flag 5924 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5925 else 5926 ac_cpp_err= 5927 fi 5928 else 5929 ac_cpp_err=yes 5930 fi 5931 if test -z "$ac_cpp_err"; then 5932 ac_header_preproc=yes 5786 5933 else 5787 5934 echo "$as_me: failed program was:" >&5 5788 5935 sed 's/^/| /' conftest.$ac_ext >&5 5789 5936 5790 echo "*** The test program failed to compile or link. See the file config.log for the" 5791 echo "*** exact error that occured. This usually means SDL was incorrectly installed" 5792 echo "*** or that you have moved SDL since it was installed. In the latter case, you" 5793 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 5794 fi 5795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5796 CFLAGS="$ac_save_CFLAGS" 5797 LIBS="$ac_save_LIBS" 5798 fi 5799 fi 5800 SDL_CFLAGS="" 5801 SDL_LIBS="" 5802 { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5 5803 echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;} 5937 ac_header_preproc=no 5938 fi 5939 rm -f conftest.err conftest.$ac_ext 5940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5941 echo "${ECHO_T}$ac_header_preproc" >&6 5942 5943 # So? What about this header? 5944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5945 yes:no: ) 5946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5950 ac_header_preproc=yes 5951 ;; 5952 no:yes:* ) 5953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5965 ( 5966 cat <<\_ASBOX 5967 ## ------------------------------------------- ## 5968 ## Report this to orxonox-dev@mail.datacore.ch ## 5969 ## ------------------------------------------- ## 5970 _ASBOX 5971 ) | 5972 sed "s/^/$as_me: WARNING: /" >&2 5973 ;; 5974 esac 5975 echo "$as_me:$LINENO: checking for $ac_header" >&5 5976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5977 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5978 echo $ECHO_N "(cached) $ECHO_C" >&6 5979 else 5980 eval "$as_ac_Header=\$ac_header_preproc" 5981 fi 5982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5984 5985 fi 5986 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5987 cat >>confdefs.h <<_ACEOF 5988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5989 _ACEOF 5990 5991 else 5992 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 5993 echo "$as_me: error: cannot find SDL headers" >&2;} 5804 5994 { (exit 1); exit 1; }; } 5805 5806 fi 5807 5808 5809 rm -f conf.sdltest 5810 5811 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 5812 LIBS="$LIBS $SDL_LIBS" 5995 fi 5996 5997 done 5998 5999 6000 ## checking for SDL 6001 # SDL_VERSION=1.2.7 6002 # AM_PATH_SDL($SDL_VERSION, 6003 # :, 6004 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) 6005 # ) 6006 6007 SDL_CFLAGS=`sdl-config --cflags` 6008 SDL_LIBS=`sdl-config --libs` 6009 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 6010 LIBS="$LIBS $SDL_LIBS" 5813 6011 ;; 5814 6012 … … 5943 6141 LIBS="-lpthread $LIBS" 5944 6142 cat >conftest.$ac_ext <<_ACEOF 5945 #line $LINENO "configure"5946 6143 /* confdefs.h. */ 5947 6144 _ACEOF … … 5961 6158 rm -f conftest.$ac_objext conftest$ac_exeext 5962 6159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5963 (eval $ac_link) 2>&5 5964 ac_status=$? 6160 (eval $ac_link) 2>conftest.er1 6161 ac_status=$? 6162 grep -v '^ *+' conftest.er1 >conftest.err 6163 rm -f conftest.er1 6164 cat conftest.err >&5 5965 6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5966 6166 (exit $ac_status); } && 5967 { ac_try='test -s conftest$ac_exeext' 6167 { ac_try='test -z "$ac_c_werror_flag" 6168 || test ! -s conftest.err' 5968 6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5969 6170 (eval $ac_try) 2>&5 5970 6171 ac_status=$? 5971 6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6173 (exit $ac_status); }; } && 6174 { ac_try='test -s conftest$ac_exeext' 6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6176 (eval $ac_try) 2>&5 6177 ac_status=$? 6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5972 6179 (exit $ac_status); }; }; then 5973 6180 ac_cv_lib_pthread_main=yes … … 5978 6185 ac_cv_lib_pthread_main=no 5979 6186 fi 5980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6187 rm -f conftest.err conftest.$ac_objext \ 6188 conftest$ac_exeext conftest.$ac_ext 5981 6189 LIBS=$ac_check_lib_save_LIBS 5982 6190 fi … … 6002 6210 LIBS="-lm $LIBS" 6003 6211 cat >conftest.$ac_ext <<_ACEOF 6004 #line $LINENO "configure"6005 6212 /* confdefs.h. */ 6006 6213 _ACEOF … … 6020 6227 rm -f conftest.$ac_objext conftest$ac_exeext 6021 6228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6022 (eval $ac_link) 2>&5 6023 ac_status=$? 6229 (eval $ac_link) 2>conftest.er1 6230 ac_status=$? 6231 grep -v '^ *+' conftest.er1 >conftest.err 6232 rm -f conftest.er1 6233 cat conftest.err >&5 6024 6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6025 6235 (exit $ac_status); } && 6026 { ac_try='test -s conftest$ac_exeext' 6236 { ac_try='test -z "$ac_c_werror_flag" 6237 || test ! -s conftest.err' 6027 6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6028 6239 (eval $ac_try) 2>&5 6029 6240 ac_status=$? 6030 6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6242 (exit $ac_status); }; } && 6243 { ac_try='test -s conftest$ac_exeext' 6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6245 (eval $ac_try) 2>&5 6246 ac_status=$? 6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6031 6248 (exit $ac_status); }; }; then 6032 6249 ac_cv_lib_m_main=yes … … 6037 6254 ac_cv_lib_m_main=no 6038 6255 fi 6039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6256 rm -f conftest.err conftest.$ac_objext \ 6257 conftest$ac_exeext conftest.$ac_ext 6040 6258 LIBS=$ac_check_lib_save_LIBS 6041 6259 fi … … 6060 6278 else 6061 6279 cat >conftest.$ac_ext <<_ACEOF 6062 #line $LINENO "configure"6063 6280 /* confdefs.h. */ 6064 6281 _ACEOF … … 6081 6298 rm -f conftest.$ac_objext 6082 6299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6083 (eval $ac_compile) 2>&5 6084 ac_status=$? 6300 (eval $ac_compile) 2>conftest.er1 6301 ac_status=$? 6302 grep -v '^ *+' conftest.er1 >conftest.err 6303 rm -f conftest.er1 6304 cat conftest.err >&5 6085 6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6086 6306 (exit $ac_status); } && 6087 { ac_try='test -s conftest.$ac_objext' 6307 { ac_try='test -z "$ac_c_werror_flag" 6308 || test ! -s conftest.err' 6088 6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6089 6310 (eval $ac_try) 2>&5 6090 6311 ac_status=$? 6091 6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6313 (exit $ac_status); }; } && 6314 { ac_try='test -s conftest.$ac_objext' 6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6316 (eval $ac_try) 2>&5 6317 ac_status=$? 6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6092 6319 (exit $ac_status); }; }; then 6093 6320 ac_cv_header_stdc=yes … … 6098 6325 ac_cv_header_stdc=no 6099 6326 fi 6100 rm -f conftest. $ac_objext conftest.$ac_ext6327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6101 6328 6102 6329 if test $ac_cv_header_stdc = yes; then 6103 6330 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6104 6331 cat >conftest.$ac_ext <<_ACEOF 6105 #line $LINENO "configure"6106 6332 /* confdefs.h. */ 6107 6333 _ACEOF … … 6125 6351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6126 6352 cat >conftest.$ac_ext <<_ACEOF 6127 #line $LINENO "configure"6128 6353 /* confdefs.h. */ 6129 6354 _ACEOF … … 6150 6375 else 6151 6376 cat >conftest.$ac_ext <<_ACEOF 6152 #line $LINENO "configure"6153 6377 /* confdefs.h. */ 6154 6378 _ACEOF … … 6162 6386 #else 6163 6387 # define ISLOWER(c) \ 6164 6165 6166 6388 (('a' <= (c) && (c) <= 'i') \ 6389 || ('j' <= (c) && (c) <= 'r') \ 6390 || ('s' <= (c) && (c) <= 'z')) 6167 6391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6168 6392 #endif … … 6175 6399 for (i = 0; i < 256; i++) 6176 6400 if (XOR (islower (i), ISLOWER (i)) 6177 6401 || toupper (i) != TOUPPER (i)) 6178 6402 exit(2); 6179 6403 exit (0); … … 6200 6424 ac_cv_header_stdc=no 6201 6425 fi 6202 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext6426 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6203 6427 fi 6204 6428 fi … … 6232 6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6233 6457 cat >conftest.$ac_ext <<_ACEOF 6234 #line $LINENO "configure"6235 6458 /* confdefs.h. */ 6236 6459 _ACEOF … … 6243 6466 rm -f conftest.$ac_objext 6244 6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6245 (eval $ac_compile) 2>&5 6246 ac_status=$? 6468 (eval $ac_compile) 2>conftest.er1 6469 ac_status=$? 6470 grep -v '^ *+' conftest.er1 >conftest.err 6471 rm -f conftest.er1 6472 cat conftest.err >&5 6247 6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6248 6474 (exit $ac_status); } && 6249 { ac_try='test -s conftest.$ac_objext' 6475 { ac_try='test -z "$ac_c_werror_flag" 6476 || test ! -s conftest.err' 6250 6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6251 6478 (eval $ac_try) 2>&5 6252 6479 ac_status=$? 6253 6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6481 (exit $ac_status); }; } && 6482 { ac_try='test -s conftest.$ac_objext' 6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6484 (eval $ac_try) 2>&5 6485 ac_status=$? 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6254 6487 (exit $ac_status); }; }; then 6255 6488 ac_header_compiler=yes … … 6260 6493 ac_header_compiler=no 6261 6494 fi 6262 rm -f conftest. $ac_objext conftest.$ac_ext6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6263 6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6264 6497 echo "${ECHO_T}$ac_header_compiler" >&6 … … 6268 6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6269 6502 cat >conftest.$ac_ext <<_ACEOF 6270 #line $LINENO "configure"6271 6503 /* confdefs.h. */ 6272 6504 _ACEOF … … 6286 6518 if test -s conftest.err; then 6287 6519 ac_cpp_err=$ac_c_preproc_warn_flag 6520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6288 6521 else 6289 6522 ac_cpp_err= … … 6305 6538 6306 6539 # So? What about this header? 6307 case $ac_header_compiler:$ac_header_preproc in6308 yes:no )6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6541 yes:no: ) 6309 6542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6310 6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6546 ac_header_preproc=yes 6547 ;; 6548 no:yes:* ) 6549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6311 6557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6312 6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6313 6561 ( 6314 6562 cat <<\_ASBOX 6315 ## ------------------------------------ ## 6316 ## Report this to bug-autoconf@gnu.org. ## 6317 ## ------------------------------------ ## 6318 _ASBOX 6319 ) | 6320 sed "s/^/$as_me: WARNING: /" >&2 6321 ;; 6322 no:yes ) 6323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6329 ( 6330 cat <<\_ASBOX 6331 ## ------------------------------------ ## 6332 ## Report this to bug-autoconf@gnu.org. ## 6333 ## ------------------------------------ ## 6563 ## ------------------------------------------- ## 6564 ## Report this to orxonox-dev@mail.datacore.ch ## 6565 ## ------------------------------------------- ## 6334 6566 _ASBOX 6335 6567 ) | … … 6342 6574 echo $ECHO_N "(cached) $ECHO_C" >&6 6343 6575 else 6344 eval "$as_ac_Header= $ac_header_preproc"6576 eval "$as_ac_Header=\$ac_header_preproc" 6345 6577 fi 6346 6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 6365 6597 else 6366 6598 cat >conftest.$ac_ext <<_ACEOF 6367 #line $LINENO "configure"6368 6599 /* confdefs.h. */ 6369 6600 _ACEOF … … 6392 6623 #endif 6393 6624 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6625 struct s { _Bool s: 1; _Bool t; } s; 6626 6627 char a[true == 1 ? 1 : -1]; 6628 char b[false == 0 ? 1 : -1]; 6629 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 6630 char d[(bool) -0.5 == true ? 1 : -1]; 6631 bool e = &s; 6632 char f[(_Bool) -0.0 == false ? 1 : -1]; 6633 char g[true]; 6634 char h[sizeof (_Bool)]; 6635 char i[sizeof s.t]; 6405 6636 6406 6637 int … … 6414 6645 rm -f conftest.$ac_objext 6415 6646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6416 (eval $ac_compile) 2>&5 6417 ac_status=$? 6647 (eval $ac_compile) 2>conftest.er1 6648 ac_status=$? 6649 grep -v '^ *+' conftest.er1 >conftest.err 6650 rm -f conftest.er1 6651 cat conftest.err >&5 6418 6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6419 6653 (exit $ac_status); } && 6420 { ac_try='test -s conftest.$ac_objext' 6654 { ac_try='test -z "$ac_c_werror_flag" 6655 || test ! -s conftest.err' 6421 6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6422 6657 (eval $ac_try) 2>&5 6423 6658 ac_status=$? 6424 6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6660 (exit $ac_status); }; } && 6661 { ac_try='test -s conftest.$ac_objext' 6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6663 (eval $ac_try) 2>&5 6664 ac_status=$? 6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6425 6666 (exit $ac_status); }; }; then 6426 6667 ac_cv_header_stdbool_h=yes … … 6431 6672 ac_cv_header_stdbool_h=no 6432 6673 fi 6433 rm -f conftest. $ac_objext conftest.$ac_ext6674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6434 6675 fi 6435 6676 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 … … 6441 6682 else 6442 6683 cat >conftest.$ac_ext <<_ACEOF 6443 #line $LINENO "configure"6444 6684 /* confdefs.h. */ 6445 6685 _ACEOF … … 6461 6701 rm -f conftest.$ac_objext 6462 6702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6463 (eval $ac_compile) 2>&5 6464 ac_status=$? 6703 (eval $ac_compile) 2>conftest.er1 6704 ac_status=$? 6705 grep -v '^ *+' conftest.er1 >conftest.err 6706 rm -f conftest.er1 6707 cat conftest.err >&5 6465 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6466 6709 (exit $ac_status); } && 6467 { ac_try='test -s conftest.$ac_objext' 6710 { ac_try='test -z "$ac_c_werror_flag" 6711 || test ! -s conftest.err' 6468 6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6469 6713 (eval $ac_try) 2>&5 6470 6714 ac_status=$? 6471 6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6716 (exit $ac_status); }; } && 6717 { ac_try='test -s conftest.$ac_objext' 6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6719 (eval $ac_try) 2>&5 6720 ac_status=$? 6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6472 6722 (exit $ac_status); }; }; then 6473 6723 ac_cv_type__Bool=yes … … 6478 6728 ac_cv_type__Bool=no 6479 6729 fi 6480 rm -f conftest. $ac_objext conftest.$ac_ext6730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6481 6731 fi 6482 6732 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 … … 6518 6768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6519 6769 cat >conftest.$ac_ext <<_ACEOF 6520 #line $LINENO "configure"6521 6770 /* confdefs.h. */ 6522 6771 _ACEOF … … 6529 6778 rm -f conftest.$ac_objext 6530 6779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6531 (eval $ac_compile) 2>&5 6532 ac_status=$? 6780 (eval $ac_compile) 2>conftest.er1 6781 ac_status=$? 6782 grep -v '^ *+' conftest.er1 >conftest.err 6783 rm -f conftest.er1 6784 cat conftest.err >&5 6533 6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 6786 (exit $ac_status); } && 6535 { ac_try='test -s conftest.$ac_objext' 6787 { ac_try='test -z "$ac_c_werror_flag" 6788 || test ! -s conftest.err' 6536 6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6537 6790 (eval $ac_try) 2>&5 6538 6791 ac_status=$? 6539 6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6793 (exit $ac_status); }; } && 6794 { ac_try='test -s conftest.$ac_objext' 6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6796 (eval $ac_try) 2>&5 6797 ac_status=$? 6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6540 6799 (exit $ac_status); }; }; then 6541 6800 ac_header_compiler=yes … … 6546 6805 ac_header_compiler=no 6547 6806 fi 6548 rm -f conftest. $ac_objext conftest.$ac_ext6807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6549 6808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6550 6809 echo "${ECHO_T}$ac_header_compiler" >&6 … … 6554 6813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6555 6814 cat >conftest.$ac_ext <<_ACEOF 6556 #line $LINENO "configure"6557 6815 /* confdefs.h. */ 6558 6816 _ACEOF … … 6572 6830 if test -s conftest.err; then 6573 6831 ac_cpp_err=$ac_c_preproc_warn_flag 6832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6574 6833 else 6575 6834 ac_cpp_err= … … 6591 6850 6592 6851 # So? What about this header? 6593 case $ac_header_compiler:$ac_header_preproc in6594 yes:no )6852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6853 yes:no: ) 6595 6854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6596 6855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6858 ac_header_preproc=yes 6859 ;; 6860 no:yes:* ) 6861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6597 6869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6598 6870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6599 6873 ( 6600 6874 cat <<\_ASBOX 6601 ## ------------------------------------ ## 6602 ## Report this to bug-autoconf@gnu.org. ## 6603 ## ------------------------------------ ## 6604 _ASBOX 6605 ) | 6606 sed "s/^/$as_me: WARNING: /" >&2 6607 ;; 6608 no:yes ) 6609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6615 ( 6616 cat <<\_ASBOX 6617 ## ------------------------------------ ## 6618 ## Report this to bug-autoconf@gnu.org. ## 6619 ## ------------------------------------ ## 6875 ## ------------------------------------------- ## 6876 ## Report this to orxonox-dev@mail.datacore.ch ## 6877 ## ------------------------------------------- ## 6620 6878 _ASBOX 6621 6879 ) | … … 6628 6886 echo $ECHO_N "(cached) $ECHO_C" >&6 6629 6887 else 6630 eval "$as_ac_Header= $ac_header_preproc"6888 eval "$as_ac_Header=\$ac_header_preproc" 6631 6889 fi 6632 6890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 6652 6910 else 6653 6911 cat >conftest.$ac_ext <<_ACEOF 6654 #line $LINENO "configure"6655 6912 /* confdefs.h. */ 6656 6913 _ACEOF … … 6692 6949 ac_cv_func_malloc_0_nonnull=no 6693 6950 fi 6694 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext6951 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6695 6952 fi 6696 6953 fi … … 6708 6965 _ACEOF 6709 6966 6710 LIBOBJS="$LIBOBJS malloc.$ac_objext" 6967 case $LIBOBJS in 6968 "malloc.$ac_objext" | \ 6969 *" malloc.$ac_objext" | \ 6970 "malloc.$ac_objext "* | \ 6971 *" malloc.$ac_objext "* ) ;; 6972 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; 6973 esac 6974 6711 6975 6712 6976 cat >>confdefs.h <<\_ACEOF … … 6729 6993 else 6730 6994 cat >conftest.$ac_ext <<_ACEOF 6731 #line $LINENO "configure"6732 6995 /* confdefs.h. */ 6733 6996 _ACEOF … … 6735 6998 cat >>conftest.$ac_ext <<_ACEOF 6736 6999 /* end confdefs.h. */ 7000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7001 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7002 #define $ac_func innocuous_$ac_func 7003 6737 7004 /* System header to define __stub macros and hopefully few prototypes, 6738 7005 which can conflict with char $ac_func (); below. 6739 7006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6740 7007 <limits.h> exists even on freestanding compilers. */ 7008 6741 7009 #ifdef __STDC__ 6742 7010 # include <limits.h> … … 6744 7012 # include <assert.h> 6745 7013 #endif 7014 7015 #undef $ac_func 7016 6746 7017 /* Override any gcc2 internal prototype to avoid an error. */ 6747 7018 #ifdef __cplusplus … … 6774 7045 rm -f conftest.$ac_objext conftest$ac_exeext 6775 7046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6776 (eval $ac_link) 2>&5 6777 ac_status=$? 7047 (eval $ac_link) 2>conftest.er1 7048 ac_status=$? 7049 grep -v '^ *+' conftest.er1 >conftest.err 7050 rm -f conftest.er1 7051 cat conftest.err >&5 6778 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6779 7053 (exit $ac_status); } && 6780 { ac_try='test -s conftest$ac_exeext' 7054 { ac_try='test -z "$ac_c_werror_flag" 7055 || test ! -s conftest.err' 6781 7056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6782 7057 (eval $ac_try) 2>&5 6783 7058 ac_status=$? 6784 7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7060 (exit $ac_status); }; } && 7061 { ac_try='test -s conftest$ac_exeext' 7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7063 (eval $ac_try) 2>&5 7064 ac_status=$? 7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6785 7066 (exit $ac_status); }; }; then 6786 7067 eval "$as_ac_var=yes" … … 6791 7072 eval "$as_ac_var=no" 6792 7073 fi 6793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7074 rm -f conftest.err conftest.$ac_objext \ 7075 conftest$ac_exeext conftest.$ac_ext 6794 7076 fi 6795 7077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 … … 6834 7116 # substitution turns \\\\ into \\, and sed turns \\ into \). 6835 7117 sed -n \ 6836 6837 7118 "s/'/'\\\\''/g; 7119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6838 7120 ;; 6839 7121 *) 6840 7122 # `set' quotes correctly as required by POSIX, so do not add quotes. 6841 7123 sed -n \ 6842 7124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6843 7125 ;; 6844 7126 esac; … … 6870 7152 # (actually we leave an empty line to preserve line numbers). 6871 7153 if test "x$srcdir" = x.; then 6872 ac_vpsub='/^[ ]*VPATH[]*=/{7154 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6873 7155 s/:*\$(srcdir):*/:/; 6874 7156 s/:*\${srcdir}:*/:/; 6875 7157 s/:*@srcdir@:*/:/; 6876 s/^\([^=]*=[ 7158 s/^\([^=]*=[ ]*\):*/\1/; 6877 7159 s/:*$//; 6878 s/^[^=]*=[ 7160 s/^[^=]*=[ ]*$//; 6879 7161 }' 6880 7162 fi … … 6887 7169 # 1. Remove the extension, and $U if already installed. 6888 7170 ac_i=`echo "$ac_i" | 6889 7171 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 6890 7172 # 2. Add them. 6891 7173 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 6959 7241 set -o posix 6960 7242 fi 7243 DUALCASE=1; export DUALCASE # for MKS sh 6961 7244 6962 7245 # Support unset when possible. 6963 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then7246 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6964 7247 as_unset=unset 6965 7248 else … … 6980 7263 LC_TELEPHONE LC_TIME 6981 7264 do 6982 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then7265 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6983 7266 eval $as_var=C; export $as_var 6984 7267 else … … 7159 7442 as_mkdir_p=: 7160 7443 else 7444 test -d ./-p && rmdir ./-p 7161 7445 as_mkdir_p=false 7162 7446 fi … … 7165 7449 7166 7450 # Sed expression to map a string onto a valid CPP name. 7167 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"7451 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7168 7452 7169 7453 # Sed expression to map a string onto a valid variable name. 7170 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"7454 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7171 7455 7172 7456 … … 7195 7479 7196 7480 This file was extended by orxonox $as_me 0.1-pre-alpha, which was 7197 generated by GNU Autoconf 2.5 7. Invocation command line was7481 generated by GNU Autoconf 2.59. Invocation command line was 7198 7482 7199 7483 CONFIG_FILES = $CONFIG_FILES … … 7239 7523 --recheck update $as_me by reconfiguring in the same conditions 7240 7524 --file=FILE[:TEMPLATE] 7241 7525 instantiate the configuration file FILE 7242 7526 --header=FILE[:TEMPLATE] 7243 7527 instantiate the configuration header FILE 7244 7528 7245 7529 Configuration files: … … 7258 7542 ac_cs_version="\\ 7259 7543 orxonox config.status 0.1-pre-alpha 7260 configured by $0, generated by GNU Autoconf 2.5 7,7544 configured by $0, generated by GNU Autoconf 2.59, 7261 7545 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7262 7546 7263 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 7264 Free Software Foundation, Inc. 7547 Copyright (C) 2003 Free Software Foundation, Inc. 7265 7548 This config.status script is free software; the Free Software Foundation 7266 7549 gives unlimited permission to copy, distribute and modify it." … … 7488 7771 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 7489 7772 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 7773 s,@mkdir_p@,$mkdir_p,;t t 7490 7774 s,@AWK@,$AWK,;t t 7491 7775 s,@SET_MAKE@,$SET_MAKE,;t t … … 7555 7839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7556 7840 if test -z "$ac_sed_cmds"; then 7557 7841 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7558 7842 else 7559 7843 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7560 7844 fi 7561 7845 ac_sed_frag=`expr $ac_sed_frag + 1` … … 7575 7859 case $ac_file in 7576 7860 - | *:- | *:-:* ) # input from stdin 7577 7578 7579 7861 cat >$tmp/stdin 7862 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7863 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7580 7864 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7581 7865 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7582 7866 * ) ac_file_in=$ac_file.in ;; 7583 7867 esac … … 7586 7870 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7587 7871 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7588 7589 7590 7591 7872 X"$ac_file" : 'X\(//\)[^/]' \| \ 7873 X"$ac_file" : 'X\(//\)$' \| \ 7874 X"$ac_file" : 'X\(/\)' \| \ 7875 . : '\(.\)' 2>/dev/null || 7592 7876 echo X"$ac_file" | 7593 7877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7605 7889 as_dir=`(dirname "$as_dir") 2>/dev/null || 7606 7890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7607 7608 7609 7610 7891 X"$as_dir" : 'X\(//\)[^/]' \| \ 7892 X"$as_dir" : 'X\(//\)$' \| \ 7893 X"$as_dir" : 'X\(/\)' \| \ 7894 . : '\(.\)' 2>/dev/null || 7611 7895 echo X"$as_dir" | 7612 7896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7646 7930 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7647 7931 esac 7648 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 7649 # absolute. 7650 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 7651 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 7652 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 7653 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 7932 7933 # Do not use `cd foo && pwd` to compute absolute paths, because 7934 # the directories may not exist. 7935 case `pwd` in 7936 .) ac_abs_builddir="$ac_dir";; 7937 *) 7938 case "$ac_dir" in 7939 .) ac_abs_builddir=`pwd`;; 7940 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 7941 *) ac_abs_builddir=`pwd`/"$ac_dir";; 7942 esac;; 7943 esac 7944 case $ac_abs_builddir in 7945 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7946 *) 7947 case ${ac_top_builddir}. in 7948 .) ac_abs_top_builddir=$ac_abs_builddir;; 7949 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7950 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 7951 esac;; 7952 esac 7953 case $ac_abs_builddir in 7954 .) ac_abs_srcdir=$ac_srcdir;; 7955 *) 7956 case $ac_srcdir in 7957 .) ac_abs_srcdir=$ac_abs_builddir;; 7958 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7959 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 7960 esac;; 7961 esac 7962 case $ac_abs_builddir in 7963 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7964 *) 7965 case $ac_top_srcdir in 7966 .) ac_abs_top_srcdir=$ac_abs_builddir;; 7967 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7968 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 7969 esac;; 7970 esac 7654 7971 7655 7972 … … 7673 7990 fi 7674 7991 configure_input=$configure_input"Generated from `echo $ac_file_in | 7675 7992 sed 's,.*/,,'` by configure." 7676 7993 7677 7994 # First look for the input files in the build tree, otherwise in the … … 7682 7999 -) echo $tmp/stdin ;; 7683 8000 [\\/$]*) 7684 7685 8001 # Absolute (can't be DOS-style, as IFS=:) 8002 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7686 8003 echo "$as_me: error: cannot find input file: $f" >&2;} 7687 8004 { (exit 1); exit 1; }; } 7688 echo $f;;8005 echo "$f";; 7689 8006 *) # Relative 7690 7691 7692 echo $f 7693 7694 7695 echo $srcdir/$f 7696 7697 7698 8007 if test -f "$f"; then 8008 # Build tree 8009 echo "$f" 8010 elif test -f "$srcdir/$f"; then 8011 # Source tree 8012 echo "$srcdir/$f" 8013 else 8014 # /dev/null tree 8015 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7699 8016 echo "$as_me: error: cannot find input file: $f" >&2;} 7700 8017 { (exit 1); exit 1; }; } 7701 8018 fi;; 7702 8019 esac 7703 8020 done` || { (exit 1); exit 1; } … … 7741 8058 # 7742 8059 # ac_d sets the value in "#define NAME VALUE" lines. 7743 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'7744 ac_dB='[ 8060 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8061 ac_dB='[ ].*$,\1#\2' 7745 8062 ac_dC=' ' 7746 8063 ac_dD=',;t' 7747 8064 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 7748 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'8065 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7749 8066 ac_uB='$,\1#\2define\3' 7750 8067 ac_uC=' ' … … 7755 8072 case $ac_file in 7756 8073 - | *:- | *:-:* ) # input from stdin 7757 7758 7759 8074 cat >$tmp/stdin 8075 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8076 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7760 8077 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7761 8078 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7762 8079 * ) ac_file_in=$ac_file.in ;; 7763 8080 esac … … 7773 8090 -) echo $tmp/stdin ;; 7774 8091 [\\/$]*) 7775 7776 8092 # Absolute (can't be DOS-style, as IFS=:) 8093 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7777 8094 echo "$as_me: error: cannot find input file: $f" >&2;} 7778 8095 { (exit 1); exit 1; }; } 7779 echo $f;; 8096 # Do quote $f, to prevent DOS paths from being IFS'd. 8097 echo "$f";; 7780 8098 *) # Relative 7781 7782 7783 echo $f 7784 7785 7786 echo $srcdir/$f 7787 7788 7789 8099 if test -f "$f"; then 8100 # Build tree 8101 echo "$f" 8102 elif test -f "$srcdir/$f"; then 8103 # Source tree 8104 echo "$srcdir/$f" 8105 else 8106 # /dev/null tree 8107 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7790 8108 echo "$as_me: error: cannot find input file: $f" >&2;} 7791 8109 { (exit 1); exit 1; }; } 7792 8110 fi;; 7793 8111 esac 7794 8112 done` || { (exit 1); exit 1; } 7795 8113 # Remove the trailing spaces. 7796 sed 's/[ 8114 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 7797 8115 7798 8116 _ACEOF … … 7817 8135 t clear 7818 8136 : clear 7819 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp8137 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 7820 8138 t end 7821 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp8139 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 7822 8140 : end 7823 8141 _ACEOF … … 7833 8151 # on some systems where configure will not decide to define it. 7834 8152 cat >>conftest.undefs <<\_ACEOF 7835 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,8153 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 7836 8154 _ACEOF 7837 8155 … … 7839 8157 # of here documents, and old seds have small limits too (100 cmds). 7840 8158 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 7841 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS8159 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 7842 8160 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 7843 8161 echo ' :' >>$CONFIG_STATUS … … 7848 8166 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 7849 8167 # Speed up: don't consider the non `#define' lines. 7850 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS8168 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 7851 8169 # Work around the forget-to-reset-the-flag bug. 7852 8170 echo 't clr' >>$CONFIG_STATUS … … 7875 8193 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 7876 8194 # Speed up: don't consider the non `#undef' 7877 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS8195 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 7878 8196 # Work around the forget-to-reset-the-flag bug. 7879 8197 echo 't clr' >>$CONFIG_STATUS … … 7909 8227 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7910 8228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7911 7912 7913 7914 8229 X"$ac_file" : 'X\(//\)[^/]' \| \ 8230 X"$ac_file" : 'X\(//\)$' \| \ 8231 X"$ac_file" : 'X\(/\)' \| \ 8232 . : '\(.\)' 2>/dev/null || 7915 8233 echo X"$ac_file" | 7916 8234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7928 8246 as_dir=`(dirname "$as_dir") 2>/dev/null || 7929 8247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7930 7931 7932 7933 8248 X"$as_dir" : 'X\(//\)[^/]' \| \ 8249 X"$as_dir" : 'X\(//\)$' \| \ 8250 X"$as_dir" : 'X\(/\)' \| \ 8251 . : '\(.\)' 2>/dev/null || 7934 8252 echo X"$as_dir" | 7935 8253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7963 8281 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 7964 8282 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7965 7966 7967 7968 8283 X$ac_file : 'X\(//\)[^/]' \| \ 8284 X$ac_file : 'X\(//\)$' \| \ 8285 X$ac_file : 'X\(/\)' \| \ 8286 . : '\(.\)' 2>/dev/null || 7969 8287 echo X$ac_file | 7970 8288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7985 8303 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 7986 8304 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7987 7988 7989 7990 8305 X"$ac_dest" : 'X\(//\)[^/]' \| \ 8306 X"$ac_dest" : 'X\(//\)$' \| \ 8307 X"$ac_dest" : 'X\(/\)' \| \ 8308 . : '\(.\)' 2>/dev/null || 7991 8309 echo X"$ac_dest" | 7992 8310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 7995 8313 /^X\(\/\).*/{ s//\1/; q; } 7996 8314 s/.*/./; q'` 8315 { if $as_mkdir_p; then 8316 mkdir -p "$ac_dir" 8317 else 8318 as_dir="$ac_dir" 8319 as_dirs= 8320 while test ! -d "$as_dir"; do 8321 as_dirs="$as_dir $as_dirs" 8322 as_dir=`(dirname "$as_dir") 2>/dev/null || 8323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8324 X"$as_dir" : 'X\(//\)[^/]' \| \ 8325 X"$as_dir" : 'X\(//\)$' \| \ 8326 X"$as_dir" : 'X\(/\)' \| \ 8327 . : '\(.\)' 2>/dev/null || 8328 echo X"$as_dir" | 8329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8330 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8331 /^X\(\/\/\)$/{ s//\1/; q; } 8332 /^X\(\/\).*/{ s//\1/; q; } 8333 s/.*/./; q'` 8334 done 8335 test ! -n "$as_dirs" || mkdir $as_dirs 8336 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8337 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8338 { (exit 1); exit 1; }; }; } 8339 7997 8340 ac_builddir=. 7998 8341 … … 8020 8363 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8021 8364 esac 8022 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 8023 # absolute. 8024 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 8025 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 8026 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 8027 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 8365 8366 # Do not use `cd foo && pwd` to compute absolute paths, because 8367 # the directories may not exist. 8368 case `pwd` in 8369 .) ac_abs_builddir="$ac_dir";; 8370 *) 8371 case "$ac_dir" in 8372 .) ac_abs_builddir=`pwd`;; 8373 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8374 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8375 esac;; 8376 esac 8377 case $ac_abs_builddir in 8378 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8379 *) 8380 case ${ac_top_builddir}. in 8381 .) ac_abs_top_builddir=$ac_abs_builddir;; 8382 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8383 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8384 esac;; 8385 esac 8386 case $ac_abs_builddir in 8387 .) ac_abs_srcdir=$ac_srcdir;; 8388 *) 8389 case $ac_srcdir in 8390 .) ac_abs_srcdir=$ac_abs_builddir;; 8391 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8392 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8393 esac;; 8394 esac 8395 case $ac_abs_builddir in 8396 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8397 *) 8398 case $ac_top_srcdir in 8399 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8400 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8401 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8402 esac;; 8403 esac 8028 8404 8029 8405 … … 8043 8419 dirpart=`(dirname "$mf") 2>/dev/null || 8044 8420 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8045 8046 8047 8048 8421 X"$mf" : 'X\(//\)[^/]' \| \ 8422 X"$mf" : 'X\(//\)$' \| \ 8423 X"$mf" : 'X\(/\)' \| \ 8424 . : '\(.\)' 2>/dev/null || 8049 8425 echo X"$mf" | 8050 8426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8059 8435 # Extract the definition of DEP_FILES from the Makefile without 8060 8436 # running `make'. 8061 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`8437 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8062 8438 test -z "$DEPDIR" && continue 8063 8439 # When using ansi2knr, U may be empty or an underscore; expand it 8064 U=`sed -n -e '/^U = / s///p' < "$mf"`8440 U=`sed -n 's/^U = //p' < "$mf"` 8065 8441 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 8066 8442 # We invoke sed twice because it is the simplest approach to 8067 8443 # changing $(DEPDIR) to its actual value in the expansion. 8068 for file in `sed -n -e'8444 for file in `sed -n ' 8069 8445 /^DEP_FILES = .*\\\\$/ { 8070 8446 s/^DEP_FILES = // … … 8082 8458 fdir=`(dirname "$file") 2>/dev/null || 8083 8459 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8084 8085 8086 8087 8460 X"$file" : 'X\(//\)[^/]' \| \ 8461 X"$file" : 'X\(//\)$' \| \ 8462 X"$file" : 'X\(/\)' \| \ 8463 . : '\(.\)' 2>/dev/null || 8088 8464 echo X"$file" | 8089 8465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8101 8477 as_dir=`(dirname "$as_dir") 2>/dev/null || 8102 8478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8103 8104 8105 8106 8479 X"$as_dir" : 'X\(//\)[^/]' \| \ 8480 X"$as_dir" : 'X\(//\)$' \| \ 8481 X"$as_dir" : 'X\(/\)' \| \ 8482 . : '\(.\)' 2>/dev/null || 8107 8483 echo X"$as_dir" | 8108 8484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Note: See TracChangeset
for help on using the changeset viewer.