Changeset 4194 in orxonox.OLD for orxonox/branches/openAL/configure
- Timestamp:
- May 16, 2005, 1:33:19 PM (20 years ago)
- Location:
- orxonox/branches/openAL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL
- Property svn:externals
-
old new 1 data http://svn.orxonox.ethz.ch/data 1
-
- Property svn:externals
-
orxonox/branches/openAL/configure
r3921 r4194 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for orxonox 0.2. 2-pre-alpha.3 # Generated by GNU Autoconf 2.59 for orxonox 0.2.3-pre-alpha. 4 4 # 5 5 # Report bugs to <orxonox-dev at mail.datacore.ch>. … … 270 270 PACKAGE_NAME='orxonox' 271 271 PACKAGE_TARNAME='orxonox' 272 PACKAGE_VERSION='0.2. 2-pre-alpha'273 PACKAGE_STRING='orxonox 0.2. 2-pre-alpha'272 PACKAGE_VERSION='0.2.3-pre-alpha' 273 PACKAGE_STRING='orxonox 0.2.3-pre-alpha' 274 274 PACKAGE_BUGREPORT='orxonox-dev at mail.datacore.ch' 275 275 … … 312 312 #endif" 313 313 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE GTHREAD_LIBS GTHREAD_CFLAGS HAVE_GTHREAD_TRUE HAVE_GTHREAD_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_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 RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF PKG_CONFIG MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE LIBOBJS LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 789 789 # This message is too long to be a string in the A/UX 3.1 sh. 790 790 cat <<_ACEOF 791 \`configure' configures orxonox 0.2. 2-pre-alpha to adapt to many kinds of systems.791 \`configure' configures orxonox 0.2.3-pre-alpha to adapt to many kinds of systems. 792 792 793 793 Usage: $0 [OPTION]... [VAR=VALUE]... … … 856 856 if test -n "$ac_init_help"; then 857 857 case $ac_init_help in 858 short | recursive ) echo "Configuration of orxonox 0.2. 2-pre-alpha:";;858 short | recursive ) echo "Configuration of orxonox 0.2.3-pre-alpha:";; 859 859 esac 860 860 cat <<\_ACEOF … … 879 879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 880 880 --without-gtk Prevents GTK from being loaded 881 --without-gthread Prevents gThread from being loaded882 --without-pthread Prevents pthread from being loaded883 881 --without-curl Prevents libcURL from being loaded 884 882 … … 993 991 if $ac_init_version; then 994 992 cat <<\_ACEOF 995 orxonox configure 0.2. 2-pre-alpha993 orxonox configure 0.2.3-pre-alpha 996 994 generated by GNU Autoconf 2.59 997 995 … … 1007 1005 running configure, to aid debugging if configure makes a mistake. 1008 1006 1009 It was created by orxonox $as_me 0.2. 2-pre-alpha, which was1007 It was created by orxonox $as_me 0.2.3-pre-alpha, which was 1010 1008 generated by GNU Autoconf 2.59. Invocation command line was 1011 1009 … … 1727 1725 # Define the identity of the package. 1728 1726 PACKAGE='orxonox' 1729 VERSION='0.2. 2-pre-alpha'1727 VERSION='0.2.3-pre-alpha' 1730 1728 1731 1729 … … 2591 2589 2592 2590 2591 if test -n "$ac_tool_prefix"; then 2592 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2593 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2594 echo "$as_me:$LINENO: checking for $ac_word" >&5 2595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2596 if test "${ac_cv_prog_RANLIB+set}" = set; then 2597 echo $ECHO_N "(cached) $ECHO_C" >&6 2598 else 2599 if test -n "$RANLIB"; then 2600 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2601 else 2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2603 for as_dir in $PATH 2604 do 2605 IFS=$as_save_IFS 2606 test -z "$as_dir" && as_dir=. 2607 for ac_exec_ext in '' $ac_executable_extensions; do 2608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2609 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2611 break 2 2612 fi 2613 done 2614 done 2615 2616 fi 2617 fi 2618 RANLIB=$ac_cv_prog_RANLIB 2619 if test -n "$RANLIB"; then 2620 echo "$as_me:$LINENO: result: $RANLIB" >&5 2621 echo "${ECHO_T}$RANLIB" >&6 2622 else 2623 echo "$as_me:$LINENO: result: no" >&5 2624 echo "${ECHO_T}no" >&6 2625 fi 2626 2627 fi 2628 if test -z "$ac_cv_prog_RANLIB"; then 2629 ac_ct_RANLIB=$RANLIB 2630 # Extract the first word of "ranlib", so it can be a program name with args. 2631 set dummy ranlib; ac_word=$2 2632 echo "$as_me:$LINENO: checking for $ac_word" >&5 2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2634 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2635 echo $ECHO_N "(cached) $ECHO_C" >&6 2636 else 2637 if test -n "$ac_ct_RANLIB"; then 2638 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2639 else 2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2641 for as_dir in $PATH 2642 do 2643 IFS=$as_save_IFS 2644 test -z "$as_dir" && as_dir=. 2645 for ac_exec_ext in '' $ac_executable_extensions; do 2646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2647 ac_cv_prog_ac_ct_RANLIB="ranlib" 2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2649 break 2 2650 fi 2651 done 2652 done 2653 2654 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2655 fi 2656 fi 2657 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2658 if test -n "$ac_ct_RANLIB"; then 2659 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2660 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2661 else 2662 echo "$as_me:$LINENO: result: no" >&5 2663 echo "${ECHO_T}no" >&6 2664 fi 2665 2666 RANLIB=$ac_ct_RANLIB 2667 else 2668 RANLIB="$ac_cv_prog_RANLIB" 2669 fi 2670 2593 2671 ac_ext=c 2594 2672 ac_cpp='$CPP $CPPFLAGS' … … 3926 4004 3927 4005 #------------------# 3928 # gThread-disabled #3929 #------------------#3930 echo "$as_me:$LINENO: checking if gThread should be enabled" >&53931 echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&63932 3933 # Check whether --with-gthread or --without-gthread was given.3934 if test "${with_gthread+set}" = set; then3935 withval="$with_gthread"3936 def_gthread=no3937 else3938 def_gthread=yes3939 fi;3940 if test x$def_gthread = xyes; then3941 echo "yes"3942 fi3943 if test x$def_gthread = xno; then3944 echo "no"3945 fi3946 3947 #------------------#3948 # pthread-disabled #3949 #------------------#3950 echo "$as_me:$LINENO: checking if pthread should be enabled" >&53951 echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&63952 3953 # Check whether --with-pthread or --without-pthread was given.3954 if test "${with_pthread+set}" = set; then3955 withval="$with_pthread"3956 def_pthread=no3957 else3958 def_pthread=yes3959 fi;3960 if test x$def_pthread = xyes; then3961 echo "yes"3962 fi3963 if test x$def_pthread = xno; then3964 echo "no"3965 fi3966 3967 #------------------#3968 4006 # libCurl-disabled # 3969 4007 #------------------# … … 4175 4213 echo "$as_me:$LINENO: result: no" >&5 4176 4214 echo "${ECHO_T}no" >&6 4215 fi 4216 4217 4218 #-------------------------# 4219 # checking for pkg-config # 4220 #-------------------------# 4221 if test x$def_gtk = xyes; then 4222 # Extract the first word of "pkg-config", so it can be a program name with args. 4223 set dummy pkg-config; ac_word=$2 4224 echo "$as_me:$LINENO: checking for $ac_word" >&5 4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4227 echo $ECHO_N "(cached) $ECHO_C" >&6 4228 else 4229 case $PKG_CONFIG in 4230 [\\/]* | ?:[\\/]*) 4231 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4232 ;; 4233 *) 4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4235 for as_dir in $PATH 4236 do 4237 IFS=$as_save_IFS 4238 test -z "$as_dir" && as_dir=. 4239 for ac_exec_ext in '' $ac_executable_extensions; do 4240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4241 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4243 break 2 4244 fi 4245 done 4246 done 4247 4248 ;; 4249 esac 4250 fi 4251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4252 4253 if test -n "$PKG_CONFIG"; then 4254 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4255 echo "${ECHO_T}$PKG_CONFIG" >&6 4256 else 4257 echo "$as_me:$LINENO: result: no" >&5 4258 echo "${ECHO_T}no" >&6 4259 fi 4260 4177 4261 fi 4178 4262 … … 6869 6953 #-----# 6870 6954 if test x$def_gtk = xyes; then 6871 6872 6955 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 6873 6956 echo "$as_me:$LINENO: checking for gtk2.0" >&5 6874 6957 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 6875 if ` pkg-config--exists gtk+-2.0`; then6958 if `$PKG_CONFIG --exists gtk+-2.0`; then 6876 6959 echo "yes" 6877 6960 have_gtk2=yes 6878 GTK2_LIBS=` pkg-config--libs gtk+-2.0`6879 GTK2_CFLAGS=` pkg-config--cflags gtk+-2.0`6961 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0` 6962 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` 6880 6963 6881 6964 cat >>confdefs.h <<_ACEOF … … 6883 6966 _ACEOF 6884 6967 6968 if test $DEBUG -ge 3; then 6969 echo "cflags: $GTK2_CFLAGS" 6970 echo "libs: $GTK2_LIBS" 6971 fi 6885 6972 else 6886 6973 echo "no" … … 6898 6985 HAVE_GTK2_TRUE='#' 6899 6986 HAVE_GTK2_FALSE= 6900 fi6901 6902 6903 #---------#6904 # gThread #6905 #---------#6906 if test x$def_gthread = xyes; then6907 6908 echo "$as_me:$LINENO: checking for gthread" >&56909 echo $ECHO_N "checking for gthread... $ECHO_C" >&66910 if `pkg-config --exists gthread-2.0`; then6911 echo "yes"6912 have_gthread=yes6913 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`6914 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`6915 6916 cat >>confdefs.h <<_ACEOF6917 #define HAVE_GTHREAD 16918 _ACEOF6919 6920 else6921 echo "no"6922 fi6923 6924 fi6925 6926 6927 6928 6929 if test x$have_gthread = xyes; then6930 HAVE_GTHREAD_TRUE=6931 HAVE_GTHREAD_FALSE='#'6932 else6933 HAVE_GTHREAD_TRUE='#'6934 HAVE_GTHREAD_FALSE=6935 6987 fi 6936 6988 … … 7182 7234 7183 7235 7184 #---------# 7185 # pthread # 7186 #---------# 7187 if test x$def_pthread = xyes ; then 7188 if test x$have_gthread = xyes ; then 7189 7190 for ac_header in pthread.h 7236 #--------# 7237 # efence # 7238 #--------# 7239 if test x$def_efence = xyes ; then 7240 echo "$as_me:$LINENO: checking for main in -lefence" >&5 7241 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 7242 if test "${ac_cv_lib_efence_main+set}" = set; then 7243 echo $ECHO_N "(cached) $ECHO_C" >&6 7244 else 7245 ac_check_lib_save_LIBS=$LIBS 7246 LIBS="-lefence $LIBS" 7247 cat >conftest.$ac_ext <<_ACEOF 7248 /* confdefs.h. */ 7249 _ACEOF 7250 cat confdefs.h >>conftest.$ac_ext 7251 cat >>conftest.$ac_ext <<_ACEOF 7252 /* end confdefs.h. */ 7253 7254 7255 int 7256 main () 7257 { 7258 main (); 7259 ; 7260 return 0; 7261 } 7262 _ACEOF 7263 rm -f conftest.$ac_objext conftest$ac_exeext 7264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7265 (eval $ac_link) 2>conftest.er1 7266 ac_status=$? 7267 grep -v '^ *+' conftest.er1 >conftest.err 7268 rm -f conftest.er1 7269 cat conftest.err >&5 7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7271 (exit $ac_status); } && 7272 { ac_try='test -z "$ac_c_werror_flag" 7273 || test ! -s conftest.err' 7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7275 (eval $ac_try) 2>&5 7276 ac_status=$? 7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7278 (exit $ac_status); }; } && 7279 { ac_try='test -s conftest$ac_exeext' 7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7281 (eval $ac_try) 2>&5 7282 ac_status=$? 7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7284 (exit $ac_status); }; }; then 7285 ac_cv_lib_efence_main=yes 7286 else 7287 echo "$as_me: failed program was:" >&5 7288 sed 's/^/| /' conftest.$ac_ext >&5 7289 7290 ac_cv_lib_efence_main=no 7291 fi 7292 rm -f conftest.err conftest.$ac_objext \ 7293 conftest$ac_exeext conftest.$ac_ext 7294 LIBS=$ac_check_lib_save_LIBS 7295 fi 7296 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5 7297 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 7298 if test $ac_cv_lib_efence_main = yes; then 7299 FOUND_efence=yes 7300 fi 7301 7302 if test x$FOUND_efence = xyes ; then 7303 LIBS="$LIBS -lefence" 7304 fi 7305 7306 fi 7307 7308 # FIXME: Replace `main' with a function in `-lm': 7309 7310 echo "$as_me:$LINENO: checking for main in -lm" >&5 7311 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 7312 if test "${ac_cv_lib_m_main+set}" = set; then 7313 echo $ECHO_N "(cached) $ECHO_C" >&6 7314 else 7315 ac_check_lib_save_LIBS=$LIBS 7316 LIBS="-lm $LIBS" 7317 cat >conftest.$ac_ext <<_ACEOF 7318 /* confdefs.h. */ 7319 _ACEOF 7320 cat confdefs.h >>conftest.$ac_ext 7321 cat >>conftest.$ac_ext <<_ACEOF 7322 /* end confdefs.h. */ 7323 7324 7325 int 7326 main () 7327 { 7328 main (); 7329 ; 7330 return 0; 7331 } 7332 _ACEOF 7333 rm -f conftest.$ac_objext conftest$ac_exeext 7334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7335 (eval $ac_link) 2>conftest.er1 7336 ac_status=$? 7337 grep -v '^ *+' conftest.er1 >conftest.err 7338 rm -f conftest.er1 7339 cat conftest.err >&5 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 (exit $ac_status); } && 7342 { ac_try='test -z "$ac_c_werror_flag" 7343 || test ! -s conftest.err' 7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7345 (eval $ac_try) 2>&5 7346 ac_status=$? 7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7348 (exit $ac_status); }; } && 7349 { ac_try='test -s conftest$ac_exeext' 7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7351 (eval $ac_try) 2>&5 7352 ac_status=$? 7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7354 (exit $ac_status); }; }; then 7355 ac_cv_lib_m_main=yes 7356 else 7357 echo "$as_me: failed program was:" >&5 7358 sed 's/^/| /' conftest.$ac_ext >&5 7359 7360 ac_cv_lib_m_main=no 7361 fi 7362 rm -f conftest.err conftest.$ac_objext \ 7363 conftest$ac_exeext conftest.$ac_ext 7364 LIBS=$ac_check_lib_save_LIBS 7365 fi 7366 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7367 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 7368 if test $ac_cv_lib_m_main = yes; then 7369 cat >>confdefs.h <<_ACEOF 7370 #define HAVE_LIBM 1 7371 _ACEOF 7372 7373 LIBS="-lm $LIBS" 7374 7375 fi 7376 7377 7378 7379 # Checks for header files. 7380 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7381 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7382 if test "${ac_cv_header_stdc+set}" = set; then 7383 echo $ECHO_N "(cached) $ECHO_C" >&6 7384 else 7385 cat >conftest.$ac_ext <<_ACEOF 7386 /* confdefs.h. */ 7387 _ACEOF 7388 cat confdefs.h >>conftest.$ac_ext 7389 cat >>conftest.$ac_ext <<_ACEOF 7390 /* end confdefs.h. */ 7391 #include <stdlib.h> 7392 #include <stdarg.h> 7393 #include <string.h> 7394 #include <float.h> 7395 7396 int 7397 main () 7398 { 7399 7400 ; 7401 return 0; 7402 } 7403 _ACEOF 7404 rm -f conftest.$ac_objext 7405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7406 (eval $ac_compile) 2>conftest.er1 7407 ac_status=$? 7408 grep -v '^ *+' conftest.er1 >conftest.err 7409 rm -f conftest.er1 7410 cat conftest.err >&5 7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7412 (exit $ac_status); } && 7413 { ac_try='test -z "$ac_c_werror_flag" 7414 || test ! -s conftest.err' 7415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7416 (eval $ac_try) 2>&5 7417 ac_status=$? 7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7419 (exit $ac_status); }; } && 7420 { ac_try='test -s conftest.$ac_objext' 7421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7422 (eval $ac_try) 2>&5 7423 ac_status=$? 7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7425 (exit $ac_status); }; }; then 7426 ac_cv_header_stdc=yes 7427 else 7428 echo "$as_me: failed program was:" >&5 7429 sed 's/^/| /' conftest.$ac_ext >&5 7430 7431 ac_cv_header_stdc=no 7432 fi 7433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7434 7435 if test $ac_cv_header_stdc = yes; then 7436 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7437 cat >conftest.$ac_ext <<_ACEOF 7438 /* confdefs.h. */ 7439 _ACEOF 7440 cat confdefs.h >>conftest.$ac_ext 7441 cat >>conftest.$ac_ext <<_ACEOF 7442 /* end confdefs.h. */ 7443 #include <string.h> 7444 7445 _ACEOF 7446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7447 $EGREP "memchr" >/dev/null 2>&1; then 7448 : 7449 else 7450 ac_cv_header_stdc=no 7451 fi 7452 rm -f conftest* 7453 7454 fi 7455 7456 if test $ac_cv_header_stdc = yes; then 7457 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7458 cat >conftest.$ac_ext <<_ACEOF 7459 /* confdefs.h. */ 7460 _ACEOF 7461 cat confdefs.h >>conftest.$ac_ext 7462 cat >>conftest.$ac_ext <<_ACEOF 7463 /* end confdefs.h. */ 7464 #include <stdlib.h> 7465 7466 _ACEOF 7467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7468 $EGREP "free" >/dev/null 2>&1; then 7469 : 7470 else 7471 ac_cv_header_stdc=no 7472 fi 7473 rm -f conftest* 7474 7475 fi 7476 7477 if test $ac_cv_header_stdc = yes; then 7478 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7479 if test "$cross_compiling" = yes; then 7480 : 7481 else 7482 cat >conftest.$ac_ext <<_ACEOF 7483 /* confdefs.h. */ 7484 _ACEOF 7485 cat confdefs.h >>conftest.$ac_ext 7486 cat >>conftest.$ac_ext <<_ACEOF 7487 /* end confdefs.h. */ 7488 #include <ctype.h> 7489 #if ((' ' & 0x0FF) == 0x020) 7490 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7491 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7492 #else 7493 # define ISLOWER(c) \ 7494 (('a' <= (c) && (c) <= 'i') \ 7495 || ('j' <= (c) && (c) <= 'r') \ 7496 || ('s' <= (c) && (c) <= 'z')) 7497 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7498 #endif 7499 7500 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7501 int 7502 main () 7503 { 7504 int i; 7505 for (i = 0; i < 256; i++) 7506 if (XOR (islower (i), ISLOWER (i)) 7507 || toupper (i) != TOUPPER (i)) 7508 exit(2); 7509 exit (0); 7510 } 7511 _ACEOF 7512 rm -f conftest$ac_exeext 7513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7514 (eval $ac_link) 2>&5 7515 ac_status=$? 7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7519 (eval $ac_try) 2>&5 7520 ac_status=$? 7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7522 (exit $ac_status); }; }; then 7523 : 7524 else 7525 echo "$as_me: program exited with status $ac_status" >&5 7526 echo "$as_me: failed program was:" >&5 7527 sed 's/^/| /' conftest.$ac_ext >&5 7528 7529 ( exit $ac_status ) 7530 ac_cv_header_stdc=no 7531 fi 7532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7533 fi 7534 fi 7535 fi 7536 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7537 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7538 if test $ac_cv_header_stdc = yes; then 7539 7540 cat >>confdefs.h <<\_ACEOF 7541 #define STDC_HEADERS 1 7542 _ACEOF 7543 7544 fi 7545 7546 7547 7548 for ac_header in stdlib.h string.h 7191 7549 do 7192 7550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7332 7690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7333 7691 _ACEOF 7334 pthreadHeader="yes" 7335 else 7336 pthreadHeader="no" 7692 7337 7693 fi 7338 7694 7339 7695 done 7340 7696 7341 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 7342 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 7343 if test "${ac_cv_lib_pthread_main+set}" = set; then 7697 7698 # Checks for typedefs, structures, and compiler characteristics. 7699 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7700 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7701 if test "${ac_cv_header_stdbool_h+set}" = set; then 7344 7702 echo $ECHO_N "(cached) $ECHO_C" >&6 7345 7703 else 7346 ac_check_lib_save_LIBS=$LIBS 7347 LIBS="-lpthread $LIBS" 7348 cat >conftest.$ac_ext <<_ACEOF 7704 cat >conftest.$ac_ext <<_ACEOF 7349 7705 /* confdefs.h. */ 7350 7706 _ACEOF … … 7353 7709 /* end confdefs.h. */ 7354 7710 7711 #include <stdbool.h> 7712 #ifndef bool 7713 # error bool is not defined 7714 #endif 7715 #ifndef false 7716 # error false is not defined 7717 #endif 7718 #if false 7719 # error false is not 0 7720 #endif 7721 #ifndef true 7722 # error true is not defined 7723 #endif 7724 #if true != 1 7725 # error true is not 1 7726 #endif 7727 #ifndef __bool_true_false_are_defined 7728 # error __bool_true_false_are_defined is not defined 7729 #endif 7730 7731 struct s { _Bool s: 1; _Bool t; } s; 7732 7733 char a[true == 1 ? 1 : -1]; 7734 char b[false == 0 ? 1 : -1]; 7735 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7736 char d[(bool) -0.5 == true ? 1 : -1]; 7737 bool e = &s; 7738 char f[(_Bool) -0.0 == false ? 1 : -1]; 7739 char g[true]; 7740 char h[sizeof (_Bool)]; 7741 char i[sizeof s.t]; 7355 7742 7356 7743 int 7357 7744 main () 7358 7745 { 7359 main ();7746 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7360 7747 ; 7361 7748 return 0; 7362 7749 } 7363 7750 _ACEOF 7364 rm -f conftest.$ac_objext conftest$ac_exeext7365 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57366 (eval $ac_ link) 2>conftest.er17751 rm -f conftest.$ac_objext 7752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7753 (eval $ac_compile) 2>conftest.er1 7367 7754 ac_status=$? 7368 7755 grep -v '^ *+' conftest.er1 >conftest.err … … 7378 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 7766 (exit $ac_status); }; } && 7380 { ac_try='test -s conftest $ac_exeext'7767 { ac_try='test -s conftest.$ac_objext' 7381 7768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7382 7769 (eval $ac_try) 2>&5 … … 7384 7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7385 7772 (exit $ac_status); }; }; then 7386 ac_cv_ lib_pthread_main=yes7773 ac_cv_header_stdbool_h=yes 7387 7774 else 7388 7775 echo "$as_me: failed program was:" >&5 7389 7776 sed 's/^/| /' conftest.$ac_ext >&5 7390 7777 7391 ac_cv_lib_pthread_main=no 7392 fi 7393 rm -f conftest.err conftest.$ac_objext \ 7394 conftest$ac_exeext conftest.$ac_ext 7395 LIBS=$ac_check_lib_save_LIBS 7396 fi 7397 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 7398 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 7399 if test $ac_cv_lib_pthread_main = yes; then 7400 FOUND_pthread=yes 7401 fi 7402 7403 if test x$FOUND_pthread = xyes ; then 7404 LIBS="$LIBS -lpthread" 7405 fi 7406 fi 7407 fi 7408 7409 7410 #--------# 7411 # efence # 7412 #--------# 7413 if test x$def_efence = xyes ; then 7414 echo "$as_me:$LINENO: checking for main in -lefence" >&5 7415 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 7416 if test "${ac_cv_lib_efence_main+set}" = set; then 7778 ac_cv_header_stdbool_h=no 7779 fi 7780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7781 fi 7782 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7783 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7784 echo "$as_me:$LINENO: checking for _Bool" >&5 7785 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7786 if test "${ac_cv_type__Bool+set}" = set; then 7417 7787 echo $ECHO_N "(cached) $ECHO_C" >&6 7418 7788 else 7419 ac_check_lib_save_LIBS=$LIBS 7420 LIBS="-lefence $LIBS" 7421 cat >conftest.$ac_ext <<_ACEOF 7789 cat >conftest.$ac_ext <<_ACEOF 7422 7790 /* confdefs.h. */ 7423 7791 _ACEOF … … 7425 7793 cat >>conftest.$ac_ext <<_ACEOF 7426 7794 /* end confdefs.h. */ 7427 7428 7795 $ac_includes_default 7429 7796 int 7430 7797 main () 7431 7798 { 7432 main (); 7799 if ((_Bool *) 0) 7800 return 0; 7801 if (sizeof (_Bool)) 7802 return 0; 7433 7803 ; 7434 7804 return 0; 7435 7805 } 7436 7806 _ACEOF 7437 rm -f conftest.$ac_objext conftest$ac_exeext7438 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57439 (eval $ac_ link) 2>conftest.er17807 rm -f conftest.$ac_objext 7808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7809 (eval $ac_compile) 2>conftest.er1 7440 7810 ac_status=$? 7441 7811 grep -v '^ *+' conftest.er1 >conftest.err … … 7451 7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7452 7822 (exit $ac_status); }; } && 7453 { ac_try='test -s conftest$ac_exeext'7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57455 (eval $ac_try) 2>&57456 ac_status=$?7457 echo "$as_me:$LINENO: \$? = $ac_status" >&57458 (exit $ac_status); }; }; then7459 ac_cv_lib_efence_main=yes7460 else7461 echo "$as_me: failed program was:" >&57462 sed 's/^/| /' conftest.$ac_ext >&57463 7464 ac_cv_lib_efence_main=no7465 fi7466 rm -f conftest.err conftest.$ac_objext \7467 conftest$ac_exeext conftest.$ac_ext7468 LIBS=$ac_check_lib_save_LIBS7469 fi7470 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&57471 echo "${ECHO_T}$ac_cv_lib_efence_main" >&67472 if test $ac_cv_lib_efence_main = yes; then7473 FOUND_efence=yes7474 fi7475 7476 if test x$FOUND_efence = xyes ; then7477 LIBS="$LIBS -lefence"7478 fi7479 7480 fi7481 7482 # FIXME: Replace `main' with a function in `-lm':7483 7484 echo "$as_me:$LINENO: checking for main in -lm" >&57485 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&67486 if test "${ac_cv_lib_m_main+set}" = set; then7487 echo $ECHO_N "(cached) $ECHO_C" >&67488 else7489 ac_check_lib_save_LIBS=$LIBS7490 LIBS="-lm $LIBS"7491 cat >conftest.$ac_ext <<_ACEOF7492 /* confdefs.h. */7493 _ACEOF7494 cat confdefs.h >>conftest.$ac_ext7495 cat >>conftest.$ac_ext <<_ACEOF7496 /* end confdefs.h. */7497 7498 7499 int7500 main ()7501 {7502 main ();7503 ;7504 return 0;7505 }7506 _ACEOF7507 rm -f conftest.$ac_objext conftest$ac_exeext7508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&57509 (eval $ac_link) 2>conftest.er17510 ac_status=$?7511 grep -v '^ *+' conftest.er1 >conftest.err7512 rm -f conftest.er17513 cat conftest.err >&57514 echo "$as_me:$LINENO: \$? = $ac_status" >&57515 (exit $ac_status); } &&7516 { ac_try='test -z "$ac_c_werror_flag"7517 || test ! -s conftest.err'7518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57519 (eval $ac_try) 2>&57520 ac_status=$?7521 echo "$as_me:$LINENO: \$? = $ac_status" >&57522 (exit $ac_status); }; } &&7523 { ac_try='test -s conftest$ac_exeext'7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57525 (eval $ac_try) 2>&57526 ac_status=$?7527 echo "$as_me:$LINENO: \$? = $ac_status" >&57528 (exit $ac_status); }; }; then7529 ac_cv_lib_m_main=yes7530 else7531 echo "$as_me: failed program was:" >&57532 sed 's/^/| /' conftest.$ac_ext >&57533 7534 ac_cv_lib_m_main=no7535 fi7536 rm -f conftest.err conftest.$ac_objext \7537 conftest$ac_exeext conftest.$ac_ext7538 LIBS=$ac_check_lib_save_LIBS7539 fi7540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&57541 echo "${ECHO_T}$ac_cv_lib_m_main" >&67542 if test $ac_cv_lib_m_main = yes; then7543 cat >>confdefs.h <<_ACEOF7544 #define HAVE_LIBM 17545 _ACEOF7546 7547 LIBS="-lm $LIBS"7548 7549 fi7550 7551 7552 7553 # Checks for header files.7554 echo "$as_me:$LINENO: checking for ANSI C header files" >&57555 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&67556 if test "${ac_cv_header_stdc+set}" = set; then7557 echo $ECHO_N "(cached) $ECHO_C" >&67558 else7559 cat >conftest.$ac_ext <<_ACEOF7560 /* confdefs.h. */7561 _ACEOF7562 cat confdefs.h >>conftest.$ac_ext7563 cat >>conftest.$ac_ext <<_ACEOF7564 /* end confdefs.h. */7565 #include <stdlib.h>7566 #include <stdarg.h>7567 #include <string.h>7568 #include <float.h>7569 7570 int7571 main ()7572 {7573 7574 ;7575 return 0;7576 }7577 _ACEOF7578 rm -f conftest.$ac_objext7579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57580 (eval $ac_compile) 2>conftest.er17581 ac_status=$?7582 grep -v '^ *+' conftest.er1 >conftest.err7583 rm -f conftest.er17584 cat conftest.err >&57585 echo "$as_me:$LINENO: \$? = $ac_status" >&57586 (exit $ac_status); } &&7587 { ac_try='test -z "$ac_c_werror_flag"7588 || test ! -s conftest.err'7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57590 (eval $ac_try) 2>&57591 ac_status=$?7592 echo "$as_me:$LINENO: \$? = $ac_status" >&57593 (exit $ac_status); }; } &&7594 7823 { ac_try='test -s conftest.$ac_objext' 7595 7824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 … … 7598 7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7599 7828 (exit $ac_status); }; }; then 7600 ac_cv_ header_stdc=yes7829 ac_cv_type__Bool=yes 7601 7830 else 7602 7831 echo "$as_me: failed program was:" >&5 7603 7832 sed 's/^/| /' conftest.$ac_ext >&5 7604 7833 7605 ac_cv_ header_stdc=no7834 ac_cv_type__Bool=no 7606 7835 fi 7607 7836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7608 7609 if test $ac_cv_header_stdc = yes; then 7610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7611 cat >conftest.$ac_ext <<_ACEOF 7612 /* confdefs.h. */ 7613 _ACEOF 7614 cat confdefs.h >>conftest.$ac_ext 7615 cat >>conftest.$ac_ext <<_ACEOF 7616 /* end confdefs.h. */ 7617 #include <string.h> 7618 7619 _ACEOF 7620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7621 $EGREP "memchr" >/dev/null 2>&1; then 7622 : 7623 else 7624 ac_cv_header_stdc=no 7625 fi 7626 rm -f conftest* 7627 7628 fi 7629 7630 if test $ac_cv_header_stdc = yes; then 7631 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7632 cat >conftest.$ac_ext <<_ACEOF 7633 /* confdefs.h. */ 7634 _ACEOF 7635 cat confdefs.h >>conftest.$ac_ext 7636 cat >>conftest.$ac_ext <<_ACEOF 7637 /* end confdefs.h. */ 7638 #include <stdlib.h> 7639 7640 _ACEOF 7641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7642 $EGREP "free" >/dev/null 2>&1; then 7643 : 7644 else 7645 ac_cv_header_stdc=no 7646 fi 7647 rm -f conftest* 7648 7649 fi 7650 7651 if test $ac_cv_header_stdc = yes; then 7652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7653 if test "$cross_compiling" = yes; then 7654 : 7655 else 7656 cat >conftest.$ac_ext <<_ACEOF 7657 /* confdefs.h. */ 7658 _ACEOF 7659 cat confdefs.h >>conftest.$ac_ext 7660 cat >>conftest.$ac_ext <<_ACEOF 7661 /* end confdefs.h. */ 7662 #include <ctype.h> 7663 #if ((' ' & 0x0FF) == 0x020) 7664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7666 #else 7667 # define ISLOWER(c) \ 7668 (('a' <= (c) && (c) <= 'i') \ 7669 || ('j' <= (c) && (c) <= 'r') \ 7670 || ('s' <= (c) && (c) <= 'z')) 7671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7672 #endif 7673 7674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7675 int 7676 main () 7677 { 7678 int i; 7679 for (i = 0; i < 256; i++) 7680 if (XOR (islower (i), ISLOWER (i)) 7681 || toupper (i) != TOUPPER (i)) 7682 exit(2); 7683 exit (0); 7684 } 7685 _ACEOF 7686 rm -f conftest$ac_exeext 7687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7688 (eval $ac_link) 2>&5 7689 ac_status=$? 7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7693 (eval $ac_try) 2>&5 7694 ac_status=$? 7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7696 (exit $ac_status); }; }; then 7697 : 7698 else 7699 echo "$as_me: program exited with status $ac_status" >&5 7700 echo "$as_me: failed program was:" >&5 7701 sed 's/^/| /' conftest.$ac_ext >&5 7702 7703 ( exit $ac_status ) 7704 ac_cv_header_stdc=no 7705 fi 7706 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7707 fi 7708 fi 7709 fi 7710 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7711 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7712 if test $ac_cv_header_stdc = yes; then 7837 fi 7838 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7839 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7840 if test $ac_cv_type__Bool = yes; then 7841 7842 cat >>confdefs.h <<_ACEOF 7843 #define HAVE__BOOL 1 7844 _ACEOF 7845 7846 7847 fi 7848 7849 if test $ac_cv_header_stdbool_h = yes; then 7713 7850 7714 7851 cat >>confdefs.h <<\_ACEOF 7715 #define STDC_HEADERS 1 7716 _ACEOF 7717 7718 fi 7719 7720 7721 7722 for ac_header in stdlib.h string.h 7852 #define HAVE_STDBOOL_H 1 7853 _ACEOF 7854 7855 fi 7856 7857 7858 # Checks for library functions. 7859 7860 for ac_header in stdlib.h 7723 7861 do 7724 7862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7869 8007 done 7870 8008 7871 7872 # Checks for typedefs, structures, and compiler characteristics.7873 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&57874 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&67875 if test "${ac_cv_header_stdbool_h+set}" = set; then7876 echo $ECHO_N "(cached) $ECHO_C" >&67877 else7878 cat >conftest.$ac_ext <<_ACEOF7879 /* confdefs.h. */7880 _ACEOF7881 cat confdefs.h >>conftest.$ac_ext7882 cat >>conftest.$ac_ext <<_ACEOF7883 /* end confdefs.h. */7884 7885 #include <stdbool.h>7886 #ifndef bool7887 # error bool is not defined7888 #endif7889 #ifndef false7890 # error false is not defined7891 #endif7892 #if false7893 # error false is not 07894 #endif7895 #ifndef true7896 # error true is not defined7897 #endif7898 #if true != 17899 # error true is not 17900 #endif7901 #ifndef __bool_true_false_are_defined7902 # error __bool_true_false_are_defined is not defined7903 #endif7904 7905 struct s { _Bool s: 1; _Bool t; } s;7906 7907 char a[true == 1 ? 1 : -1];7908 char b[false == 0 ? 1 : -1];7909 char c[__bool_true_false_are_defined == 1 ? 1 : -1];7910 char d[(bool) -0.5 == true ? 1 : -1];7911 bool e = &s;7912 char f[(_Bool) -0.0 == false ? 1 : -1];7913 char g[true];7914 char h[sizeof (_Bool)];7915 char i[sizeof s.t];7916 7917 int7918 main ()7919 {7920 return !a + !b + !c + !d + !e + !f + !g + !h + !i;7921 ;7922 return 0;7923 }7924 _ACEOF7925 rm -f conftest.$ac_objext7926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57927 (eval $ac_compile) 2>conftest.er17928 ac_status=$?7929 grep -v '^ *+' conftest.er1 >conftest.err7930 rm -f conftest.er17931 cat conftest.err >&57932 echo "$as_me:$LINENO: \$? = $ac_status" >&57933 (exit $ac_status); } &&7934 { ac_try='test -z "$ac_c_werror_flag"7935 || test ! -s conftest.err'7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57937 (eval $ac_try) 2>&57938 ac_status=$?7939 echo "$as_me:$LINENO: \$? = $ac_status" >&57940 (exit $ac_status); }; } &&7941 { ac_try='test -s conftest.$ac_objext'7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57943 (eval $ac_try) 2>&57944 ac_status=$?7945 echo "$as_me:$LINENO: \$? = $ac_status" >&57946 (exit $ac_status); }; }; then7947 ac_cv_header_stdbool_h=yes7948 else7949 echo "$as_me: failed program was:" >&57950 sed 's/^/| /' conftest.$ac_ext >&57951 7952 ac_cv_header_stdbool_h=no7953 fi7954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7955 fi7956 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&57957 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&67958 echo "$as_me:$LINENO: checking for _Bool" >&57959 echo $ECHO_N "checking for _Bool... $ECHO_C" >&67960 if test "${ac_cv_type__Bool+set}" = set; then7961 echo $ECHO_N "(cached) $ECHO_C" >&67962 else7963 cat >conftest.$ac_ext <<_ACEOF7964 /* confdefs.h. */7965 _ACEOF7966 cat confdefs.h >>conftest.$ac_ext7967 cat >>conftest.$ac_ext <<_ACEOF7968 /* end confdefs.h. */7969 $ac_includes_default7970 int7971 main ()7972 {7973 if ((_Bool *) 0)7974 return 0;7975 if (sizeof (_Bool))7976 return 0;7977 ;7978 return 0;7979 }7980 _ACEOF7981 rm -f conftest.$ac_objext7982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57983 (eval $ac_compile) 2>conftest.er17984 ac_status=$?7985 grep -v '^ *+' conftest.er1 >conftest.err7986 rm -f conftest.er17987 cat conftest.err >&57988 echo "$as_me:$LINENO: \$? = $ac_status" >&57989 (exit $ac_status); } &&7990 { ac_try='test -z "$ac_c_werror_flag"7991 || test ! -s conftest.err'7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57993 (eval $ac_try) 2>&57994 ac_status=$?7995 echo "$as_me:$LINENO: \$? = $ac_status" >&57996 (exit $ac_status); }; } &&7997 { ac_try='test -s conftest.$ac_objext'7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57999 (eval $ac_try) 2>&58000 ac_status=$?8001 echo "$as_me:$LINENO: \$? = $ac_status" >&58002 (exit $ac_status); }; }; then8003 ac_cv_type__Bool=yes8004 else8005 echo "$as_me: failed program was:" >&58006 sed 's/^/| /' conftest.$ac_ext >&58007 8008 ac_cv_type__Bool=no8009 fi8010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8011 fi8012 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&58013 echo "${ECHO_T}$ac_cv_type__Bool" >&68014 if test $ac_cv_type__Bool = yes; then8015 8016 cat >>confdefs.h <<_ACEOF8017 #define HAVE__BOOL 18018 _ACEOF8019 8020 8021 fi8022 8023 if test $ac_cv_header_stdbool_h = yes; then8024 8025 cat >>confdefs.h <<\_ACEOF8026 #define HAVE_STDBOOL_H 18027 _ACEOF8028 8029 fi8030 8031 8032 # Checks for library functions.8033 8034 for ac_header in stdlib.h8035 do8036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`8037 if eval "test \"\${$as_ac_Header+set}\" = set"; then8038 echo "$as_me:$LINENO: checking for $ac_header" >&58039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68040 if eval "test \"\${$as_ac_Header+set}\" = set"; then8041 echo $ECHO_N "(cached) $ECHO_C" >&68042 fi8043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68045 else8046 # Is the header compilable?8047 echo "$as_me:$LINENO: checking $ac_header usability" >&58048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&68049 cat >conftest.$ac_ext <<_ACEOF8050 /* confdefs.h. */8051 _ACEOF8052 cat confdefs.h >>conftest.$ac_ext8053 cat >>conftest.$ac_ext <<_ACEOF8054 /* end confdefs.h. */8055 $ac_includes_default8056 #include <$ac_header>8057 _ACEOF8058 rm -f conftest.$ac_objext8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58060 (eval $ac_compile) 2>conftest.er18061 ac_status=$?8062 grep -v '^ *+' conftest.er1 >conftest.err8063 rm -f conftest.er18064 cat conftest.err >&58065 echo "$as_me:$LINENO: \$? = $ac_status" >&58066 (exit $ac_status); } &&8067 { ac_try='test -z "$ac_c_werror_flag"8068 || test ! -s conftest.err'8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58070 (eval $ac_try) 2>&58071 ac_status=$?8072 echo "$as_me:$LINENO: \$? = $ac_status" >&58073 (exit $ac_status); }; } &&8074 { ac_try='test -s conftest.$ac_objext'8075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58076 (eval $ac_try) 2>&58077 ac_status=$?8078 echo "$as_me:$LINENO: \$? = $ac_status" >&58079 (exit $ac_status); }; }; then8080 ac_header_compiler=yes8081 else8082 echo "$as_me: failed program was:" >&58083 sed 's/^/| /' conftest.$ac_ext >&58084 8085 ac_header_compiler=no8086 fi8087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58089 echo "${ECHO_T}$ac_header_compiler" >&68090 8091 # Is the header present?8092 echo "$as_me:$LINENO: checking $ac_header presence" >&58093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&68094 cat >conftest.$ac_ext <<_ACEOF8095 /* confdefs.h. */8096 _ACEOF8097 cat confdefs.h >>conftest.$ac_ext8098 cat >>conftest.$ac_ext <<_ACEOF8099 /* end confdefs.h. */8100 #include <$ac_header>8101 _ACEOF8102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18104 ac_status=$?8105 grep -v '^ *+' conftest.er1 >conftest.err8106 rm -f conftest.er18107 cat conftest.err >&58108 echo "$as_me:$LINENO: \$? = $ac_status" >&58109 (exit $ac_status); } >/dev/null; then8110 if test -s conftest.err; then8111 ac_cpp_err=$ac_c_preproc_warn_flag8112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8113 else8114 ac_cpp_err=8115 fi8116 else8117 ac_cpp_err=yes8118 fi8119 if test -z "$ac_cpp_err"; then8120 ac_header_preproc=yes8121 else8122 echo "$as_me: failed program was:" >&58123 sed 's/^/| /' conftest.$ac_ext >&58124 8125 ac_header_preproc=no8126 fi8127 rm -f conftest.err conftest.$ac_ext8128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58129 echo "${ECHO_T}$ac_header_preproc" >&68130 8131 # So? What about this header?8132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8133 yes:no: )8134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8138 ac_header_preproc=yes8139 ;;8140 no:yes:* )8141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8153 (8154 cat <<\_ASBOX8155 ## ---------------------------------------------- ##8156 ## Report this to orxonox-dev at mail.datacore.ch ##8157 ## ---------------------------------------------- ##8158 _ASBOX8159 ) |8160 sed "s/^/$as_me: WARNING: /" >&28161 ;;8162 esac8163 echo "$as_me:$LINENO: checking for $ac_header" >&58164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68165 if eval "test \"\${$as_ac_Header+set}\" = set"; then8166 echo $ECHO_N "(cached) $ECHO_C" >&68167 else8168 eval "$as_ac_Header=\$ac_header_preproc"8169 fi8170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68172 8173 fi8174 if test `eval echo '${'$as_ac_Header'}'` = yes; then8175 cat >>confdefs.h <<_ACEOF8176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18177 _ACEOF8178 8179 fi8180 8181 done8182 8183 8009 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 8184 8010 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 … … 8509 8335 Usually this means the macro was only invoked conditionally." >&5 8510 8336 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 8511 Usually this means the macro was only invoked conditionally." >&2;}8512 { (exit 1); exit 1; }; }8513 fi8514 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then8515 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.8516 Usually this means the macro was only invoked conditionally." >&58517 echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.8518 8337 Usually this means the macro was only invoked conditionally." >&2;} 8519 8338 { (exit 1); exit 1; }; } … … 8797 8616 cat >&5 <<_CSEOF 8798 8617 8799 This file was extended by orxonox $as_me 0.2. 2-pre-alpha, which was8618 This file was extended by orxonox $as_me 0.2.3-pre-alpha, which was 8800 8619 generated by GNU Autoconf 2.59. Invocation command line was 8801 8620 … … 8860 8679 cat >>$CONFIG_STATUS <<_ACEOF 8861 8680 ac_cs_version="\\ 8862 orxonox config.status 0.2. 2-pre-alpha8681 orxonox config.status 0.2.3-pre-alpha 8863 8682 configured by $0, generated by GNU Autoconf 2.59, 8864 8683 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 9115 8934 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 9116 8935 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 8936 s,@RANLIB@,$RANLIB,;t t 8937 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 9117 8938 s,@CC@,$CC,;t t 9118 8939 s,@CFLAGS@,$CFLAGS,;t t … … 9132 8953 s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t 9133 8954 s,@GPROF@,$GPROF,;t t 8955 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 9134 8956 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 9135 8957 s,@GTK2_LIBS@,$GTK2_LIBS,;t t … … 9137 8959 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 9138 8960 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 9139 s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t9140 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t9141 s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t9142 s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t9143 8961 s,@CURL_LIBS@,$CURL_LIBS,;t t 9144 8962 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
Note: See TracChangeset
for help on using the changeset viewer.