Changeset 4063 in orxonox.OLD for orxonox/branches/md2_loader/configure
- Timestamp:
- May 5, 2005, 2:37:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/configure
r4010 r4063 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 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 … … 1604 1602 fi 1605 1603 1606 if mkdir -p -- . 2>/dev/null; then1604 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1607 1605 # Keeping the `.' argument allows $(mkdir_p) to be used without 1608 1606 # argument. Indeed, we sometimes output rules like … … 1617 1615 # directories to create, and then abort because `.' already 1618 1616 # exists. 1619 for d in ./-p ./-- ;1617 for d in ./-p ./--version; 1620 1618 do 1621 1619 test -d $d && rmdir $d … … 2523 2521 for i in 1 2 3 4 5 6; do 2524 2522 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2525 : > sub/conftst$i.h 2523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2524 # Solaris 8's {/usr,}/bin/sh. 2525 touch sub/conftst$i.h 2526 2526 done 2527 2527 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2551 2551 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2552 2552 # icc doesn't choke on unknown options, it will just issue warnings 2553 # (even with -Werror). So we grep stderr for any message 2554 # that says an option was ignored. 2555 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2553 # or remarks (even with -Werror). So we grep stderr for any message 2554 # that says an option was ignored or not supported. 2555 # When given -MP, icc 7.0 and 7.1 complain thusly: 2556 # icc: Command line warning: ignoring option '-M'; no argument required 2557 # The diagnosis changed in icc 8.0: 2558 # icc: Command line remark: option '-MP' not supported 2559 if (grep 'ignoring option' conftest.err || 2560 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2556 2561 am_cv_CXX_dependencies_compiler_type=$depmode 2557 2562 break … … 2583 2588 fi 2584 2589 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 2585 2670 2586 2671 ac_ext=c … … 3354 3439 for i in 1 2 3 4 5 6; do 3355 3440 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3356 : > sub/conftst$i.h 3441 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3442 # Solaris 8's {/usr,}/bin/sh. 3443 touch sub/conftst$i.h 3357 3444 done 3358 3445 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 3382 3469 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3383 3470 # icc doesn't choke on unknown options, it will just issue warnings 3384 # (even with -Werror). So we grep stderr for any message 3385 # that says an option was ignored. 3386 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3471 # or remarks (even with -Werror). So we grep stderr for any message 3472 # that says an option was ignored or not supported. 3473 # When given -MP, icc 7.0 and 7.1 complain thusly: 3474 # icc: Command line warning: ignoring option '-M'; no argument required 3475 # The diagnosis changed in icc 8.0: 3476 # icc: Command line remark: option '-MP' not supported 3477 if (grep 'ignoring option' conftest.err || 3478 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3387 3479 am_cv_CC_dependencies_compiler_type=$depmode 3388 3480 break … … 3908 4000 fi 3909 4001 if test x$def_gtk = xno; then 3910 echo "no"3911 fi3912 3913 #------------------#3914 # gThread-disabled #3915 #------------------#3916 echo "$as_me:$LINENO: checking if gThread should be enabled" >&53917 echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&63918 3919 # Check whether --with-gthread or --without-gthread was given.3920 if test "${with_gthread+set}" = set; then3921 withval="$with_gthread"3922 def_gthread=no3923 else3924 def_gthread=yes3925 fi;3926 if test x$def_gthread = xyes; then3927 echo "yes"3928 fi3929 if test x$def_gthread = xno; then3930 echo "no"3931 fi3932 3933 #------------------#3934 # pthread-disabled #3935 #------------------#3936 echo "$as_me:$LINENO: checking if pthread should be enabled" >&53937 echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&63938 3939 # Check whether --with-pthread or --without-pthread was given.3940 if test "${with_pthread+set}" = set; then3941 withval="$with_pthread"3942 def_pthread=no3943 else3944 def_pthread=yes3945 fi;3946 if test x$def_pthread = xyes; then3947 echo "yes"3948 fi3949 if test x$def_pthread = xno; then3950 4002 echo "no" 3951 4003 fi … … 6655 6707 6656 6708 #---------# 6657 # gThread #6658 #---------#6659 if test x$def_gthread = xyes; then6660 6661 echo "$as_me:$LINENO: checking for gthread" >&56662 echo $ECHO_N "checking for gthread... $ECHO_C" >&66663 if `pkg-config --exists gthread-2.0`; then6664 echo "yes"6665 have_gthread=yes6666 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`6667 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`6668 6669 cat >>confdefs.h <<_ACEOF6670 #define HAVE_GTHREAD 16671 _ACEOF6672 6673 else6674 echo "no"6675 fi6676 6677 fi6678 6679 6680 6681 6682 if test x$have_gthread = xyes; then6683 HAVE_GTHREAD_TRUE=6684 HAVE_GTHREAD_FALSE='#'6685 else6686 HAVE_GTHREAD_TRUE='#'6687 HAVE_GTHREAD_FALSE=6688 fi6689 6690 6691 #---------#6692 6709 # libcURL # 6693 6710 #---------# … … 6935 6952 6936 6953 6937 #---------# 6938 # pthread # 6939 #---------# 6940 if test x$def_pthread = xyes ; then 6941 if test x$have_gthread = xyes ; then 6942 6943 for ac_header in pthread.h 6954 #--------# 6955 # efence # 6956 #--------# 6957 if test x$def_efence = xyes ; then 6958 echo "$as_me:$LINENO: checking for main in -lefence" >&5 6959 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 6960 if test "${ac_cv_lib_efence_main+set}" = set; then 6961 echo $ECHO_N "(cached) $ECHO_C" >&6 6962 else 6963 ac_check_lib_save_LIBS=$LIBS 6964 LIBS="-lefence $LIBS" 6965 cat >conftest.$ac_ext <<_ACEOF 6966 /* confdefs.h. */ 6967 _ACEOF 6968 cat confdefs.h >>conftest.$ac_ext 6969 cat >>conftest.$ac_ext <<_ACEOF 6970 /* end confdefs.h. */ 6971 6972 6973 int 6974 main () 6975 { 6976 main (); 6977 ; 6978 return 0; 6979 } 6980 _ACEOF 6981 rm -f conftest.$ac_objext conftest$ac_exeext 6982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6983 (eval $ac_link) 2>conftest.er1 6984 ac_status=$? 6985 grep -v '^ *+' conftest.er1 >conftest.err 6986 rm -f conftest.er1 6987 cat conftest.err >&5 6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6989 (exit $ac_status); } && 6990 { ac_try='test -z "$ac_c_werror_flag" 6991 || test ! -s conftest.err' 6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6993 (eval $ac_try) 2>&5 6994 ac_status=$? 6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 (exit $ac_status); }; } && 6997 { ac_try='test -s conftest$ac_exeext' 6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6999 (eval $ac_try) 2>&5 7000 ac_status=$? 7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7002 (exit $ac_status); }; }; then 7003 ac_cv_lib_efence_main=yes 7004 else 7005 echo "$as_me: failed program was:" >&5 7006 sed 's/^/| /' conftest.$ac_ext >&5 7007 7008 ac_cv_lib_efence_main=no 7009 fi 7010 rm -f conftest.err conftest.$ac_objext \ 7011 conftest$ac_exeext conftest.$ac_ext 7012 LIBS=$ac_check_lib_save_LIBS 7013 fi 7014 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5 7015 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 7016 if test $ac_cv_lib_efence_main = yes; then 7017 FOUND_efence=yes 7018 fi 7019 7020 if test x$FOUND_efence = xyes ; then 7021 LIBS="$LIBS -lefence" 7022 fi 7023 7024 fi 7025 7026 # FIXME: Replace `main' with a function in `-lm': 7027 7028 echo "$as_me:$LINENO: checking for main in -lm" >&5 7029 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 7030 if test "${ac_cv_lib_m_main+set}" = set; then 7031 echo $ECHO_N "(cached) $ECHO_C" >&6 7032 else 7033 ac_check_lib_save_LIBS=$LIBS 7034 LIBS="-lm $LIBS" 7035 cat >conftest.$ac_ext <<_ACEOF 7036 /* confdefs.h. */ 7037 _ACEOF 7038 cat confdefs.h >>conftest.$ac_ext 7039 cat >>conftest.$ac_ext <<_ACEOF 7040 /* end confdefs.h. */ 7041 7042 7043 int 7044 main () 7045 { 7046 main (); 7047 ; 7048 return 0; 7049 } 7050 _ACEOF 7051 rm -f conftest.$ac_objext conftest$ac_exeext 7052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7053 (eval $ac_link) 2>conftest.er1 7054 ac_status=$? 7055 grep -v '^ *+' conftest.er1 >conftest.err 7056 rm -f conftest.er1 7057 cat conftest.err >&5 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7059 (exit $ac_status); } && 7060 { ac_try='test -z "$ac_c_werror_flag" 7061 || test ! -s conftest.err' 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 7066 (exit $ac_status); }; } && 7067 { ac_try='test -s conftest$ac_exeext' 7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7069 (eval $ac_try) 2>&5 7070 ac_status=$? 7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7072 (exit $ac_status); }; }; then 7073 ac_cv_lib_m_main=yes 7074 else 7075 echo "$as_me: failed program was:" >&5 7076 sed 's/^/| /' conftest.$ac_ext >&5 7077 7078 ac_cv_lib_m_main=no 7079 fi 7080 rm -f conftest.err conftest.$ac_objext \ 7081 conftest$ac_exeext conftest.$ac_ext 7082 LIBS=$ac_check_lib_save_LIBS 7083 fi 7084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7085 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 7086 if test $ac_cv_lib_m_main = yes; then 7087 cat >>confdefs.h <<_ACEOF 7088 #define HAVE_LIBM 1 7089 _ACEOF 7090 7091 LIBS="-lm $LIBS" 7092 7093 fi 7094 7095 7096 7097 # Checks for header files. 7098 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7099 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7100 if test "${ac_cv_header_stdc+set}" = set; then 7101 echo $ECHO_N "(cached) $ECHO_C" >&6 7102 else 7103 cat >conftest.$ac_ext <<_ACEOF 7104 /* confdefs.h. */ 7105 _ACEOF 7106 cat confdefs.h >>conftest.$ac_ext 7107 cat >>conftest.$ac_ext <<_ACEOF 7108 /* end confdefs.h. */ 7109 #include <stdlib.h> 7110 #include <stdarg.h> 7111 #include <string.h> 7112 #include <float.h> 7113 7114 int 7115 main () 7116 { 7117 7118 ; 7119 return 0; 7120 } 7121 _ACEOF 7122 rm -f conftest.$ac_objext 7123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7124 (eval $ac_compile) 2>conftest.er1 7125 ac_status=$? 7126 grep -v '^ *+' conftest.er1 >conftest.err 7127 rm -f conftest.er1 7128 cat conftest.err >&5 7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7130 (exit $ac_status); } && 7131 { ac_try='test -z "$ac_c_werror_flag" 7132 || test ! -s conftest.err' 7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7134 (eval $ac_try) 2>&5 7135 ac_status=$? 7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7137 (exit $ac_status); }; } && 7138 { ac_try='test -s conftest.$ac_objext' 7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7140 (eval $ac_try) 2>&5 7141 ac_status=$? 7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7143 (exit $ac_status); }; }; then 7144 ac_cv_header_stdc=yes 7145 else 7146 echo "$as_me: failed program was:" >&5 7147 sed 's/^/| /' conftest.$ac_ext >&5 7148 7149 ac_cv_header_stdc=no 7150 fi 7151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7152 7153 if test $ac_cv_header_stdc = yes; then 7154 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7155 cat >conftest.$ac_ext <<_ACEOF 7156 /* confdefs.h. */ 7157 _ACEOF 7158 cat confdefs.h >>conftest.$ac_ext 7159 cat >>conftest.$ac_ext <<_ACEOF 7160 /* end confdefs.h. */ 7161 #include <string.h> 7162 7163 _ACEOF 7164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7165 $EGREP "memchr" >/dev/null 2>&1; then 7166 : 7167 else 7168 ac_cv_header_stdc=no 7169 fi 7170 rm -f conftest* 7171 7172 fi 7173 7174 if test $ac_cv_header_stdc = yes; then 7175 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7176 cat >conftest.$ac_ext <<_ACEOF 7177 /* confdefs.h. */ 7178 _ACEOF 7179 cat confdefs.h >>conftest.$ac_ext 7180 cat >>conftest.$ac_ext <<_ACEOF 7181 /* end confdefs.h. */ 7182 #include <stdlib.h> 7183 7184 _ACEOF 7185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7186 $EGREP "free" >/dev/null 2>&1; then 7187 : 7188 else 7189 ac_cv_header_stdc=no 7190 fi 7191 rm -f conftest* 7192 7193 fi 7194 7195 if test $ac_cv_header_stdc = yes; then 7196 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7197 if test "$cross_compiling" = yes; then 7198 : 7199 else 7200 cat >conftest.$ac_ext <<_ACEOF 7201 /* confdefs.h. */ 7202 _ACEOF 7203 cat confdefs.h >>conftest.$ac_ext 7204 cat >>conftest.$ac_ext <<_ACEOF 7205 /* end confdefs.h. */ 7206 #include <ctype.h> 7207 #if ((' ' & 0x0FF) == 0x020) 7208 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7209 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7210 #else 7211 # define ISLOWER(c) \ 7212 (('a' <= (c) && (c) <= 'i') \ 7213 || ('j' <= (c) && (c) <= 'r') \ 7214 || ('s' <= (c) && (c) <= 'z')) 7215 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7216 #endif 7217 7218 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7219 int 7220 main () 7221 { 7222 int i; 7223 for (i = 0; i < 256; i++) 7224 if (XOR (islower (i), ISLOWER (i)) 7225 || toupper (i) != TOUPPER (i)) 7226 exit(2); 7227 exit (0); 7228 } 7229 _ACEOF 7230 rm -f conftest$ac_exeext 7231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7232 (eval $ac_link) 2>&5 7233 ac_status=$? 7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7235 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7237 (eval $ac_try) 2>&5 7238 ac_status=$? 7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7240 (exit $ac_status); }; }; then 7241 : 7242 else 7243 echo "$as_me: program exited with status $ac_status" >&5 7244 echo "$as_me: failed program was:" >&5 7245 sed 's/^/| /' conftest.$ac_ext >&5 7246 7247 ( exit $ac_status ) 7248 ac_cv_header_stdc=no 7249 fi 7250 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7251 fi 7252 fi 7253 fi 7254 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7255 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7256 if test $ac_cv_header_stdc = yes; then 7257 7258 cat >>confdefs.h <<\_ACEOF 7259 #define STDC_HEADERS 1 7260 _ACEOF 7261 7262 fi 7263 7264 7265 7266 for ac_header in stdlib.h string.h 6944 7267 do 6945 7268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7085 7408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7086 7409 _ACEOF 7087 pthreadHeader="yes" 7088 else 7089 pthreadHeader="no" 7410 7090 7411 fi 7091 7412 7092 7413 done 7093 7414 7094 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 7095 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 7096 if test "${ac_cv_lib_pthread_main+set}" = set; then 7415 7416 # Checks for typedefs, structures, and compiler characteristics. 7417 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7418 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7419 if test "${ac_cv_header_stdbool_h+set}" = set; then 7097 7420 echo $ECHO_N "(cached) $ECHO_C" >&6 7098 7421 else 7099 ac_check_lib_save_LIBS=$LIBS 7100 LIBS="-lpthread $LIBS" 7101 cat >conftest.$ac_ext <<_ACEOF 7422 cat >conftest.$ac_ext <<_ACEOF 7102 7423 /* confdefs.h. */ 7103 7424 _ACEOF … … 7106 7427 /* end confdefs.h. */ 7107 7428 7429 #include <stdbool.h> 7430 #ifndef bool 7431 # error bool is not defined 7432 #endif 7433 #ifndef false 7434 # error false is not defined 7435 #endif 7436 #if false 7437 # error false is not 0 7438 #endif 7439 #ifndef true 7440 # error true is not defined 7441 #endif 7442 #if true != 1 7443 # error true is not 1 7444 #endif 7445 #ifndef __bool_true_false_are_defined 7446 # error __bool_true_false_are_defined is not defined 7447 #endif 7448 7449 struct s { _Bool s: 1; _Bool t; } s; 7450 7451 char a[true == 1 ? 1 : -1]; 7452 char b[false == 0 ? 1 : -1]; 7453 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7454 char d[(bool) -0.5 == true ? 1 : -1]; 7455 bool e = &s; 7456 char f[(_Bool) -0.0 == false ? 1 : -1]; 7457 char g[true]; 7458 char h[sizeof (_Bool)]; 7459 char i[sizeof s.t]; 7108 7460 7109 7461 int 7110 7462 main () 7111 7463 { 7112 main ();7464 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7113 7465 ; 7114 7466 return 0; 7115 7467 } 7116 7468 _ACEOF 7117 rm -f conftest.$ac_objext conftest$ac_exeext7118 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57119 (eval $ac_ link) 2>conftest.er17469 rm -f conftest.$ac_objext 7470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7471 (eval $ac_compile) 2>conftest.er1 7120 7472 ac_status=$? 7121 7473 grep -v '^ *+' conftest.er1 >conftest.err … … 7131 7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7132 7484 (exit $ac_status); }; } && 7133 { ac_try='test -s conftest $ac_exeext'7485 { ac_try='test -s conftest.$ac_objext' 7134 7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7135 7487 (eval $ac_try) 2>&5 … … 7137 7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7138 7490 (exit $ac_status); }; }; then 7139 ac_cv_ lib_pthread_main=yes7491 ac_cv_header_stdbool_h=yes 7140 7492 else 7141 7493 echo "$as_me: failed program was:" >&5 7142 7494 sed 's/^/| /' conftest.$ac_ext >&5 7143 7495 7144 ac_cv_lib_pthread_main=no 7145 fi 7146 rm -f conftest.err conftest.$ac_objext \ 7147 conftest$ac_exeext conftest.$ac_ext 7148 LIBS=$ac_check_lib_save_LIBS 7149 fi 7150 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 7151 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 7152 if test $ac_cv_lib_pthread_main = yes; then 7153 FOUND_pthread=yes 7154 fi 7155 7156 if test x$FOUND_pthread = xyes ; then 7157 LIBS="$LIBS -lpthread" 7158 fi 7159 fi 7160 fi 7161 7162 7163 #--------# 7164 # efence # 7165 #--------# 7166 if test x$def_efence = xyes ; then 7167 echo "$as_me:$LINENO: checking for main in -lefence" >&5 7168 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 7169 if test "${ac_cv_lib_efence_main+set}" = set; then 7496 ac_cv_header_stdbool_h=no 7497 fi 7498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7499 fi 7500 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7501 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7502 echo "$as_me:$LINENO: checking for _Bool" >&5 7503 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7504 if test "${ac_cv_type__Bool+set}" = set; then 7170 7505 echo $ECHO_N "(cached) $ECHO_C" >&6 7171 7506 else 7172 ac_check_lib_save_LIBS=$LIBS 7173 LIBS="-lefence $LIBS" 7174 cat >conftest.$ac_ext <<_ACEOF 7507 cat >conftest.$ac_ext <<_ACEOF 7175 7508 /* confdefs.h. */ 7176 7509 _ACEOF … … 7178 7511 cat >>conftest.$ac_ext <<_ACEOF 7179 7512 /* end confdefs.h. */ 7180 7181 7513 $ac_includes_default 7182 7514 int 7183 7515 main () 7184 7516 { 7185 main (); 7517 if ((_Bool *) 0) 7518 return 0; 7519 if (sizeof (_Bool)) 7520 return 0; 7186 7521 ; 7187 7522 return 0; 7188 7523 } 7189 7524 _ACEOF 7190 rm -f conftest.$ac_objext conftest$ac_exeext7191 if { (eval echo "$as_me:$LINENO: \"$ac_ link\"") >&57192 (eval $ac_ link) 2>conftest.er17525 rm -f conftest.$ac_objext 7526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7527 (eval $ac_compile) 2>conftest.er1 7193 7528 ac_status=$? 7194 7529 grep -v '^ *+' conftest.er1 >conftest.err … … 7204 7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7205 7540 (exit $ac_status); }; } && 7206 { ac_try='test -s conftest$ac_exeext'7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57208 (eval $ac_try) 2>&57209 ac_status=$?7210 echo "$as_me:$LINENO: \$? = $ac_status" >&57211 (exit $ac_status); }; }; then7212 ac_cv_lib_efence_main=yes7213 else7214 echo "$as_me: failed program was:" >&57215 sed 's/^/| /' conftest.$ac_ext >&57216 7217 ac_cv_lib_efence_main=no7218 fi7219 rm -f conftest.err conftest.$ac_objext \7220 conftest$ac_exeext conftest.$ac_ext7221 LIBS=$ac_check_lib_save_LIBS7222 fi7223 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&57224 echo "${ECHO_T}$ac_cv_lib_efence_main" >&67225 if test $ac_cv_lib_efence_main = yes; then7226 FOUND_efence=yes7227 fi7228 7229 if test x$FOUND_efence = xyes ; then7230 LIBS="$LIBS -lefence"7231 fi7232 7233 fi7234 7235 # FIXME: Replace `main' with a function in `-lm':7236 7237 echo "$as_me:$LINENO: checking for main in -lm" >&57238 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&67239 if test "${ac_cv_lib_m_main+set}" = set; then7240 echo $ECHO_N "(cached) $ECHO_C" >&67241 else7242 ac_check_lib_save_LIBS=$LIBS7243 LIBS="-lm $LIBS"7244 cat >conftest.$ac_ext <<_ACEOF7245 /* confdefs.h. */7246 _ACEOF7247 cat confdefs.h >>conftest.$ac_ext7248 cat >>conftest.$ac_ext <<_ACEOF7249 /* end confdefs.h. */7250 7251 7252 int7253 main ()7254 {7255 main ();7256 ;7257 return 0;7258 }7259 _ACEOF7260 rm -f conftest.$ac_objext conftest$ac_exeext7261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&57262 (eval $ac_link) 2>conftest.er17263 ac_status=$?7264 grep -v '^ *+' conftest.er1 >conftest.err7265 rm -f conftest.er17266 cat conftest.err >&57267 echo "$as_me:$LINENO: \$? = $ac_status" >&57268 (exit $ac_status); } &&7269 { ac_try='test -z "$ac_c_werror_flag"7270 || test ! -s conftest.err'7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57272 (eval $ac_try) 2>&57273 ac_status=$?7274 echo "$as_me:$LINENO: \$? = $ac_status" >&57275 (exit $ac_status); }; } &&7276 { ac_try='test -s conftest$ac_exeext'7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57278 (eval $ac_try) 2>&57279 ac_status=$?7280 echo "$as_me:$LINENO: \$? = $ac_status" >&57281 (exit $ac_status); }; }; then7282 ac_cv_lib_m_main=yes7283 else7284 echo "$as_me: failed program was:" >&57285 sed 's/^/| /' conftest.$ac_ext >&57286 7287 ac_cv_lib_m_main=no7288 fi7289 rm -f conftest.err conftest.$ac_objext \7290 conftest$ac_exeext conftest.$ac_ext7291 LIBS=$ac_check_lib_save_LIBS7292 fi7293 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&57294 echo "${ECHO_T}$ac_cv_lib_m_main" >&67295 if test $ac_cv_lib_m_main = yes; then7296 cat >>confdefs.h <<_ACEOF7297 #define HAVE_LIBM 17298 _ACEOF7299 7300 LIBS="-lm $LIBS"7301 7302 fi7303 7304 7305 7306 # Checks for header files.7307 echo "$as_me:$LINENO: checking for ANSI C header files" >&57308 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&67309 if test "${ac_cv_header_stdc+set}" = set; then7310 echo $ECHO_N "(cached) $ECHO_C" >&67311 else7312 cat >conftest.$ac_ext <<_ACEOF7313 /* confdefs.h. */7314 _ACEOF7315 cat confdefs.h >>conftest.$ac_ext7316 cat >>conftest.$ac_ext <<_ACEOF7317 /* end confdefs.h. */7318 #include <stdlib.h>7319 #include <stdarg.h>7320 #include <string.h>7321 #include <float.h>7322 7323 int7324 main ()7325 {7326 7327 ;7328 return 0;7329 }7330 _ACEOF7331 rm -f conftest.$ac_objext7332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57333 (eval $ac_compile) 2>conftest.er17334 ac_status=$?7335 grep -v '^ *+' conftest.er1 >conftest.err7336 rm -f conftest.er17337 cat conftest.err >&57338 echo "$as_me:$LINENO: \$? = $ac_status" >&57339 (exit $ac_status); } &&7340 { ac_try='test -z "$ac_c_werror_flag"7341 || test ! -s conftest.err'7342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57343 (eval $ac_try) 2>&57344 ac_status=$?7345 echo "$as_me:$LINENO: \$? = $ac_status" >&57346 (exit $ac_status); }; } &&7347 7541 { ac_try='test -s conftest.$ac_objext' 7348 7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 … … 7351 7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7352 7546 (exit $ac_status); }; }; then 7353 ac_cv_ header_stdc=yes7547 ac_cv_type__Bool=yes 7354 7548 else 7355 7549 echo "$as_me: failed program was:" >&5 7356 7550 sed 's/^/| /' conftest.$ac_ext >&5 7357 7551 7358 ac_cv_ header_stdc=no7552 ac_cv_type__Bool=no 7359 7553 fi 7360 7554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7361 7362 if test $ac_cv_header_stdc = yes; then 7363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7364 cat >conftest.$ac_ext <<_ACEOF 7365 /* confdefs.h. */ 7366 _ACEOF 7367 cat confdefs.h >>conftest.$ac_ext 7368 cat >>conftest.$ac_ext <<_ACEOF 7369 /* end confdefs.h. */ 7370 #include <string.h> 7371 7372 _ACEOF 7373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7374 $EGREP "memchr" >/dev/null 2>&1; then 7375 : 7376 else 7377 ac_cv_header_stdc=no 7378 fi 7379 rm -f conftest* 7380 7381 fi 7382 7383 if test $ac_cv_header_stdc = yes; then 7384 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 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 7393 _ACEOF 7394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7395 $EGREP "free" >/dev/null 2>&1; then 7396 : 7397 else 7398 ac_cv_header_stdc=no 7399 fi 7400 rm -f conftest* 7401 7402 fi 7403 7404 if test $ac_cv_header_stdc = yes; then 7405 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7406 if test "$cross_compiling" = yes; then 7407 : 7408 else 7409 cat >conftest.$ac_ext <<_ACEOF 7410 /* confdefs.h. */ 7411 _ACEOF 7412 cat confdefs.h >>conftest.$ac_ext 7413 cat >>conftest.$ac_ext <<_ACEOF 7414 /* end confdefs.h. */ 7415 #include <ctype.h> 7416 #if ((' ' & 0x0FF) == 0x020) 7417 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7418 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7419 #else 7420 # define ISLOWER(c) \ 7421 (('a' <= (c) && (c) <= 'i') \ 7422 || ('j' <= (c) && (c) <= 'r') \ 7423 || ('s' <= (c) && (c) <= 'z')) 7424 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7425 #endif 7426 7427 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7428 int 7429 main () 7430 { 7431 int i; 7432 for (i = 0; i < 256; i++) 7433 if (XOR (islower (i), ISLOWER (i)) 7434 || toupper (i) != TOUPPER (i)) 7435 exit(2); 7436 exit (0); 7437 } 7438 _ACEOF 7439 rm -f conftest$ac_exeext 7440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7441 (eval $ac_link) 2>&5 7442 ac_status=$? 7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7446 (eval $ac_try) 2>&5 7447 ac_status=$? 7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7449 (exit $ac_status); }; }; then 7450 : 7451 else 7452 echo "$as_me: program exited with status $ac_status" >&5 7453 echo "$as_me: failed program was:" >&5 7454 sed 's/^/| /' conftest.$ac_ext >&5 7455 7456 ( exit $ac_status ) 7457 ac_cv_header_stdc=no 7458 fi 7459 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7460 fi 7461 fi 7462 fi 7463 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7464 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7465 if test $ac_cv_header_stdc = yes; then 7555 fi 7556 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7557 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7558 if test $ac_cv_type__Bool = yes; then 7559 7560 cat >>confdefs.h <<_ACEOF 7561 #define HAVE__BOOL 1 7562 _ACEOF 7563 7564 7565 fi 7566 7567 if test $ac_cv_header_stdbool_h = yes; then 7466 7568 7467 7569 cat >>confdefs.h <<\_ACEOF 7468 #define STDC_HEADERS 1 7469 _ACEOF 7470 7471 fi 7472 7473 7474 7475 for ac_header in stdlib.h string.h 7570 #define HAVE_STDBOOL_H 1 7571 _ACEOF 7572 7573 fi 7574 7575 7576 # Checks for library functions. 7577 7578 for ac_header in stdlib.h 7476 7579 do 7477 7580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7622 7725 done 7623 7726 7624 7625 # Checks for typedefs, structures, and compiler characteristics.7626 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&57627 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&67628 if test "${ac_cv_header_stdbool_h+set}" = set; then7629 echo $ECHO_N "(cached) $ECHO_C" >&67630 else7631 cat >conftest.$ac_ext <<_ACEOF7632 /* confdefs.h. */7633 _ACEOF7634 cat confdefs.h >>conftest.$ac_ext7635 cat >>conftest.$ac_ext <<_ACEOF7636 /* end confdefs.h. */7637 7638 #include <stdbool.h>7639 #ifndef bool7640 # error bool is not defined7641 #endif7642 #ifndef false7643 # error false is not defined7644 #endif7645 #if false7646 # error false is not 07647 #endif7648 #ifndef true7649 # error true is not defined7650 #endif7651 #if true != 17652 # error true is not 17653 #endif7654 #ifndef __bool_true_false_are_defined7655 # error __bool_true_false_are_defined is not defined7656 #endif7657 7658 struct s { _Bool s: 1; _Bool t; } s;7659 7660 char a[true == 1 ? 1 : -1];7661 char b[false == 0 ? 1 : -1];7662 char c[__bool_true_false_are_defined == 1 ? 1 : -1];7663 char d[(bool) -0.5 == true ? 1 : -1];7664 bool e = &s;7665 char f[(_Bool) -0.0 == false ? 1 : -1];7666 char g[true];7667 char h[sizeof (_Bool)];7668 char i[sizeof s.t];7669 7670 int7671 main ()7672 {7673 return !a + !b + !c + !d + !e + !f + !g + !h + !i;7674 ;7675 return 0;7676 }7677 _ACEOF7678 rm -f conftest.$ac_objext7679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57680 (eval $ac_compile) 2>conftest.er17681 ac_status=$?7682 grep -v '^ *+' conftest.er1 >conftest.err7683 rm -f conftest.er17684 cat conftest.err >&57685 echo "$as_me:$LINENO: \$? = $ac_status" >&57686 (exit $ac_status); } &&7687 { ac_try='test -z "$ac_c_werror_flag"7688 || test ! -s conftest.err'7689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57690 (eval $ac_try) 2>&57691 ac_status=$?7692 echo "$as_me:$LINENO: \$? = $ac_status" >&57693 (exit $ac_status); }; } &&7694 { ac_try='test -s conftest.$ac_objext'7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57696 (eval $ac_try) 2>&57697 ac_status=$?7698 echo "$as_me:$LINENO: \$? = $ac_status" >&57699 (exit $ac_status); }; }; then7700 ac_cv_header_stdbool_h=yes7701 else7702 echo "$as_me: failed program was:" >&57703 sed 's/^/| /' conftest.$ac_ext >&57704 7705 ac_cv_header_stdbool_h=no7706 fi7707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7708 fi7709 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&57710 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&67711 echo "$as_me:$LINENO: checking for _Bool" >&57712 echo $ECHO_N "checking for _Bool... $ECHO_C" >&67713 if test "${ac_cv_type__Bool+set}" = set; then7714 echo $ECHO_N "(cached) $ECHO_C" >&67715 else7716 cat >conftest.$ac_ext <<_ACEOF7717 /* confdefs.h. */7718 _ACEOF7719 cat confdefs.h >>conftest.$ac_ext7720 cat >>conftest.$ac_ext <<_ACEOF7721 /* end confdefs.h. */7722 $ac_includes_default7723 int7724 main ()7725 {7726 if ((_Bool *) 0)7727 return 0;7728 if (sizeof (_Bool))7729 return 0;7730 ;7731 return 0;7732 }7733 _ACEOF7734 rm -f conftest.$ac_objext7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57736 (eval $ac_compile) 2>conftest.er17737 ac_status=$?7738 grep -v '^ *+' conftest.er1 >conftest.err7739 rm -f conftest.er17740 cat conftest.err >&57741 echo "$as_me:$LINENO: \$? = $ac_status" >&57742 (exit $ac_status); } &&7743 { ac_try='test -z "$ac_c_werror_flag"7744 || test ! -s conftest.err'7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57746 (eval $ac_try) 2>&57747 ac_status=$?7748 echo "$as_me:$LINENO: \$? = $ac_status" >&57749 (exit $ac_status); }; } &&7750 { ac_try='test -s conftest.$ac_objext'7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57752 (eval $ac_try) 2>&57753 ac_status=$?7754 echo "$as_me:$LINENO: \$? = $ac_status" >&57755 (exit $ac_status); }; }; then7756 ac_cv_type__Bool=yes7757 else7758 echo "$as_me: failed program was:" >&57759 sed 's/^/| /' conftest.$ac_ext >&57760 7761 ac_cv_type__Bool=no7762 fi7763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7764 fi7765 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&57766 echo "${ECHO_T}$ac_cv_type__Bool" >&67767 if test $ac_cv_type__Bool = yes; then7768 7769 cat >>confdefs.h <<_ACEOF7770 #define HAVE__BOOL 17771 _ACEOF7772 7773 7774 fi7775 7776 if test $ac_cv_header_stdbool_h = yes; then7777 7778 cat >>confdefs.h <<\_ACEOF7779 #define HAVE_STDBOOL_H 17780 _ACEOF7781 7782 fi7783 7784 7785 # Checks for library functions.7786 7787 for ac_header in stdlib.h7788 do7789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7790 if eval "test \"\${$as_ac_Header+set}\" = set"; then7791 echo "$as_me:$LINENO: checking for $ac_header" >&57792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67793 if eval "test \"\${$as_ac_Header+set}\" = set"; then7794 echo $ECHO_N "(cached) $ECHO_C" >&67795 fi7796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67798 else7799 # Is the header compilable?7800 echo "$as_me:$LINENO: checking $ac_header usability" >&57801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67802 cat >conftest.$ac_ext <<_ACEOF7803 /* confdefs.h. */7804 _ACEOF7805 cat confdefs.h >>conftest.$ac_ext7806 cat >>conftest.$ac_ext <<_ACEOF7807 /* end confdefs.h. */7808 $ac_includes_default7809 #include <$ac_header>7810 _ACEOF7811 rm -f conftest.$ac_objext7812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57813 (eval $ac_compile) 2>conftest.er17814 ac_status=$?7815 grep -v '^ *+' conftest.er1 >conftest.err7816 rm -f conftest.er17817 cat conftest.err >&57818 echo "$as_me:$LINENO: \$? = $ac_status" >&57819 (exit $ac_status); } &&7820 { ac_try='test -z "$ac_c_werror_flag"7821 || test ! -s conftest.err'7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57823 (eval $ac_try) 2>&57824 ac_status=$?7825 echo "$as_me:$LINENO: \$? = $ac_status" >&57826 (exit $ac_status); }; } &&7827 { ac_try='test -s conftest.$ac_objext'7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57829 (eval $ac_try) 2>&57830 ac_status=$?7831 echo "$as_me:$LINENO: \$? = $ac_status" >&57832 (exit $ac_status); }; }; then7833 ac_header_compiler=yes7834 else7835 echo "$as_me: failed program was:" >&57836 sed 's/^/| /' conftest.$ac_ext >&57837 7838 ac_header_compiler=no7839 fi7840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57842 echo "${ECHO_T}$ac_header_compiler" >&67843 7844 # Is the header present?7845 echo "$as_me:$LINENO: checking $ac_header presence" >&57846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67847 cat >conftest.$ac_ext <<_ACEOF7848 /* confdefs.h. */7849 _ACEOF7850 cat confdefs.h >>conftest.$ac_ext7851 cat >>conftest.$ac_ext <<_ACEOF7852 /* end confdefs.h. */7853 #include <$ac_header>7854 _ACEOF7855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17857 ac_status=$?7858 grep -v '^ *+' conftest.er1 >conftest.err7859 rm -f conftest.er17860 cat conftest.err >&57861 echo "$as_me:$LINENO: \$? = $ac_status" >&57862 (exit $ac_status); } >/dev/null; then7863 if test -s conftest.err; then7864 ac_cpp_err=$ac_c_preproc_warn_flag7865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7866 else7867 ac_cpp_err=7868 fi7869 else7870 ac_cpp_err=yes7871 fi7872 if test -z "$ac_cpp_err"; then7873 ac_header_preproc=yes7874 else7875 echo "$as_me: failed program was:" >&57876 sed 's/^/| /' conftest.$ac_ext >&57877 7878 ac_header_preproc=no7879 fi7880 rm -f conftest.err conftest.$ac_ext7881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57882 echo "${ECHO_T}$ac_header_preproc" >&67883 7884 # So? What about this header?7885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7886 yes:no: )7887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7891 ac_header_preproc=yes7892 ;;7893 no:yes:* )7894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7906 (7907 cat <<\_ASBOX7908 ## ---------------------------------------------- ##7909 ## Report this to orxonox-dev at mail.datacore.ch ##7910 ## ---------------------------------------------- ##7911 _ASBOX7912 ) |7913 sed "s/^/$as_me: WARNING: /" >&27914 ;;7915 esac7916 echo "$as_me:$LINENO: checking for $ac_header" >&57917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67918 if eval "test \"\${$as_ac_Header+set}\" = set"; then7919 echo $ECHO_N "(cached) $ECHO_C" >&67920 else7921 eval "$as_ac_Header=\$ac_header_preproc"7922 fi7923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67925 7926 fi7927 if test `eval echo '${'$as_ac_Header'}'` = yes; then7928 cat >>confdefs.h <<_ACEOF7929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17930 _ACEOF7931 7932 fi7933 7934 done7935 7936 7727 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 7937 7728 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 … … 8262 8053 Usually this means the macro was only invoked conditionally." >&5 8263 8054 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 8264 Usually this means the macro was only invoked conditionally." >&2;}8265 { (exit 1); exit 1; }; }8266 fi8267 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then8268 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.8269 Usually this means the macro was only invoked conditionally." >&58270 echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.8271 8055 Usually this means the macro was only invoked conditionally." >&2;} 8272 8056 { (exit 1); exit 1; }; } … … 8868 8652 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 8869 8653 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 8654 s,@RANLIB@,$RANLIB,;t t 8655 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8870 8656 s,@CC@,$CC,;t t 8871 8657 s,@CFLAGS@,$CFLAGS,;t t … … 8890 8676 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8891 8677 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 8892 s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t8893 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t8894 s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t8895 s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t8896 8678 s,@CURL_LIBS@,$CURL_LIBS,;t t 8897 8679 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t … … 9525 9307 # Extract the definition of DEP_FILES from the Makefile without 9526 9308 # running `make'. 9527 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`9309 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9528 9310 test -z "$DEPDIR" && continue 9529 9311 # When using ansi2knr, U may be empty or an underscore; expand it 9530 U=`sed -n -e '/^U = / s///p' < "$mf"`9312 U=`sed -n 's/^U = //p' < "$mf"` 9531 9313 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 9532 9314 # We invoke sed twice because it is the simplest approach to 9533 9315 # changing $(DEPDIR) to its actual value in the expansion. 9534 for file in `sed -n -e'9316 for file in `sed -n ' 9535 9317 /^DEP_FILES = .*\\\\$/ { 9536 9318 s/^DEP_FILES = //
Note: See TracChangeset
for help on using the changeset viewer.