Changeset 3243 in orxonox.OLD for orxonox/branches/updater
- Timestamp:
- Dec 21, 2004, 5:57:54 PM (20 years ago)
- Location:
- orxonox/branches/updater
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/Makefile.in
r3219 r3243 85 85 CPP = @CPP@ 86 86 CPPFLAGS = @CPPFLAGS@ 87 CURL_CFLAGS = @CURL_CFLAGS@ 88 CURL_LIBS = @CURL_LIBS@ 87 89 CXX = @CXX@ 88 90 CXXDEPMODE = @CXXDEPMODE@ … … 102 104 GTK2_CFLAGS = @GTK2_CFLAGS@ 103 105 GTK2_LIBS = @GTK2_LIBS@ 106 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 107 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 104 108 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 105 109 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ -
orxonox/branches/updater/config.h.in
r3205 r3243 6 6 /* Define to 1 if you have the `bzero' function. */ 7 7 #undef HAVE_BZERO 8 9 /* if we have CURL */ 10 #undef HAVE_CURL 11 12 /* Define to 1 if you have the <curl/curl.h> header file. */ 13 #undef HAVE_CURL_CURL_H 8 14 9 15 /* Define to 1 if you have the <GL/glu.h> header file. */ -
orxonox/branches/updater/configure
r3240 r3243 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for orxonox 2.0.1-pre-alpha.3 # Generated by GNU Autoconf 2.59 for orxonox 0.2.1-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=' 2.0.1-pre-alpha'273 PACKAGE_STRING='orxonox 2.0.1-pre-alpha'272 PACKAGE_VERSION='0.2.1-pre-alpha' 273 PACKAGE_STRING='orxonox 0.2.1-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 DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE 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 2.0.1-pre-alpha to adapt to many kinds of systems.791 \`configure' configures orxonox 0.2.1-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 2.0.1-pre-alpha:";;858 short | recursive ) echo "Configuration of orxonox 0.2.1-pre-alpha:";; 859 859 esac 860 860 cat <<\_ACEOF … … 872 872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 873 873 --without-gtk Prevents GTK from being loaded 874 --without-curl Prevents libcURL from being loaded 874 875 --without-sdl-image Prevents SDL_image from being loaded 875 876 … … 984 985 if $ac_init_version; then 985 986 cat <<\_ACEOF 986 orxonox configure 2.0.1-pre-alpha987 orxonox configure 0.2.1-pre-alpha 987 988 generated by GNU Autoconf 2.59 988 989 … … 998 999 running configure, to aid debugging if configure makes a mistake. 999 1000 1000 It was created by orxonox $as_me 2.0.1-pre-alpha, which was1001 It was created by orxonox $as_me 0.2.1-pre-alpha, which was 1001 1002 generated by GNU Autoconf 2.59. Invocation command line was 1002 1003 … … 1719 1720 # Define the identity of the package. 1720 1721 PACKAGE='orxonox' 1721 VERSION=' 2.0.1-pre-alpha'1722 VERSION='0.2.1-pre-alpha' 1722 1723 1723 1724 … … 3885 3886 echo "no" 3886 3887 fi 3888 3889 ## libCurl disabled? 3890 echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 3891 echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 3892 3893 # Check whether --with-curl or --without-curl was given. 3894 if test "${with_curl+set}" = set; then 3895 withval="$with_curl" 3896 def_curl=no 3897 else 3898 def_curl=yes 3899 fi; 3900 if test "$def_curl" = yes; then 3901 echo "yes" 3902 fi 3903 if test "$def_curl" = no; then 3904 echo "no" 3905 fi 3906 3887 3907 ### SDL_image-disable 3888 3908 def_sdl_image=yes … … 6652 6672 6653 6673 6654 6655 6656 #checking for pthread libs 6657 # AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) 6658 # if test "$FOUND_pthread" = "yes" ; then 6659 # LIBS="$LIBS -lpthread" 6660 # fi 6661 6662 6663 # FIXME: Replace `main' with a function in `-lm': 6664 6665 echo "$as_me:$LINENO: checking for main in -lm" >&5 6666 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6667 if test "${ac_cv_lib_m_main+set}" = set; then 6668 echo $ECHO_N "(cached) $ECHO_C" >&6 6669 else 6670 ac_check_lib_save_LIBS=$LIBS 6671 LIBS="-lm $LIBS" 6672 cat >conftest.$ac_ext <<_ACEOF 6673 /* confdefs.h. */ 6674 _ACEOF 6675 cat confdefs.h >>conftest.$ac_ext 6676 cat >>conftest.$ac_ext <<_ACEOF 6677 /* end confdefs.h. */ 6678 6679 6680 int 6681 main () 6682 { 6683 main (); 6684 ; 6685 return 0; 6686 } 6687 _ACEOF 6688 rm -f conftest.$ac_objext conftest$ac_exeext 6689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6690 (eval $ac_link) 2>conftest.er1 6691 ac_status=$? 6692 grep -v '^ *+' conftest.er1 >conftest.err 6693 rm -f conftest.er1 6694 cat conftest.err >&5 6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 (exit $ac_status); } && 6697 { ac_try='test -z "$ac_c_werror_flag" 6698 || test ! -s conftest.err' 6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6700 (eval $ac_try) 2>&5 6701 ac_status=$? 6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6703 (exit $ac_status); }; } && 6704 { ac_try='test -s conftest$ac_exeext' 6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6706 (eval $ac_try) 2>&5 6707 ac_status=$? 6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6709 (exit $ac_status); }; }; then 6710 ac_cv_lib_m_main=yes 6711 else 6712 echo "$as_me: failed program was:" >&5 6713 sed 's/^/| /' conftest.$ac_ext >&5 6714 6715 ac_cv_lib_m_main=no 6716 fi 6717 rm -f conftest.err conftest.$ac_objext \ 6718 conftest$ac_exeext conftest.$ac_ext 6719 LIBS=$ac_check_lib_save_LIBS 6720 fi 6721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6722 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6723 if test $ac_cv_lib_m_main = yes; then 6724 cat >>confdefs.h <<_ACEOF 6725 #define HAVE_LIBM 1 6726 _ACEOF 6727 6728 LIBS="-lm $LIBS" 6729 6730 fi 6731 6732 6733 6734 # Checks for header files. 6735 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6737 if test "${ac_cv_header_stdc+set}" = set; then 6738 echo $ECHO_N "(cached) $ECHO_C" >&6 6739 else 6740 cat >conftest.$ac_ext <<_ACEOF 6741 /* confdefs.h. */ 6742 _ACEOF 6743 cat confdefs.h >>conftest.$ac_ext 6744 cat >>conftest.$ac_ext <<_ACEOF 6745 /* end confdefs.h. */ 6746 #include <stdlib.h> 6747 #include <stdarg.h> 6748 #include <string.h> 6749 #include <float.h> 6750 6751 int 6752 main () 6753 { 6754 6755 ; 6756 return 0; 6757 } 6758 _ACEOF 6759 rm -f conftest.$ac_objext 6760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6761 (eval $ac_compile) 2>conftest.er1 6762 ac_status=$? 6763 grep -v '^ *+' conftest.er1 >conftest.err 6764 rm -f conftest.er1 6765 cat conftest.err >&5 6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 (exit $ac_status); } && 6768 { ac_try='test -z "$ac_c_werror_flag" 6769 || test ! -s conftest.err' 6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6771 (eval $ac_try) 2>&5 6772 ac_status=$? 6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6774 (exit $ac_status); }; } && 6775 { ac_try='test -s conftest.$ac_objext' 6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6777 (eval $ac_try) 2>&5 6778 ac_status=$? 6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6780 (exit $ac_status); }; }; then 6781 ac_cv_header_stdc=yes 6782 else 6783 echo "$as_me: failed program was:" >&5 6784 sed 's/^/| /' conftest.$ac_ext >&5 6785 6786 ac_cv_header_stdc=no 6787 fi 6788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6789 6790 if test $ac_cv_header_stdc = yes; then 6791 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6792 cat >conftest.$ac_ext <<_ACEOF 6793 /* confdefs.h. */ 6794 _ACEOF 6795 cat confdefs.h >>conftest.$ac_ext 6796 cat >>conftest.$ac_ext <<_ACEOF 6797 /* end confdefs.h. */ 6798 #include <string.h> 6799 6800 _ACEOF 6801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6802 $EGREP "memchr" >/dev/null 2>&1; then 6803 : 6804 else 6805 ac_cv_header_stdc=no 6806 fi 6807 rm -f conftest* 6808 6809 fi 6810 6811 if test $ac_cv_header_stdc = yes; then 6812 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6813 cat >conftest.$ac_ext <<_ACEOF 6814 /* confdefs.h. */ 6815 _ACEOF 6816 cat confdefs.h >>conftest.$ac_ext 6817 cat >>conftest.$ac_ext <<_ACEOF 6818 /* end confdefs.h. */ 6819 #include <stdlib.h> 6820 6821 _ACEOF 6822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6823 $EGREP "free" >/dev/null 2>&1; then 6824 : 6825 else 6826 ac_cv_header_stdc=no 6827 fi 6828 rm -f conftest* 6829 6830 fi 6831 6832 if test $ac_cv_header_stdc = yes; then 6833 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6834 if test "$cross_compiling" = yes; then 6835 : 6836 else 6837 cat >conftest.$ac_ext <<_ACEOF 6838 /* confdefs.h. */ 6839 _ACEOF 6840 cat confdefs.h >>conftest.$ac_ext 6841 cat >>conftest.$ac_ext <<_ACEOF 6842 /* end confdefs.h. */ 6843 #include <ctype.h> 6844 #if ((' ' & 0x0FF) == 0x020) 6845 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6846 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6847 #else 6848 # define ISLOWER(c) \ 6849 (('a' <= (c) && (c) <= 'i') \ 6850 || ('j' <= (c) && (c) <= 'r') \ 6851 || ('s' <= (c) && (c) <= 'z')) 6852 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6853 #endif 6854 6855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6856 int 6857 main () 6858 { 6859 int i; 6860 for (i = 0; i < 256; i++) 6861 if (XOR (islower (i), ISLOWER (i)) 6862 || toupper (i) != TOUPPER (i)) 6863 exit(2); 6864 exit (0); 6865 } 6866 _ACEOF 6867 rm -f conftest$ac_exeext 6868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6869 (eval $ac_link) 2>&5 6870 ac_status=$? 6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6874 (eval $ac_try) 2>&5 6875 ac_status=$? 6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6877 (exit $ac_status); }; }; then 6878 : 6879 else 6880 echo "$as_me: program exited with status $ac_status" >&5 6881 echo "$as_me: failed program was:" >&5 6882 sed 's/^/| /' conftest.$ac_ext >&5 6883 6884 ( exit $ac_status ) 6885 ac_cv_header_stdc=no 6886 fi 6887 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6888 fi 6889 fi 6890 fi 6891 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6892 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6893 if test $ac_cv_header_stdc = yes; then 6894 6895 cat >>confdefs.h <<\_ACEOF 6896 #define STDC_HEADERS 1 6897 _ACEOF 6898 6899 fi 6900 6901 6902 6903 for ac_header in stdlib.h string.h 6674 ## checking for libcURL 6675 if test "$def_curl" = yes; then 6676 6677 6678 for ac_header in curl/curl.h 6904 6679 do 6905 6680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7045 6820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7046 6821 _ACEOF 7047 6822 curlHeader="yes" 6823 else 6824 curlHeader="no" 7048 6825 fi 7049 6826 7050 6827 done 7051 6828 7052 7053 # Checks for typedefs, structures, and compiler characteristics. 7054 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7055 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7056 if test "${ac_cv_header_stdbool_h+set}" = set; then 6829 echo "$as_me:$LINENO: checking for main in -lcurl" >&5 6830 echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 6831 if test "${ac_cv_lib_curl_main+set}" = set; then 7057 6832 echo $ECHO_N "(cached) $ECHO_C" >&6 7058 6833 else 7059 cat >conftest.$ac_ext <<_ACEOF 6834 ac_check_lib_save_LIBS=$LIBS 6835 LIBS="-lcurl $LIBS" 6836 cat >conftest.$ac_ext <<_ACEOF 7060 6837 /* confdefs.h. */ 7061 6838 _ACEOF … … 7064 6841 /* end confdefs.h. */ 7065 6842 7066 #include <stdbool.h>7067 #ifndef bool7068 # error bool is not defined7069 #endif7070 #ifndef false7071 # error false is not defined7072 #endif7073 #if false7074 # error false is not 07075 #endif7076 #ifndef true7077 # error true is not defined7078 #endif7079 #if true != 17080 # error true is not 17081 #endif7082 #ifndef __bool_true_false_are_defined7083 # error __bool_true_false_are_defined is not defined7084 #endif7085 7086 struct s { _Bool s: 1; _Bool t; } s;7087 7088 char a[true == 1 ? 1 : -1];7089 char b[false == 0 ? 1 : -1];7090 char c[__bool_true_false_are_defined == 1 ? 1 : -1];7091 char d[(bool) -0.5 == true ? 1 : -1];7092 bool e = &s;7093 char f[(_Bool) -0.0 == false ? 1 : -1];7094 char g[true];7095 char h[sizeof (_Bool)];7096 char i[sizeof s.t];7097 6843 7098 6844 int 7099 6845 main () 7100 6846 { 7101 return !a + !b + !c + !d + !e + !f + !g + !h + !i;6847 main (); 7102 6848 ; 7103 6849 return 0; 7104 6850 } 7105 6851 _ACEOF 7106 rm -f conftest.$ac_objext 7107 if { (eval echo "$as_me:$LINENO: \"$ac_ compile\"") >&57108 (eval $ac_ compile) 2>conftest.er16852 rm -f conftest.$ac_objext conftest$ac_exeext 6853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6854 (eval $ac_link) 2>conftest.er1 7109 6855 ac_status=$? 7110 6856 grep -v '^ *+' conftest.er1 >conftest.err … … 7120 6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 6867 (exit $ac_status); }; } && 7122 { ac_try='test -s conftest .$ac_objext'6868 { ac_try='test -s conftest$ac_exeext' 7123 6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7124 6870 (eval $ac_try) 2>&5 … … 7126 6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7127 6873 (exit $ac_status); }; }; then 7128 ac_cv_ header_stdbool_h=yes6874 ac_cv_lib_curl_main=yes 7129 6875 else 7130 6876 echo "$as_me: failed program was:" >&5 7131 6877 sed 's/^/| /' conftest.$ac_ext >&5 7132 6878 7133 ac_cv_header_stdbool_h=no 7134 fi 7135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7136 fi 7137 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7138 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7139 echo "$as_me:$LINENO: checking for _Bool" >&5 7140 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7141 if test "${ac_cv_type__Bool+set}" = set; then 6879 ac_cv_lib_curl_main=no 6880 fi 6881 rm -f conftest.err conftest.$ac_objext \ 6882 conftest$ac_exeext conftest.$ac_ext 6883 LIBS=$ac_check_lib_save_LIBS 6884 fi 6885 echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 6886 echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 6887 if test $ac_cv_lib_curl_main = yes; then 6888 FOUND_curl=yes 6889 fi 6890 6891 if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then 6892 have_curl=yes 6893 CURL_LIBS=`curl-config --libs` 6894 CURLCFLAGS=`curl-config --cflags` 6895 6896 cat >>confdefs.h <<_ACEOF 6897 #define HAVE_CURL 1 6898 _ACEOF 6899 6900 else 6901 have_curl=no 6902 fi 6903 6904 fi 6905 6906 6907 6908 6909 if test x$have_curl = xyes; then 6910 HAVE_CURL_TRUE= 6911 HAVE_CURL_FALSE='#' 6912 else 6913 HAVE_CURL_TRUE='#' 6914 HAVE_CURL_FALSE= 6915 fi 6916 6917 6918 6919 #checking for pthread libs 6920 # AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) 6921 # if test "$FOUND_pthread" = "yes" ; then 6922 # LIBS="$LIBS -lpthread" 6923 # fi 6924 6925 6926 # FIXME: Replace `main' with a function in `-lm': 6927 6928 echo "$as_me:$LINENO: checking for main in -lm" >&5 6929 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 6930 if test "${ac_cv_lib_m_main+set}" = set; then 7142 6931 echo $ECHO_N "(cached) $ECHO_C" >&6 7143 6932 else 7144 cat >conftest.$ac_ext <<_ACEOF 6933 ac_check_lib_save_LIBS=$LIBS 6934 LIBS="-lm $LIBS" 6935 cat >conftest.$ac_ext <<_ACEOF 7145 6936 /* confdefs.h. */ 7146 6937 _ACEOF … … 7148 6939 cat >>conftest.$ac_ext <<_ACEOF 7149 6940 /* end confdefs.h. */ 7150 $ac_includes_default 6941 6942 7151 6943 int 7152 6944 main () 7153 6945 { 7154 if ((_Bool *) 0) 7155 return 0; 7156 if (sizeof (_Bool)) 7157 return 0; 6946 main (); 7158 6947 ; 7159 6948 return 0; 7160 6949 } 7161 6950 _ACEOF 7162 rm -f conftest.$ac_objext 7163 if { (eval echo "$as_me:$LINENO: \"$ac_ compile\"") >&57164 (eval $ac_ compile) 2>conftest.er16951 rm -f conftest.$ac_objext conftest$ac_exeext 6952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6953 (eval $ac_link) 2>conftest.er1 7165 6954 ac_status=$? 7166 6955 grep -v '^ *+' conftest.er1 >conftest.err … … 7176 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7177 6966 (exit $ac_status); }; } && 6967 { ac_try='test -s conftest$ac_exeext' 6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6969 (eval $ac_try) 2>&5 6970 ac_status=$? 6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6972 (exit $ac_status); }; }; then 6973 ac_cv_lib_m_main=yes 6974 else 6975 echo "$as_me: failed program was:" >&5 6976 sed 's/^/| /' conftest.$ac_ext >&5 6977 6978 ac_cv_lib_m_main=no 6979 fi 6980 rm -f conftest.err conftest.$ac_objext \ 6981 conftest$ac_exeext conftest.$ac_ext 6982 LIBS=$ac_check_lib_save_LIBS 6983 fi 6984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 6985 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 6986 if test $ac_cv_lib_m_main = yes; then 6987 cat >>confdefs.h <<_ACEOF 6988 #define HAVE_LIBM 1 6989 _ACEOF 6990 6991 LIBS="-lm $LIBS" 6992 6993 fi 6994 6995 6996 6997 # Checks for header files. 6998 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6999 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7000 if test "${ac_cv_header_stdc+set}" = set; then 7001 echo $ECHO_N "(cached) $ECHO_C" >&6 7002 else 7003 cat >conftest.$ac_ext <<_ACEOF 7004 /* confdefs.h. */ 7005 _ACEOF 7006 cat confdefs.h >>conftest.$ac_ext 7007 cat >>conftest.$ac_ext <<_ACEOF 7008 /* end confdefs.h. */ 7009 #include <stdlib.h> 7010 #include <stdarg.h> 7011 #include <string.h> 7012 #include <float.h> 7013 7014 int 7015 main () 7016 { 7017 7018 ; 7019 return 0; 7020 } 7021 _ACEOF 7022 rm -f conftest.$ac_objext 7023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7024 (eval $ac_compile) 2>conftest.er1 7025 ac_status=$? 7026 grep -v '^ *+' conftest.er1 >conftest.err 7027 rm -f conftest.er1 7028 cat conftest.err >&5 7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7030 (exit $ac_status); } && 7031 { ac_try='test -z "$ac_c_werror_flag" 7032 || test ! -s conftest.err' 7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7034 (eval $ac_try) 2>&5 7035 ac_status=$? 7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7037 (exit $ac_status); }; } && 7178 7038 { ac_try='test -s conftest.$ac_objext' 7179 7039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 … … 7182 7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7183 7043 (exit $ac_status); }; }; then 7184 ac_cv_ type__Bool=yes7044 ac_cv_header_stdc=yes 7185 7045 else 7186 7046 echo "$as_me: failed program was:" >&5 7187 7047 sed 's/^/| /' conftest.$ac_ext >&5 7188 7048 7189 ac_cv_ type__Bool=no7049 ac_cv_header_stdc=no 7190 7050 fi 7191 7051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7192 fi 7193 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7194 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7195 if test $ac_cv_type__Bool = yes; then 7196 7197 cat >>confdefs.h <<_ACEOF 7198 #define HAVE__BOOL 1 7199 _ACEOF 7200 7201 7202 fi 7203 7204 if test $ac_cv_header_stdbool_h = yes; then 7052 7053 if test $ac_cv_header_stdc = yes; then 7054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7055 cat >conftest.$ac_ext <<_ACEOF 7056 /* confdefs.h. */ 7057 _ACEOF 7058 cat confdefs.h >>conftest.$ac_ext 7059 cat >>conftest.$ac_ext <<_ACEOF 7060 /* end confdefs.h. */ 7061 #include <string.h> 7062 7063 _ACEOF 7064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7065 $EGREP "memchr" >/dev/null 2>&1; then 7066 : 7067 else 7068 ac_cv_header_stdc=no 7069 fi 7070 rm -f conftest* 7071 7072 fi 7073 7074 if test $ac_cv_header_stdc = yes; then 7075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7076 cat >conftest.$ac_ext <<_ACEOF 7077 /* confdefs.h. */ 7078 _ACEOF 7079 cat confdefs.h >>conftest.$ac_ext 7080 cat >>conftest.$ac_ext <<_ACEOF 7081 /* end confdefs.h. */ 7082 #include <stdlib.h> 7083 7084 _ACEOF 7085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7086 $EGREP "free" >/dev/null 2>&1; then 7087 : 7088 else 7089 ac_cv_header_stdc=no 7090 fi 7091 rm -f conftest* 7092 7093 fi 7094 7095 if test $ac_cv_header_stdc = yes; then 7096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7097 if test "$cross_compiling" = yes; then 7098 : 7099 else 7100 cat >conftest.$ac_ext <<_ACEOF 7101 /* confdefs.h. */ 7102 _ACEOF 7103 cat confdefs.h >>conftest.$ac_ext 7104 cat >>conftest.$ac_ext <<_ACEOF 7105 /* end confdefs.h. */ 7106 #include <ctype.h> 7107 #if ((' ' & 0x0FF) == 0x020) 7108 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7109 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7110 #else 7111 # define ISLOWER(c) \ 7112 (('a' <= (c) && (c) <= 'i') \ 7113 || ('j' <= (c) && (c) <= 'r') \ 7114 || ('s' <= (c) && (c) <= 'z')) 7115 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7116 #endif 7117 7118 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7119 int 7120 main () 7121 { 7122 int i; 7123 for (i = 0; i < 256; i++) 7124 if (XOR (islower (i), ISLOWER (i)) 7125 || toupper (i) != TOUPPER (i)) 7126 exit(2); 7127 exit (0); 7128 } 7129 _ACEOF 7130 rm -f conftest$ac_exeext 7131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7132 (eval $ac_link) 2>&5 7133 ac_status=$? 7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7137 (eval $ac_try) 2>&5 7138 ac_status=$? 7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7140 (exit $ac_status); }; }; then 7141 : 7142 else 7143 echo "$as_me: program exited with status $ac_status" >&5 7144 echo "$as_me: failed program was:" >&5 7145 sed 's/^/| /' conftest.$ac_ext >&5 7146 7147 ( exit $ac_status ) 7148 ac_cv_header_stdc=no 7149 fi 7150 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7151 fi 7152 fi 7153 fi 7154 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7155 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7156 if test $ac_cv_header_stdc = yes; then 7205 7157 7206 7158 cat >>confdefs.h <<\_ACEOF 7207 #define HAVE_STDBOOL_H 1 7208 _ACEOF 7209 7210 fi 7211 7212 7213 # Checks for library functions. 7214 7215 for ac_header in stdlib.h 7159 #define STDC_HEADERS 1 7160 _ACEOF 7161 7162 fi 7163 7164 7165 7166 for ac_header in stdlib.h string.h 7216 7167 do 7217 7168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7362 7313 done 7363 7314 7315 7316 # Checks for typedefs, structures, and compiler characteristics. 7317 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7318 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7319 if test "${ac_cv_header_stdbool_h+set}" = set; then 7320 echo $ECHO_N "(cached) $ECHO_C" >&6 7321 else 7322 cat >conftest.$ac_ext <<_ACEOF 7323 /* confdefs.h. */ 7324 _ACEOF 7325 cat confdefs.h >>conftest.$ac_ext 7326 cat >>conftest.$ac_ext <<_ACEOF 7327 /* end confdefs.h. */ 7328 7329 #include <stdbool.h> 7330 #ifndef bool 7331 # error bool is not defined 7332 #endif 7333 #ifndef false 7334 # error false is not defined 7335 #endif 7336 #if false 7337 # error false is not 0 7338 #endif 7339 #ifndef true 7340 # error true is not defined 7341 #endif 7342 #if true != 1 7343 # error true is not 1 7344 #endif 7345 #ifndef __bool_true_false_are_defined 7346 # error __bool_true_false_are_defined is not defined 7347 #endif 7348 7349 struct s { _Bool s: 1; _Bool t; } s; 7350 7351 char a[true == 1 ? 1 : -1]; 7352 char b[false == 0 ? 1 : -1]; 7353 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7354 char d[(bool) -0.5 == true ? 1 : -1]; 7355 bool e = &s; 7356 char f[(_Bool) -0.0 == false ? 1 : -1]; 7357 char g[true]; 7358 char h[sizeof (_Bool)]; 7359 char i[sizeof s.t]; 7360 7361 int 7362 main () 7363 { 7364 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7365 ; 7366 return 0; 7367 } 7368 _ACEOF 7369 rm -f conftest.$ac_objext 7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7371 (eval $ac_compile) 2>conftest.er1 7372 ac_status=$? 7373 grep -v '^ *+' conftest.er1 >conftest.err 7374 rm -f conftest.er1 7375 cat conftest.err >&5 7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7377 (exit $ac_status); } && 7378 { ac_try='test -z "$ac_c_werror_flag" 7379 || test ! -s conftest.err' 7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7381 (eval $ac_try) 2>&5 7382 ac_status=$? 7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7384 (exit $ac_status); }; } && 7385 { ac_try='test -s conftest.$ac_objext' 7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7387 (eval $ac_try) 2>&5 7388 ac_status=$? 7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 (exit $ac_status); }; }; then 7391 ac_cv_header_stdbool_h=yes 7392 else 7393 echo "$as_me: failed program was:" >&5 7394 sed 's/^/| /' conftest.$ac_ext >&5 7395 7396 ac_cv_header_stdbool_h=no 7397 fi 7398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7399 fi 7400 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7401 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7402 echo "$as_me:$LINENO: checking for _Bool" >&5 7403 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7404 if test "${ac_cv_type__Bool+set}" = set; then 7405 echo $ECHO_N "(cached) $ECHO_C" >&6 7406 else 7407 cat >conftest.$ac_ext <<_ACEOF 7408 /* confdefs.h. */ 7409 _ACEOF 7410 cat confdefs.h >>conftest.$ac_ext 7411 cat >>conftest.$ac_ext <<_ACEOF 7412 /* end confdefs.h. */ 7413 $ac_includes_default 7414 int 7415 main () 7416 { 7417 if ((_Bool *) 0) 7418 return 0; 7419 if (sizeof (_Bool)) 7420 return 0; 7421 ; 7422 return 0; 7423 } 7424 _ACEOF 7425 rm -f conftest.$ac_objext 7426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7427 (eval $ac_compile) 2>conftest.er1 7428 ac_status=$? 7429 grep -v '^ *+' conftest.er1 >conftest.err 7430 rm -f conftest.er1 7431 cat conftest.err >&5 7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7433 (exit $ac_status); } && 7434 { ac_try='test -z "$ac_c_werror_flag" 7435 || test ! -s conftest.err' 7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7437 (eval $ac_try) 2>&5 7438 ac_status=$? 7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7440 (exit $ac_status); }; } && 7441 { ac_try='test -s conftest.$ac_objext' 7442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7443 (eval $ac_try) 2>&5 7444 ac_status=$? 7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7446 (exit $ac_status); }; }; then 7447 ac_cv_type__Bool=yes 7448 else 7449 echo "$as_me: failed program was:" >&5 7450 sed 's/^/| /' conftest.$ac_ext >&5 7451 7452 ac_cv_type__Bool=no 7453 fi 7454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7455 fi 7456 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7457 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7458 if test $ac_cv_type__Bool = yes; then 7459 7460 cat >>confdefs.h <<_ACEOF 7461 #define HAVE__BOOL 1 7462 _ACEOF 7463 7464 7465 fi 7466 7467 if test $ac_cv_header_stdbool_h = yes; then 7468 7469 cat >>confdefs.h <<\_ACEOF 7470 #define HAVE_STDBOOL_H 1 7471 _ACEOF 7472 7473 fi 7474 7475 7476 # Checks for library functions. 7477 7478 for ac_header in stdlib.h 7479 do 7480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7481 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7482 echo "$as_me:$LINENO: checking for $ac_header" >&5 7483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7484 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7485 echo $ECHO_N "(cached) $ECHO_C" >&6 7486 fi 7487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7489 else 7490 # Is the header compilable? 7491 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7493 cat >conftest.$ac_ext <<_ACEOF 7494 /* confdefs.h. */ 7495 _ACEOF 7496 cat confdefs.h >>conftest.$ac_ext 7497 cat >>conftest.$ac_ext <<_ACEOF 7498 /* end confdefs.h. */ 7499 $ac_includes_default 7500 #include <$ac_header> 7501 _ACEOF 7502 rm -f conftest.$ac_objext 7503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7504 (eval $ac_compile) 2>conftest.er1 7505 ac_status=$? 7506 grep -v '^ *+' conftest.er1 >conftest.err 7507 rm -f conftest.er1 7508 cat conftest.err >&5 7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7510 (exit $ac_status); } && 7511 { ac_try='test -z "$ac_c_werror_flag" 7512 || test ! -s conftest.err' 7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7514 (eval $ac_try) 2>&5 7515 ac_status=$? 7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7517 (exit $ac_status); }; } && 7518 { ac_try='test -s conftest.$ac_objext' 7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7520 (eval $ac_try) 2>&5 7521 ac_status=$? 7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7523 (exit $ac_status); }; }; then 7524 ac_header_compiler=yes 7525 else 7526 echo "$as_me: failed program was:" >&5 7527 sed 's/^/| /' conftest.$ac_ext >&5 7528 7529 ac_header_compiler=no 7530 fi 7531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7533 echo "${ECHO_T}$ac_header_compiler" >&6 7534 7535 # Is the header present? 7536 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7538 cat >conftest.$ac_ext <<_ACEOF 7539 /* confdefs.h. */ 7540 _ACEOF 7541 cat confdefs.h >>conftest.$ac_ext 7542 cat >>conftest.$ac_ext <<_ACEOF 7543 /* end confdefs.h. */ 7544 #include <$ac_header> 7545 _ACEOF 7546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7548 ac_status=$? 7549 grep -v '^ *+' conftest.er1 >conftest.err 7550 rm -f conftest.er1 7551 cat conftest.err >&5 7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7553 (exit $ac_status); } >/dev/null; then 7554 if test -s conftest.err; then 7555 ac_cpp_err=$ac_c_preproc_warn_flag 7556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7557 else 7558 ac_cpp_err= 7559 fi 7560 else 7561 ac_cpp_err=yes 7562 fi 7563 if test -z "$ac_cpp_err"; then 7564 ac_header_preproc=yes 7565 else 7566 echo "$as_me: failed program was:" >&5 7567 sed 's/^/| /' conftest.$ac_ext >&5 7568 7569 ac_header_preproc=no 7570 fi 7571 rm -f conftest.err conftest.$ac_ext 7572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7573 echo "${ECHO_T}$ac_header_preproc" >&6 7574 7575 # So? What about this header? 7576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7577 yes:no: ) 7578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7582 ac_header_preproc=yes 7583 ;; 7584 no:yes:* ) 7585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7589 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7591 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7592 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7595 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7597 ( 7598 cat <<\_ASBOX 7599 ## ---------------------------------------------- ## 7600 ## Report this to orxonox-dev at mail.datacore.ch ## 7601 ## ---------------------------------------------- ## 7602 _ASBOX 7603 ) | 7604 sed "s/^/$as_me: WARNING: /" >&2 7605 ;; 7606 esac 7607 echo "$as_me:$LINENO: checking for $ac_header" >&5 7608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7609 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7610 echo $ECHO_N "(cached) $ECHO_C" >&6 7611 else 7612 eval "$as_ac_Header=\$ac_header_preproc" 7613 fi 7614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7616 7617 fi 7618 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7619 cat >>confdefs.h <<_ACEOF 7620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7621 _ACEOF 7622 7623 fi 7624 7625 done 7626 7364 7627 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 7365 7628 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 … … 7672 7935 Usually this means the macro was only invoked conditionally." >&5 7673 7936 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 7937 Usually this means the macro was only invoked conditionally." >&2;} 7938 { (exit 1); exit 1; }; } 7939 fi 7940 if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then 7941 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. 7942 Usually this means the macro was only invoked conditionally." >&5 7943 echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. 7674 7944 Usually this means the macro was only invoked conditionally." >&2;} 7675 7945 { (exit 1); exit 1; }; } … … 7946 8216 cat >&5 <<_CSEOF 7947 8217 7948 This file was extended by orxonox $as_me 2.0.1-pre-alpha, which was8218 This file was extended by orxonox $as_me 0.2.1-pre-alpha, which was 7949 8219 generated by GNU Autoconf 2.59. Invocation command line was 7950 8220 … … 8009 8279 cat >>$CONFIG_STATUS <<_ACEOF 8010 8280 ac_cs_version="\\ 8011 orxonox config.status 2.0.1-pre-alpha8281 orxonox config.status 0.2.1-pre-alpha 8012 8282 configured by $0, generated by GNU Autoconf 2.59, 8013 8283 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 8276 8546 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8277 8547 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 8548 s,@CURL_LIBS@,$CURL_LIBS,;t t 8549 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t 8550 s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t 8551 s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t 8278 8552 s,@LIBOBJS@,$LIBOBJS,;t t 8279 8553 s,@LTLIBOBJS@,$LTLIBOBJS,;t t -
orxonox/branches/updater/configure.ac
r3240 r3243 55 55 echo "no" 56 56 fi 57 58 ## libCurl disabled? 59 AC_MSG_CHECKING([if libcURL should be enabled]) 60 AC_ARG_WITH([curl], 61 AC_HELP_STRING( [--without-curl], 62 [Prevents libcURL from being loaded]), [def_curl=no], [def_curl=yes]) 63 if test "$def_curl" = yes; then 64 echo "yes" 65 fi 66 if test "$def_curl" = no; then 67 echo "no" 68 fi 69 57 70 ### SDL_image-disable 58 71 def_sdl_image=yes … … 339 352 AM_CONDITIONAL(HAVE_GTK2, test x$have_gtk2 = xyes) 340 353 354 ## checking for libcURL 355 if test "$def_curl" = yes; then 356 357 AC_CHECK_HEADERS([curl/curl.h], curlHeader="yes", curlHeader="no") 358 AC_CHECK_LIB([curl], [main], [FOUND_curl=yes]) 359 if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then 360 have_curl=yes 361 CURL_LIBS=`curl-config --libs` 362 CURLCFLAGS=`curl-config --cflags` 363 AC_DEFINE_UNQUOTED(HAVE_CURL, 1, [if we have CURL]) 364 else 365 have_curl=no 366 fi 367 368 fi 369 AC_SUBST(CURL_LIBS) 370 AC_SUBST(CURL_CFLAGS) 371 AM_CONDITIONAL(HAVE_CURL, test x$have_curl = xyes) 341 372 342 373 -
orxonox/branches/updater/src/Makefile.in
r3237 r3243 110 110 CPP = @CPP@ 111 111 CPPFLAGS = @CPPFLAGS@ 112 CURL_CFLAGS = @CURL_CFLAGS@ 113 CURL_LIBS = @CURL_LIBS@ 112 114 CXX = @CXX@ 113 115 CXXDEPMODE = @CXXDEPMODE@ … … 127 129 GTK2_CFLAGS = @GTK2_CFLAGS@ 128 130 GTK2_LIBS = @GTK2_LIBS@ 131 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 132 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 129 133 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 130 134 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ -
orxonox/branches/updater/src/console/Makefile.in
r3219 r3243 87 87 CPP = @CPP@ 88 88 CPPFLAGS = @CPPFLAGS@ 89 CURL_CFLAGS = @CURL_CFLAGS@ 90 CURL_LIBS = @CURL_LIBS@ 89 91 CXX = @CXX@ 90 92 CXXDEPMODE = @CXXDEPMODE@ … … 104 106 GTK2_CFLAGS = @GTK2_CFLAGS@ 105 107 GTK2_LIBS = @GTK2_LIBS@ 108 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 109 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 106 110 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 107 111 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ -
orxonox/branches/updater/src/gui/Makefile.in
r3219 r3243 94 94 CPP = @CPP@ 95 95 CPPFLAGS = @CPPFLAGS@ 96 CURL_CFLAGS = @CURL_CFLAGS@ 97 CURL_LIBS = @CURL_LIBS@ 96 98 CXX = @CXX@ 97 99 CXXDEPMODE = @CXXDEPMODE@ … … 111 113 GTK2_CFLAGS = @GTK2_CFLAGS@ 112 114 GTK2_LIBS = @GTK2_LIBS@ 115 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 116 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 113 117 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 114 118 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ -
orxonox/branches/updater/src/importer/Makefile.in
r3219 r3243 88 88 CPP = @CPP@ 89 89 CPPFLAGS = @CPPFLAGS@ 90 CURL_CFLAGS = @CURL_CFLAGS@ 91 CURL_LIBS = @CURL_LIBS@ 90 92 CXX = @CXX@ 91 93 CXXDEPMODE = @CXXDEPMODE@ … … 105 107 GTK2_CFLAGS = @GTK2_CFLAGS@ 106 108 GTK2_LIBS = @GTK2_LIBS@ 109 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 110 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 107 111 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 108 112 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@
Note: See TracChangeset
for help on using the changeset viewer.