Changeset 4217 in orxonox.OLD for orxonox/branches/movie_player/configure
- Timestamp:
- May 18, 2005, 11:27:40 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/movie_player/configure
r4014 r4217 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 … … 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 … … 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 … … 6636 6720 #-----# 6637 6721 if test x$def_gtk = xyes; then 6638 6639 6722 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) 6640 6723 echo "$as_me:$LINENO: checking for gtk2.0" >&5 6641 6724 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 6642 if ` pkg-config--exists gtk+-2.0`; then6725 if `$PKG_CONFIG --exists gtk+-2.0`; then 6643 6726 echo "yes" 6644 6727 have_gtk2=yes 6645 GTK2_LIBS=` pkg-config--libs gtk+-2.0`6646 GTK2_CFLAGS=` pkg-config--cflags gtk+-2.0`6728 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0` 6729 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` 6647 6730 6648 6731 cat >>confdefs.h <<_ACEOF … … 6650 6733 _ACEOF 6651 6734 6735 if test $DEBUG -ge 3; then 6736 echo "cflags: $GTK2_CFLAGS" 6737 echo "libs: $GTK2_LIBS" 6738 fi 6652 6739 else 6653 6740 echo "no" … … 6665 6752 HAVE_GTK2_TRUE='#' 6666 6753 HAVE_GTK2_FALSE= 6667 fi6668 6669 6670 #---------#6671 # gThread #6672 #---------#6673 if test x$def_gthread = xyes; then6674 6675 echo "$as_me:$LINENO: checking for gthread" >&56676 echo $ECHO_N "checking for gthread... $ECHO_C" >&66677 if `pkg-config --exists gthread-2.0`; then6678 echo "yes"6679 have_gthread=yes6680 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`6681 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`6682 6683 cat >>confdefs.h <<_ACEOF6684 #define HAVE_GTHREAD 16685 _ACEOF6686 6687 else6688 echo "no"6689 fi6690 6691 fi6692 6693 6694 6695 6696 if test x$have_gthread = xyes; then6697 HAVE_GTHREAD_TRUE=6698 HAVE_GTHREAD_FALSE='#'6699 else6700 HAVE_GTHREAD_TRUE='#'6701 HAVE_GTHREAD_FALSE=6702 6754 fi 6703 6755 … … 6949 7001 6950 7002 6951 #---------# 6952 # pthread # 6953 #---------# 6954 if test x$def_pthread = xyes ; then 6955 if test x$have_gthread = xyes ; then 6956 6957 for ac_header in pthread.h 7003 #--------# 7004 # efence # 7005 #--------# 7006 if test x$def_efence = xyes ; then 7007 echo "$as_me:$LINENO: checking for main in -lefence" >&5 7008 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 7009 if test "${ac_cv_lib_efence_main+set}" = set; then 7010 echo $ECHO_N "(cached) $ECHO_C" >&6 7011 else 7012 ac_check_lib_save_LIBS=$LIBS 7013 LIBS="-lefence $LIBS" 7014 cat >conftest.$ac_ext <<_ACEOF 7015 /* confdefs.h. */ 7016 _ACEOF 7017 cat confdefs.h >>conftest.$ac_ext 7018 cat >>conftest.$ac_ext <<_ACEOF 7019 /* end confdefs.h. */ 7020 7021 7022 int 7023 main () 7024 { 7025 main (); 7026 ; 7027 return 0; 7028 } 7029 _ACEOF 7030 rm -f conftest.$ac_objext conftest$ac_exeext 7031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7032 (eval $ac_link) 2>conftest.er1 7033 ac_status=$? 7034 grep -v '^ *+' conftest.er1 >conftest.err 7035 rm -f conftest.er1 7036 cat conftest.err >&5 7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7038 (exit $ac_status); } && 7039 { ac_try='test -z "$ac_c_werror_flag" 7040 || test ! -s conftest.err' 7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7042 (eval $ac_try) 2>&5 7043 ac_status=$? 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); }; } && 7046 { ac_try='test -s conftest$ac_exeext' 7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7048 (eval $ac_try) 2>&5 7049 ac_status=$? 7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7051 (exit $ac_status); }; }; then 7052 ac_cv_lib_efence_main=yes 7053 else 7054 echo "$as_me: failed program was:" >&5 7055 sed 's/^/| /' conftest.$ac_ext >&5 7056 7057 ac_cv_lib_efence_main=no 7058 fi 7059 rm -f conftest.err conftest.$ac_objext \ 7060 conftest$ac_exeext conftest.$ac_ext 7061 LIBS=$ac_check_lib_save_LIBS 7062 fi 7063 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5 7064 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 7065 if test $ac_cv_lib_efence_main = yes; then 7066 FOUND_efence=yes 7067 fi 7068 7069 if test x$FOUND_efence = xyes ; then 7070 LIBS="$LIBS -lefence" 7071 fi 7072 7073 fi 7074 7075 # FIXME: Replace `main' with a function in `-lm': 7076 7077 echo "$as_me:$LINENO: checking for main in -lm" >&5 7078 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 7079 if test "${ac_cv_lib_m_main+set}" = set; then 7080 echo $ECHO_N "(cached) $ECHO_C" >&6 7081 else 7082 ac_check_lib_save_LIBS=$LIBS 7083 LIBS="-lm $LIBS" 7084 cat >conftest.$ac_ext <<_ACEOF 7085 /* confdefs.h. */ 7086 _ACEOF 7087 cat confdefs.h >>conftest.$ac_ext 7088 cat >>conftest.$ac_ext <<_ACEOF 7089 /* end confdefs.h. */ 7090 7091 7092 int 7093 main () 7094 { 7095 main (); 7096 ; 7097 return 0; 7098 } 7099 _ACEOF 7100 rm -f conftest.$ac_objext conftest$ac_exeext 7101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7102 (eval $ac_link) 2>conftest.er1 7103 ac_status=$? 7104 grep -v '^ *+' conftest.er1 >conftest.err 7105 rm -f conftest.er1 7106 cat conftest.err >&5 7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7108 (exit $ac_status); } && 7109 { ac_try='test -z "$ac_c_werror_flag" 7110 || test ! -s conftest.err' 7111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7112 (eval $ac_try) 2>&5 7113 ac_status=$? 7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7115 (exit $ac_status); }; } && 7116 { ac_try='test -s conftest$ac_exeext' 7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7118 (eval $ac_try) 2>&5 7119 ac_status=$? 7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 (exit $ac_status); }; }; then 7122 ac_cv_lib_m_main=yes 7123 else 7124 echo "$as_me: failed program was:" >&5 7125 sed 's/^/| /' conftest.$ac_ext >&5 7126 7127 ac_cv_lib_m_main=no 7128 fi 7129 rm -f conftest.err conftest.$ac_objext \ 7130 conftest$ac_exeext conftest.$ac_ext 7131 LIBS=$ac_check_lib_save_LIBS 7132 fi 7133 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7134 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 7135 if test $ac_cv_lib_m_main = yes; then 7136 cat >>confdefs.h <<_ACEOF 7137 #define HAVE_LIBM 1 7138 _ACEOF 7139 7140 LIBS="-lm $LIBS" 7141 7142 fi 7143 7144 7145 7146 # Checks for header files. 7147 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7148 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7149 if test "${ac_cv_header_stdc+set}" = set; then 7150 echo $ECHO_N "(cached) $ECHO_C" >&6 7151 else 7152 cat >conftest.$ac_ext <<_ACEOF 7153 /* confdefs.h. */ 7154 _ACEOF 7155 cat confdefs.h >>conftest.$ac_ext 7156 cat >>conftest.$ac_ext <<_ACEOF 7157 /* end confdefs.h. */ 7158 #include <stdlib.h> 7159 #include <stdarg.h> 7160 #include <string.h> 7161 #include <float.h> 7162 7163 int 7164 main () 7165 { 7166 7167 ; 7168 return 0; 7169 } 7170 _ACEOF 7171 rm -f conftest.$ac_objext 7172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7173 (eval $ac_compile) 2>conftest.er1 7174 ac_status=$? 7175 grep -v '^ *+' conftest.er1 >conftest.err 7176 rm -f conftest.er1 7177 cat conftest.err >&5 7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7179 (exit $ac_status); } && 7180 { ac_try='test -z "$ac_c_werror_flag" 7181 || test ! -s conftest.err' 7182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7183 (eval $ac_try) 2>&5 7184 ac_status=$? 7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7186 (exit $ac_status); }; } && 7187 { ac_try='test -s conftest.$ac_objext' 7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7189 (eval $ac_try) 2>&5 7190 ac_status=$? 7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7192 (exit $ac_status); }; }; then 7193 ac_cv_header_stdc=yes 7194 else 7195 echo "$as_me: failed program was:" >&5 7196 sed 's/^/| /' conftest.$ac_ext >&5 7197 7198 ac_cv_header_stdc=no 7199 fi 7200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7201 7202 if test $ac_cv_header_stdc = yes; then 7203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7204 cat >conftest.$ac_ext <<_ACEOF 7205 /* confdefs.h. */ 7206 _ACEOF 7207 cat confdefs.h >>conftest.$ac_ext 7208 cat >>conftest.$ac_ext <<_ACEOF 7209 /* end confdefs.h. */ 7210 #include <string.h> 7211 7212 _ACEOF 7213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7214 $EGREP "memchr" >/dev/null 2>&1; then 7215 : 7216 else 7217 ac_cv_header_stdc=no 7218 fi 7219 rm -f conftest* 7220 7221 fi 7222 7223 if test $ac_cv_header_stdc = yes; then 7224 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7225 cat >conftest.$ac_ext <<_ACEOF 7226 /* confdefs.h. */ 7227 _ACEOF 7228 cat confdefs.h >>conftest.$ac_ext 7229 cat >>conftest.$ac_ext <<_ACEOF 7230 /* end confdefs.h. */ 7231 #include <stdlib.h> 7232 7233 _ACEOF 7234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7235 $EGREP "free" >/dev/null 2>&1; then 7236 : 7237 else 7238 ac_cv_header_stdc=no 7239 fi 7240 rm -f conftest* 7241 7242 fi 7243 7244 if test $ac_cv_header_stdc = yes; then 7245 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7246 if test "$cross_compiling" = yes; then 7247 : 7248 else 7249 cat >conftest.$ac_ext <<_ACEOF 7250 /* confdefs.h. */ 7251 _ACEOF 7252 cat confdefs.h >>conftest.$ac_ext 7253 cat >>conftest.$ac_ext <<_ACEOF 7254 /* end confdefs.h. */ 7255 #include <ctype.h> 7256 #if ((' ' & 0x0FF) == 0x020) 7257 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7258 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7259 #else 7260 # define ISLOWER(c) \ 7261 (('a' <= (c) && (c) <= 'i') \ 7262 || ('j' <= (c) && (c) <= 'r') \ 7263 || ('s' <= (c) && (c) <= 'z')) 7264 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7265 #endif 7266 7267 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7268 int 7269 main () 7270 { 7271 int i; 7272 for (i = 0; i < 256; i++) 7273 if (XOR (islower (i), ISLOWER (i)) 7274 || toupper (i) != TOUPPER (i)) 7275 exit(2); 7276 exit (0); 7277 } 7278 _ACEOF 7279 rm -f conftest$ac_exeext 7280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7281 (eval $ac_link) 2>&5 7282 ac_status=$? 7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7286 (eval $ac_try) 2>&5 7287 ac_status=$? 7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7289 (exit $ac_status); }; }; then 7290 : 7291 else 7292 echo "$as_me: program exited with status $ac_status" >&5 7293 echo "$as_me: failed program was:" >&5 7294 sed 's/^/| /' conftest.$ac_ext >&5 7295 7296 ( exit $ac_status ) 7297 ac_cv_header_stdc=no 7298 fi 7299 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7300 fi 7301 fi 7302 fi 7303 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7304 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7305 if test $ac_cv_header_stdc = yes; then 7306 7307 cat >>confdefs.h <<\_ACEOF 7308 #define STDC_HEADERS 1 7309 _ACEOF 7310 7311 fi 7312 7313 7314 7315 for ac_header in stdlib.h string.h 6958 7316 do 6959 7317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7099 7457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7100 7458 _ACEOF 7101 pthreadHeader="yes" 7102 else 7103 pthreadHeader="no" 7459 7104 7460 fi 7105 7461 7106 7462 done 7107 7463 7108 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 7109 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 7110 if test "${ac_cv_lib_pthread_main+set}" = set; then 7464 7465 # Checks for typedefs, structures, and compiler characteristics. 7466 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7467 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7468 if test "${ac_cv_header_stdbool_h+set}" = set; then 7111 7469 echo $ECHO_N "(cached) $ECHO_C" >&6 7112 7470 else 7113 ac_check_lib_save_LIBS=$LIBS 7114 LIBS="-lpthread $LIBS" 7115 cat >conftest.$ac_ext <<_ACEOF 7471 cat >conftest.$ac_ext <<_ACEOF 7116 7472 /* confdefs.h. */ 7117 7473 _ACEOF … … 7120 7476 /* end confdefs.h. */ 7121 7477 7478 #include <stdbool.h> 7479 #ifndef bool 7480 # error bool is not defined 7481 #endif 7482 #ifndef false 7483 # error false is not defined 7484 #endif 7485 #if false 7486 # error false is not 0 7487 #endif 7488 #ifndef true 7489 # error true is not defined 7490 #endif 7491 #if true != 1 7492 # error true is not 1 7493 #endif 7494 #ifndef __bool_true_false_are_defined 7495 # error __bool_true_false_are_defined is not defined 7496 #endif 7497 7498 struct s { _Bool s: 1; _Bool t; } s; 7499 7500 char a[true == 1 ? 1 : -1]; 7501 char b[false == 0 ? 1 : -1]; 7502 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7503 char d[(bool) -0.5 == true ? 1 : -1]; 7504 bool e = &s; 7505 char f[(_Bool) -0.0 == false ? 1 : -1]; 7506 char g[true]; 7507 char h[sizeof (_Bool)]; 7508 char i[sizeof s.t]; 7122 7509 7123 7510 int 7124 7511 main () 7125 7512 { 7126 main ();7513 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7127 7514 ; 7128 7515 return 0; 7129 7516 } 7130 7517 _ACEOF 7131 rm -f conftest.$ac_objext conftest$ac_exeext7132 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57133 (eval $ac_ link) 2>conftest.er17518 rm -f conftest.$ac_objext 7519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7520 (eval $ac_compile) 2>conftest.er1 7134 7521 ac_status=$? 7135 7522 grep -v '^ *+' conftest.er1 >conftest.err … … 7145 7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7146 7533 (exit $ac_status); }; } && 7147 { ac_try='test -s conftest $ac_exeext'7534 { ac_try='test -s conftest.$ac_objext' 7148 7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7149 7536 (eval $ac_try) 2>&5 … … 7151 7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7152 7539 (exit $ac_status); }; }; then 7153 ac_cv_ lib_pthread_main=yes7540 ac_cv_header_stdbool_h=yes 7154 7541 else 7155 7542 echo "$as_me: failed program was:" >&5 7156 7543 sed 's/^/| /' conftest.$ac_ext >&5 7157 7544 7158 ac_cv_lib_pthread_main=no 7159 fi 7160 rm -f conftest.err conftest.$ac_objext \ 7161 conftest$ac_exeext conftest.$ac_ext 7162 LIBS=$ac_check_lib_save_LIBS 7163 fi 7164 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 7165 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 7166 if test $ac_cv_lib_pthread_main = yes; then 7167 FOUND_pthread=yes 7168 fi 7169 7170 if test x$FOUND_pthread = xyes ; then 7171 LIBS="$LIBS -lpthread" 7172 fi 7173 fi 7174 fi 7175 7176 7177 #--------# 7178 # efence # 7179 #--------# 7180 if test x$def_efence = xyes ; then 7181 echo "$as_me:$LINENO: checking for main in -lefence" >&5 7182 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 7183 if test "${ac_cv_lib_efence_main+set}" = set; then 7545 ac_cv_header_stdbool_h=no 7546 fi 7547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7548 fi 7549 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7550 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7551 echo "$as_me:$LINENO: checking for _Bool" >&5 7552 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7553 if test "${ac_cv_type__Bool+set}" = set; then 7184 7554 echo $ECHO_N "(cached) $ECHO_C" >&6 7185 7555 else 7186 ac_check_lib_save_LIBS=$LIBS 7187 LIBS="-lefence $LIBS" 7188 cat >conftest.$ac_ext <<_ACEOF 7556 cat >conftest.$ac_ext <<_ACEOF 7189 7557 /* confdefs.h. */ 7190 7558 _ACEOF … … 7192 7560 cat >>conftest.$ac_ext <<_ACEOF 7193 7561 /* end confdefs.h. */ 7194 7195 7562 $ac_includes_default 7196 7563 int 7197 7564 main () 7198 7565 { 7199 main (); 7566 if ((_Bool *) 0) 7567 return 0; 7568 if (sizeof (_Bool)) 7569 return 0; 7200 7570 ; 7201 7571 return 0; 7202 7572 } 7203 7573 _ACEOF 7204 rm -f conftest.$ac_objext conftest$ac_exeext7205 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57206 (eval $ac_ link) 2>conftest.er17574 rm -f conftest.$ac_objext 7575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7576 (eval $ac_compile) 2>conftest.er1 7207 7577 ac_status=$? 7208 7578 grep -v '^ *+' conftest.er1 >conftest.err … … 7218 7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7219 7589 (exit $ac_status); }; } && 7220 { ac_try='test -s conftest$ac_exeext'7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57222 (eval $ac_try) 2>&57223 ac_status=$?7224 echo "$as_me:$LINENO: \$? = $ac_status" >&57225 (exit $ac_status); }; }; then7226 ac_cv_lib_efence_main=yes7227 else7228 echo "$as_me: failed program was:" >&57229 sed 's/^/| /' conftest.$ac_ext >&57230 7231 ac_cv_lib_efence_main=no7232 fi7233 rm -f conftest.err conftest.$ac_objext \7234 conftest$ac_exeext conftest.$ac_ext7235 LIBS=$ac_check_lib_save_LIBS7236 fi7237 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&57238 echo "${ECHO_T}$ac_cv_lib_efence_main" >&67239 if test $ac_cv_lib_efence_main = yes; then7240 FOUND_efence=yes7241 fi7242 7243 if test x$FOUND_efence = xyes ; then7244 LIBS="$LIBS -lefence"7245 fi7246 7247 fi7248 7249 # FIXME: Replace `main' with a function in `-lm':7250 7251 echo "$as_me:$LINENO: checking for main in -lm" >&57252 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&67253 if test "${ac_cv_lib_m_main+set}" = set; then7254 echo $ECHO_N "(cached) $ECHO_C" >&67255 else7256 ac_check_lib_save_LIBS=$LIBS7257 LIBS="-lm $LIBS"7258 cat >conftest.$ac_ext <<_ACEOF7259 /* confdefs.h. */7260 _ACEOF7261 cat confdefs.h >>conftest.$ac_ext7262 cat >>conftest.$ac_ext <<_ACEOF7263 /* end confdefs.h. */7264 7265 7266 int7267 main ()7268 {7269 main ();7270 ;7271 return 0;7272 }7273 _ACEOF7274 rm -f conftest.$ac_objext conftest$ac_exeext7275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&57276 (eval $ac_link) 2>conftest.er17277 ac_status=$?7278 grep -v '^ *+' conftest.er1 >conftest.err7279 rm -f conftest.er17280 cat conftest.err >&57281 echo "$as_me:$LINENO: \$? = $ac_status" >&57282 (exit $ac_status); } &&7283 { ac_try='test -z "$ac_c_werror_flag"7284 || test ! -s conftest.err'7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57286 (eval $ac_try) 2>&57287 ac_status=$?7288 echo "$as_me:$LINENO: \$? = $ac_status" >&57289 (exit $ac_status); }; } &&7290 { ac_try='test -s conftest$ac_exeext'7291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57292 (eval $ac_try) 2>&57293 ac_status=$?7294 echo "$as_me:$LINENO: \$? = $ac_status" >&57295 (exit $ac_status); }; }; then7296 ac_cv_lib_m_main=yes7297 else7298 echo "$as_me: failed program was:" >&57299 sed 's/^/| /' conftest.$ac_ext >&57300 7301 ac_cv_lib_m_main=no7302 fi7303 rm -f conftest.err conftest.$ac_objext \7304 conftest$ac_exeext conftest.$ac_ext7305 LIBS=$ac_check_lib_save_LIBS7306 fi7307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&57308 echo "${ECHO_T}$ac_cv_lib_m_main" >&67309 if test $ac_cv_lib_m_main = yes; then7310 cat >>confdefs.h <<_ACEOF7311 #define HAVE_LIBM 17312 _ACEOF7313 7314 LIBS="-lm $LIBS"7315 7316 fi7317 7318 7319 7320 # Checks for header files.7321 echo "$as_me:$LINENO: checking for ANSI C header files" >&57322 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&67323 if test "${ac_cv_header_stdc+set}" = set; then7324 echo $ECHO_N "(cached) $ECHO_C" >&67325 else7326 cat >conftest.$ac_ext <<_ACEOF7327 /* confdefs.h. */7328 _ACEOF7329 cat confdefs.h >>conftest.$ac_ext7330 cat >>conftest.$ac_ext <<_ACEOF7331 /* end confdefs.h. */7332 #include <stdlib.h>7333 #include <stdarg.h>7334 #include <string.h>7335 #include <float.h>7336 7337 int7338 main ()7339 {7340 7341 ;7342 return 0;7343 }7344 _ACEOF7345 rm -f conftest.$ac_objext7346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57347 (eval $ac_compile) 2>conftest.er17348 ac_status=$?7349 grep -v '^ *+' conftest.er1 >conftest.err7350 rm -f conftest.er17351 cat conftest.err >&57352 echo "$as_me:$LINENO: \$? = $ac_status" >&57353 (exit $ac_status); } &&7354 { ac_try='test -z "$ac_c_werror_flag"7355 || test ! -s conftest.err'7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57357 (eval $ac_try) 2>&57358 ac_status=$?7359 echo "$as_me:$LINENO: \$? = $ac_status" >&57360 (exit $ac_status); }; } &&7361 7590 { ac_try='test -s conftest.$ac_objext' 7362 7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 … … 7365 7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7366 7595 (exit $ac_status); }; }; then 7367 ac_cv_ header_stdc=yes7596 ac_cv_type__Bool=yes 7368 7597 else 7369 7598 echo "$as_me: failed program was:" >&5 7370 7599 sed 's/^/| /' conftest.$ac_ext >&5 7371 7600 7372 ac_cv_ header_stdc=no7601 ac_cv_type__Bool=no 7373 7602 fi 7374 7603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7375 7376 if test $ac_cv_header_stdc = yes; then 7377 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7378 cat >conftest.$ac_ext <<_ACEOF 7379 /* confdefs.h. */ 7380 _ACEOF 7381 cat confdefs.h >>conftest.$ac_ext 7382 cat >>conftest.$ac_ext <<_ACEOF 7383 /* end confdefs.h. */ 7384 #include <string.h> 7385 7386 _ACEOF 7387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7388 $EGREP "memchr" >/dev/null 2>&1; then 7389 : 7390 else 7391 ac_cv_header_stdc=no 7392 fi 7393 rm -f conftest* 7394 7395 fi 7396 7397 if test $ac_cv_header_stdc = yes; then 7398 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7399 cat >conftest.$ac_ext <<_ACEOF 7400 /* confdefs.h. */ 7401 _ACEOF 7402 cat confdefs.h >>conftest.$ac_ext 7403 cat >>conftest.$ac_ext <<_ACEOF 7404 /* end confdefs.h. */ 7405 #include <stdlib.h> 7406 7407 _ACEOF 7408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7409 $EGREP "free" >/dev/null 2>&1; then 7410 : 7411 else 7412 ac_cv_header_stdc=no 7413 fi 7414 rm -f conftest* 7415 7416 fi 7417 7418 if test $ac_cv_header_stdc = yes; then 7419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7420 if test "$cross_compiling" = yes; then 7421 : 7422 else 7423 cat >conftest.$ac_ext <<_ACEOF 7424 /* confdefs.h. */ 7425 _ACEOF 7426 cat confdefs.h >>conftest.$ac_ext 7427 cat >>conftest.$ac_ext <<_ACEOF 7428 /* end confdefs.h. */ 7429 #include <ctype.h> 7430 #if ((' ' & 0x0FF) == 0x020) 7431 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7432 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7433 #else 7434 # define ISLOWER(c) \ 7435 (('a' <= (c) && (c) <= 'i') \ 7436 || ('j' <= (c) && (c) <= 'r') \ 7437 || ('s' <= (c) && (c) <= 'z')) 7438 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7439 #endif 7440 7441 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7442 int 7443 main () 7444 { 7445 int i; 7446 for (i = 0; i < 256; i++) 7447 if (XOR (islower (i), ISLOWER (i)) 7448 || toupper (i) != TOUPPER (i)) 7449 exit(2); 7450 exit (0); 7451 } 7452 _ACEOF 7453 rm -f conftest$ac_exeext 7454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7455 (eval $ac_link) 2>&5 7456 ac_status=$? 7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7460 (eval $ac_try) 2>&5 7461 ac_status=$? 7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 (exit $ac_status); }; }; then 7464 : 7465 else 7466 echo "$as_me: program exited with status $ac_status" >&5 7467 echo "$as_me: failed program was:" >&5 7468 sed 's/^/| /' conftest.$ac_ext >&5 7469 7470 ( exit $ac_status ) 7471 ac_cv_header_stdc=no 7472 fi 7473 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7474 fi 7475 fi 7476 fi 7477 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7478 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7479 if test $ac_cv_header_stdc = yes; then 7604 fi 7605 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7606 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7607 if test $ac_cv_type__Bool = yes; then 7608 7609 cat >>confdefs.h <<_ACEOF 7610 #define HAVE__BOOL 1 7611 _ACEOF 7612 7613 7614 fi 7615 7616 if test $ac_cv_header_stdbool_h = yes; then 7480 7617 7481 7618 cat >>confdefs.h <<\_ACEOF 7482 #define STDC_HEADERS 1 7483 _ACEOF 7484 7485 fi 7486 7487 7488 7489 for ac_header in stdlib.h string.h 7619 #define HAVE_STDBOOL_H 1 7620 _ACEOF 7621 7622 fi 7623 7624 7625 # Checks for library functions. 7626 7627 for ac_header in stdlib.h 7490 7628 do 7491 7629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7636 7774 done 7637 7775 7638 7639 # Checks for typedefs, structures, and compiler characteristics.7640 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&57641 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&67642 if test "${ac_cv_header_stdbool_h+set}" = set; then7643 echo $ECHO_N "(cached) $ECHO_C" >&67644 else7645 cat >conftest.$ac_ext <<_ACEOF7646 /* confdefs.h. */7647 _ACEOF7648 cat confdefs.h >>conftest.$ac_ext7649 cat >>conftest.$ac_ext <<_ACEOF7650 /* end confdefs.h. */7651 7652 #include <stdbool.h>7653 #ifndef bool7654 # error bool is not defined7655 #endif7656 #ifndef false7657 # error false is not defined7658 #endif7659 #if false7660 # error false is not 07661 #endif7662 #ifndef true7663 # error true is not defined7664 #endif7665 #if true != 17666 # error true is not 17667 #endif7668 #ifndef __bool_true_false_are_defined7669 # error __bool_true_false_are_defined is not defined7670 #endif7671 7672 struct s { _Bool s: 1; _Bool t; } s;7673 7674 char a[true == 1 ? 1 : -1];7675 char b[false == 0 ? 1 : -1];7676 char c[__bool_true_false_are_defined == 1 ? 1 : -1];7677 char d[(bool) -0.5 == true ? 1 : -1];7678 bool e = &s;7679 char f[(_Bool) -0.0 == false ? 1 : -1];7680 char g[true];7681 char h[sizeof (_Bool)];7682 char i[sizeof s.t];7683 7684 int7685 main ()7686 {7687 return !a + !b + !c + !d + !e + !f + !g + !h + !i;7688 ;7689 return 0;7690 }7691 _ACEOF7692 rm -f conftest.$ac_objext7693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57694 (eval $ac_compile) 2>conftest.er17695 ac_status=$?7696 grep -v '^ *+' conftest.er1 >conftest.err7697 rm -f conftest.er17698 cat conftest.err >&57699 echo "$as_me:$LINENO: \$? = $ac_status" >&57700 (exit $ac_status); } &&7701 { ac_try='test -z "$ac_c_werror_flag"7702 || test ! -s conftest.err'7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57704 (eval $ac_try) 2>&57705 ac_status=$?7706 echo "$as_me:$LINENO: \$? = $ac_status" >&57707 (exit $ac_status); }; } &&7708 { ac_try='test -s conftest.$ac_objext'7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57710 (eval $ac_try) 2>&57711 ac_status=$?7712 echo "$as_me:$LINENO: \$? = $ac_status" >&57713 (exit $ac_status); }; }; then7714 ac_cv_header_stdbool_h=yes7715 else7716 echo "$as_me: failed program was:" >&57717 sed 's/^/| /' conftest.$ac_ext >&57718 7719 ac_cv_header_stdbool_h=no7720 fi7721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7722 fi7723 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&57724 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&67725 echo "$as_me:$LINENO: checking for _Bool" >&57726 echo $ECHO_N "checking for _Bool... $ECHO_C" >&67727 if test "${ac_cv_type__Bool+set}" = set; then7728 echo $ECHO_N "(cached) $ECHO_C" >&67729 else7730 cat >conftest.$ac_ext <<_ACEOF7731 /* confdefs.h. */7732 _ACEOF7733 cat confdefs.h >>conftest.$ac_ext7734 cat >>conftest.$ac_ext <<_ACEOF7735 /* end confdefs.h. */7736 $ac_includes_default7737 int7738 main ()7739 {7740 if ((_Bool *) 0)7741 return 0;7742 if (sizeof (_Bool))7743 return 0;7744 ;7745 return 0;7746 }7747 _ACEOF7748 rm -f conftest.$ac_objext7749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57750 (eval $ac_compile) 2>conftest.er17751 ac_status=$?7752 grep -v '^ *+' conftest.er1 >conftest.err7753 rm -f conftest.er17754 cat conftest.err >&57755 echo "$as_me:$LINENO: \$? = $ac_status" >&57756 (exit $ac_status); } &&7757 { ac_try='test -z "$ac_c_werror_flag"7758 || test ! -s conftest.err'7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57760 (eval $ac_try) 2>&57761 ac_status=$?7762 echo "$as_me:$LINENO: \$? = $ac_status" >&57763 (exit $ac_status); }; } &&7764 { ac_try='test -s conftest.$ac_objext'7765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57766 (eval $ac_try) 2>&57767 ac_status=$?7768 echo "$as_me:$LINENO: \$? = $ac_status" >&57769 (exit $ac_status); }; }; then7770 ac_cv_type__Bool=yes7771 else7772 echo "$as_me: failed program was:" >&57773 sed 's/^/| /' conftest.$ac_ext >&57774 7775 ac_cv_type__Bool=no7776 fi7777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7778 fi7779 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&57780 echo "${ECHO_T}$ac_cv_type__Bool" >&67781 if test $ac_cv_type__Bool = yes; then7782 7783 cat >>confdefs.h <<_ACEOF7784 #define HAVE__BOOL 17785 _ACEOF7786 7787 7788 fi7789 7790 if test $ac_cv_header_stdbool_h = yes; then7791 7792 cat >>confdefs.h <<\_ACEOF7793 #define HAVE_STDBOOL_H 17794 _ACEOF7795 7796 fi7797 7798 7799 # Checks for library functions.7800 7801 for ac_header in stdlib.h7802 do7803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7804 if eval "test \"\${$as_ac_Header+set}\" = set"; then7805 echo "$as_me:$LINENO: checking for $ac_header" >&57806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67807 if eval "test \"\${$as_ac_Header+set}\" = set"; then7808 echo $ECHO_N "(cached) $ECHO_C" >&67809 fi7810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67812 else7813 # Is the header compilable?7814 echo "$as_me:$LINENO: checking $ac_header usability" >&57815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67816 cat >conftest.$ac_ext <<_ACEOF7817 /* confdefs.h. */7818 _ACEOF7819 cat confdefs.h >>conftest.$ac_ext7820 cat >>conftest.$ac_ext <<_ACEOF7821 /* end confdefs.h. */7822 $ac_includes_default7823 #include <$ac_header>7824 _ACEOF7825 rm -f conftest.$ac_objext7826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57827 (eval $ac_compile) 2>conftest.er17828 ac_status=$?7829 grep -v '^ *+' conftest.er1 >conftest.err7830 rm -f conftest.er17831 cat conftest.err >&57832 echo "$as_me:$LINENO: \$? = $ac_status" >&57833 (exit $ac_status); } &&7834 { ac_try='test -z "$ac_c_werror_flag"7835 || test ! -s conftest.err'7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57837 (eval $ac_try) 2>&57838 ac_status=$?7839 echo "$as_me:$LINENO: \$? = $ac_status" >&57840 (exit $ac_status); }; } &&7841 { ac_try='test -s conftest.$ac_objext'7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57843 (eval $ac_try) 2>&57844 ac_status=$?7845 echo "$as_me:$LINENO: \$? = $ac_status" >&57846 (exit $ac_status); }; }; then7847 ac_header_compiler=yes7848 else7849 echo "$as_me: failed program was:" >&57850 sed 's/^/| /' conftest.$ac_ext >&57851 7852 ac_header_compiler=no7853 fi7854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57856 echo "${ECHO_T}$ac_header_compiler" >&67857 7858 # Is the header present?7859 echo "$as_me:$LINENO: checking $ac_header presence" >&57860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67861 cat >conftest.$ac_ext <<_ACEOF7862 /* confdefs.h. */7863 _ACEOF7864 cat confdefs.h >>conftest.$ac_ext7865 cat >>conftest.$ac_ext <<_ACEOF7866 /* end confdefs.h. */7867 #include <$ac_header>7868 _ACEOF7869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17871 ac_status=$?7872 grep -v '^ *+' conftest.er1 >conftest.err7873 rm -f conftest.er17874 cat conftest.err >&57875 echo "$as_me:$LINENO: \$? = $ac_status" >&57876 (exit $ac_status); } >/dev/null; then7877 if test -s conftest.err; then7878 ac_cpp_err=$ac_c_preproc_warn_flag7879 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7880 else7881 ac_cpp_err=7882 fi7883 else7884 ac_cpp_err=yes7885 fi7886 if test -z "$ac_cpp_err"; then7887 ac_header_preproc=yes7888 else7889 echo "$as_me: failed program was:" >&57890 sed 's/^/| /' conftest.$ac_ext >&57891 7892 ac_header_preproc=no7893 fi7894 rm -f conftest.err conftest.$ac_ext7895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57896 echo "${ECHO_T}$ac_header_preproc" >&67897 7898 # So? What about this header?7899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7900 yes:no: )7901 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7905 ac_header_preproc=yes7906 ;;7907 no:yes:* )7908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7912 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7914 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57915 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7918 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7920 (7921 cat <<\_ASBOX7922 ## ---------------------------------------------- ##7923 ## Report this to orxonox-dev at mail.datacore.ch ##7924 ## ---------------------------------------------- ##7925 _ASBOX7926 ) |7927 sed "s/^/$as_me: WARNING: /" >&27928 ;;7929 esac7930 echo "$as_me:$LINENO: checking for $ac_header" >&57931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67932 if eval "test \"\${$as_ac_Header+set}\" = set"; then7933 echo $ECHO_N "(cached) $ECHO_C" >&67934 else7935 eval "$as_ac_Header=\$ac_header_preproc"7936 fi7937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67939 7940 fi7941 if test `eval echo '${'$as_ac_Header'}'` = yes; then7942 cat >>confdefs.h <<_ACEOF7943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17944 _ACEOF7945 7946 fi7947 7948 done7949 7950 7776 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 7951 7777 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 … … 8276 8102 Usually this means the macro was only invoked conditionally." >&5 8277 8103 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 8278 Usually this means the macro was only invoked conditionally." >&2;}8279 { (exit 1); exit 1; }; }8280 fi8281 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then8282 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.8283 Usually this means the macro was only invoked conditionally." >&58284 echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.8285 8104 Usually this means the macro was only invoked conditionally." >&2;} 8286 8105 { (exit 1); exit 1; }; } … … 8882 8701 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 8883 8702 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 8703 s,@RANLIB@,$RANLIB,;t t 8704 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8884 8705 s,@CC@,$CC,;t t 8885 8706 s,@CFLAGS@,$CFLAGS,;t t … … 8899 8720 s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t 8900 8721 s,@GPROF@,$GPROF,;t t 8722 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 8901 8723 s,@MSBITFIELDS@,$MSBITFIELDS,;t t 8902 8724 s,@GTK2_LIBS@,$GTK2_LIBS,;t t … … 8904 8726 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8905 8727 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 8906 s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t8907 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t8908 s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t8909 s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t8910 8728 s,@CURL_LIBS@,$CURL_LIBS,;t t 8911 8729 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
Note: See TracChangeset
for help on using the changeset viewer.