Changeset 3430 in orxonox.OLD for orxonox/branches/trackManager/configure
- Timestamp:
- Mar 1, 2005, 9:50:30 AM (20 years ago)
- Location:
- orxonox/branches/trackManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/trackManager
- Property svn:externals set to
-
orxonox/branches/trackManager/configure
r3369 r3430 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 SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE 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' 315 315 ac_subst_files='' 316 316 … … 867 867 --enable-debug compiles in debug mode. Lots of debug info about the 868 868 game. 869 --enable-sub-projects also builds the subProjects while make from srcdir 869 870 870 871 Optional Packages: … … 872 873 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 873 874 --without-gtk Prevents GTK from being loaded 875 --without-gthread Prevents gThread from being loaded 876 --without-pthread Prevents pthread from being loaded 877 --without-curl Prevents libcURL from being loaded 874 878 --without-sdl-image Prevents SDL_image from being loaded 875 879 … … 1335 1339 1336 1340 1337 # Detect the canonical host and target build environment.1341 ## Detect the canonical host and target build environment. 1338 1342 ac_aux_dir= 1339 1343 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1443 1447 NONENONEs,x,x, && 1444 1448 program_prefix=${target_alias}- 1445 1446 1449 1447 1450 am__api_version="1.8" … … 1850 1853 1851 1854 1852 1853 # Checks for programs. 1855 ######################### 1856 ## Checks for programs ## 1857 ######################### 1854 1858 ac_ext=cc 1855 1859 ac_cpp='$CXXCPP $CPPFLAGS' … … 3838 3842 3839 3843 3840 ### CHECKING OPTIONAT ARGUMENTS 3841 ## DEBUG-statement 3844 ################################## 3845 ## CHECKING OPTIONAL ARGUMENTS ## 3846 ################################## 3847 3848 #-----------------# 3849 # DEBUG-statement # 3850 #-----------------# 3842 3851 DEBUG=no 3843 3852 echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 … … 3849 3858 fi; 3850 3859 3851 if test "$DEBUG" = "no"; then3860 if test x$DEBUG = xno; then 3852 3861 echo "no" 3853 echo " -> Setting debuglevel to 1. Like this you can still see errors."3854 DEBUG= 13855 elif test "$DEBUG" =yes; then3862 echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed." 3863 DEBUG=3 3864 elif test x$DEBUG = xyes; then 3856 3865 echo "yes" 3857 echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!."3858 DEBUG= 33859 else 3860 echo "yes setto $DEBUG"3866 echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!." 3867 DEBUG=4 3868 else 3869 echo "yes: setting debuglevel to to $DEBUG" 3861 3870 fi 3862 3871 … … 3868 3877 3869 3878 3870 ## GTK-disabled 3879 #--------------# 3880 # GTK-disabled # 3881 #--------------# 3871 3882 echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 3872 3883 echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 … … 3879 3890 def_gtk=yes 3880 3891 fi; 3881 if test "$def_gtk" =yes; then3892 if test x$def_gtk = xyes; then 3882 3893 echo "yes" 3883 3894 fi 3884 if test "$def_gtk" =no; then3895 if test x$def_gtk = xno; then 3885 3896 echo "no" 3886 3897 fi 3887 ### SDL_image-disable 3898 3899 #------------------# 3900 # gThread-disabled # 3901 #------------------# 3902 echo "$as_me:$LINENO: checking if gThread should be enabled" >&5 3903 echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6 3904 3905 # Check whether --with-gthread or --without-gthread was given. 3906 if test "${with_gthread+set}" = set; then 3907 withval="$with_gthread" 3908 def_gthread=no 3909 else 3910 def_gthread=yes 3911 fi; 3912 if test x$def_gthread = xyes; then 3913 echo "yes" 3914 fi 3915 if test x$def_gthread = xno; then 3916 echo "no" 3917 fi 3918 3919 #------------------# 3920 # pthread-disabled # 3921 #------------------# 3922 echo "$as_me:$LINENO: checking if pthread should be enabled" >&5 3923 echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6 3924 3925 # Check whether --with-pthread or --without-pthread was given. 3926 if test "${with_pthread+set}" = set; then 3927 withval="$with_pthread" 3928 def_pthread=no 3929 else 3930 def_pthread=yes 3931 fi; 3932 if test x$def_pthread = xyes; then 3933 echo "yes" 3934 fi 3935 if test x$def_pthread = xno; then 3936 echo "no" 3937 fi 3938 3939 #------------------# 3940 # libCurl-disabled # 3941 #------------------# 3942 echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 3943 echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 3944 3945 # Check whether --with-curl or --without-curl was given. 3946 if test "${with_curl+set}" = set; then 3947 withval="$with_curl" 3948 def_curl=no 3949 else 3950 def_curl=yes 3951 fi; 3952 if test x$def_curl = xyes; then 3953 echo "yes" 3954 fi 3955 if test x$def_curl = xno; then 3956 echo "no" 3957 fi 3958 3959 #-------------------# 3960 # SDL_image-disable # 3961 #-------------------# 3888 3962 def_sdl_image=yes 3889 3963 echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 … … 3895 3969 def_sdl_image=no 3896 3970 fi; 3897 if test "$def_sdl_image" =yes; then3971 if test x$def_sdl_image = xyes; then 3898 3972 echo "yes" 3899 3973 fi 3900 if test "$def_sdl_image" =no; then3974 if test x$def_sdl_image = xno; then 3901 3975 echo "no" 3902 3976 fi 3903 3904 3905 ## PROGRAMM CHECKING 3906 # checking for Doxygen 3977 #-------------------# 3978 # SubProject-enable # 3979 #-------------------# 3980 def_sub_projects=no 3981 echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5 3982 echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6 3983 # Check whether --enable-sub-projects or --disable-sub-projects was given. 3984 if test "${enable_sub_projects+set}" = set; then 3985 enableval="$enable_sub_projects" 3986 def_sub_projects=yes 3987 fi; 3988 if test x$def_sub_projects = xyes; then 3989 echo "yes" 3990 fi 3991 if test x$def_sub_projects = xno; then 3992 echo "no" 3993 fi 3994 3995 3996 if test x$def_sub_projects = xyes; then 3997 SUB_PROJECTS_TRUE= 3998 SUB_PROJECTS_FALSE='#' 3999 else 4000 SUB_PROJECTS_TRUE='#' 4001 SUB_PROJECTS_FALSE= 4002 fi 4003 4004 4005 ####################### 4006 ## PROGRAMM CHECKING ## 4007 ## 3. party Programs ## 4008 ####################### 4009 4010 #----------------------# 4011 # checking for Doxygen # 4012 #----------------------# 3907 4013 # Extract the first word of "doxygen", so it can be a program name with args. 3908 4014 set dummy doxygen; ac_word=$2 … … 3955 4061 3956 4062 3957 ### CHECKING FOR SYSTEM ### 4063 ######################### 4064 ## CHECKING FOR SYSTEM ## 4065 ######################### 4066 ## here the system is checked, and openGL is included 4067 ## also checking for SDL on differen Systems 3958 4068 3959 4069 echo "$as_me:$LINENO: checking for System" >&5 … … 3961 4071 ## checking for openGL-environment and other sys-specific parameters 3962 4072 case "$target" in 3963 ### WINDOWS ### 4073 #---------# 4074 # WINDOWS # 4075 #---------# 3964 4076 *-*-mingw32*) 3965 4077 echo "mingw-WINDOWS detected" … … 4264 4376 fi 4265 4377 4266 if test "$FOUND_opengl32" = "yes"; then4378 if test x$FOUND_opengl32 = xyes ; then 4267 4379 LIBS="$LIBS -lopengl32" 4268 4380 else … … 4493 4605 fi 4494 4606 4495 if test "$FOUND_glu32" = "yes"; then4607 if test x$FOUND_glu32 = xyes ; then 4496 4608 LIBS="$LIBS -lGLU32" 4497 4609 else … … 4566 4678 fi 4567 4679 4568 if test $FOUND_mingw32 = "yes"; then4680 if test x$FOUND_mingw32 = xyes; then 4569 4681 LIBS="$LIBS -lmingw32" 4570 4682 fi … … 4788 4900 fi 4789 4901 4790 if test "$FOUND_sdlmain" = "yes"; then4902 if test x$FOUND_sdlmain = xyes ; then 4791 4903 LIBS="$LIBS -lsdlmain" 4792 4904 else … … 4859 4971 fi 4860 4972 4861 if test "$FOUND_sdl" = "yes"; then4973 if test x$FOUND_sdl = xyes ; then 4862 4974 LIBS="$LIBS -lsdl" 4863 4975 else … … 4870 4982 4871 4983 ;; 4872 4873 ### LINUX ### 4984 #-------# 4985 # LINUX # 4986 #-------# 4874 4987 *-*-linux*) 4875 4988 echo "Linux detected" … … 4878 4991 4879 4992 CPPFLAGS="-I/usr/X11R6/include" 4880 LDFLAGS="-L/usr/ Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"4993 LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" 4881 4994 # checking gl header 4882 4995 … … 5036 5149 5037 5150 # checking for Unix GL 5038 echo "$as_me:$LINENO: checking for mainin -lGL" >&55039 echo $ECHO_N "checking for mainin -lGL... $ECHO_C" >&65040 if test "${ac_cv_lib_GL_ main+set}" = set; then5151 echo "$as_me:$LINENO: checking for glLoadIdentity in -lGL" >&5 5152 echo $ECHO_N "checking for glLoadIdentity in -lGL... $ECHO_C" >&6 5153 if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then 5041 5154 echo $ECHO_N "(cached) $ECHO_C" >&6 5042 5155 else … … 5050 5163 /* end confdefs.h. */ 5051 5164 5052 5165 /* Override any gcc2 internal prototype to avoid an error. */ 5166 #ifdef __cplusplus 5167 extern "C" 5168 #endif 5169 /* We use char because int might match the return type of a gcc2 5170 builtin and then its argument prototype would still apply. */ 5171 char glLoadIdentity (); 5053 5172 int 5054 5173 main () 5055 5174 { 5056 main();5175 glLoadIdentity (); 5057 5176 ; 5058 5177 return 0; … … 5081 5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5082 5201 (exit $ac_status); }; }; then 5083 ac_cv_lib_GL_ main=yes5202 ac_cv_lib_GL_glLoadIdentity=yes 5084 5203 else 5085 5204 echo "$as_me: failed program was:" >&5 5086 5205 sed 's/^/| /' conftest.$ac_ext >&5 5087 5206 5088 ac_cv_lib_GL_ main=no5207 ac_cv_lib_GL_glLoadIdentity=no 5089 5208 fi 5090 5209 rm -f conftest.err conftest.$ac_objext \ … … 5092 5211 LIBS=$ac_check_lib_save_LIBS 5093 5212 fi 5094 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_ main" >&55095 echo "${ECHO_T}$ac_cv_lib_GL_ main" >&65096 if test $ac_cv_lib_GL_ main= yes; then5213 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glLoadIdentity" >&5 5214 echo "${ECHO_T}$ac_cv_lib_GL_glLoadIdentity" >&6 5215 if test $ac_cv_lib_GL_glLoadIdentity = yes; then 5097 5216 FOUND_GL=yes 5098 5217 fi 5099 5218 5100 if test "$FOUND_GL" = "yes"; then5219 if test x$FOUND_GL = xyes ; then 5101 5220 LIBS="$LIBS -lGL" 5102 5221 else … … 5332 5451 fi 5333 5452 5334 if test "$FOUND_GLU" = "yes"; then5453 if test x$FOUND_GLU = xyes ; then 5335 5454 LIBS="$LIBS -lGLU" 5336 5455 else … … 5561 5680 fi 5562 5681 5563 if test "$FOUND_SDL" = "yes"; then5682 if test x$FOUND_SDL = xyes ; then 5564 5683 LIBS="$LIBS -lSDL" 5565 5684 else … … 5581 5700 # LIBS="$LIBS $SDL_LIBS" 5582 5701 ;; 5583 5584 ### OS X ### 5702 #-----------# 5703 # MAC -OS X # 5704 #-----------# 5585 5705 *darwin*) 5586 echo "OS X detected"5706 echo "OS X detected" 5587 5707 5588 5708 osX="yes" … … 5902 6022 LIBS="$LIBS -framework OpenGL" 5903 6023 6024 SDL_CFLAGS=`sdl-config --cflags` 6025 SDL_LIBS=`sdl-config --libs` 6026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 6027 LIBS="$LIBS $SDL_LIBS" 6028 6029 5904 6030 # checking for SDL-headers 5905 6031 # AC_CHECK_HEADERS(SDL/SDL.h ,, … … 5913 6039 # ) 5914 6040 5915 SDL_CFLAGS=`sdl-config --cflags`5916 SDL_LIBS=`sdl-config --libs`5917 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"5918 LIBS="$LIBS $SDL_LIBS"5919 6041 5920 6042 ;; … … 5926 6048 5927 6049 5928 ## check for SDL_Image 5929 if test "$def_sdl_image" = "yes"; then 6050 ################################### 6051 ## CHECKING FOR HEADERS AND LIBS ## 6052 ################################### 6053 6054 #-----------# 6055 # SDL_Image # 6056 #-----------# 6057 if test x$def_sdl_image = xyes; then 5930 6058 # checking for SDL_image-headers 5931 6059 … … 6082 6210 6083 6211 fi 6084 if test "$def_sdl_image" = "yes"; then6212 if test x$def_sdl_image = xyes; then 6085 6213 # checking for SDL_image-lib 6086 6214 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 … … 6146 6274 fi 6147 6275 6148 if test "$FOUND_SDL_image" = "yes"; then6276 if test x$FOUND_SDL_image = xyes ; then 6149 6277 LIBS="$LIBS -lSDL_image" 6150 6278 else … … 6157 6285 fi 6158 6286 6159 6160 if test "$def_sdl_image" = "no"; then 6161 ## checking for libjpeg 6287 ## case no SDL-image: 6288 if test x$def_sdl_image = xno; then 6289 #---------# 6290 # libjpeg # 6291 #---------# 6162 6292 6163 6293 for ac_header in jpeglib.h … … 6312 6442 done 6313 6443 6314 if test $jpegHeader = "no"; then6444 if test x$jpegHeader = xno; then 6315 6445 echo " not including jpeg." 6316 6446 else … … 6377 6507 fi 6378 6508 6379 if test "$FOUND_jpeg" = "yes"; then6509 if test x$FOUND_jpeg = xyes ; then 6380 6510 LIBS="$LIBS -ljpeg" 6381 6511 else … … 6388 6518 fi 6389 6519 6390 ## checking for libpng 6520 #--------# 6521 # libpng # 6522 #--------# 6391 6523 6392 6524 for ac_header in png.h … … 6541 6673 done 6542 6674 6543 if test $pngHeader = "no"; then6675 if test x$pngHeader = xno; then 6544 6676 echo " not including png." 6545 6677 else … … 6606 6738 fi 6607 6739 6608 if test "$FOUND_png" = "yes"; then6740 if test x$FOUND_png = xyes ; then 6609 6741 LIBS="$LIBS -lpng" 6610 6742 else … … 6618 6750 fi 6619 6751 6620 ## checking for GTK 6621 if test "$def_gtk" = yes; then 6752 #-----# 6753 # GTK # 6754 #-----# 6755 if test x$def_gtk = xyes; then 6622 6756 6623 6757 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) … … 6652 6786 6653 6787 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 6788 #---------# 6789 # gThread # 6790 #---------# 6791 if test x$def_gthread = xyes; then 6792 6793 echo "$as_me:$LINENO: checking for gthread" >&5 6794 echo $ECHO_N "checking for gthread... $ECHO_C" >&6 6795 if `pkg-config --exists gthread-2.0`; then 6796 echo "yes" 6797 have_gthread=yes 6798 GTHREAD_LIBS=`pkg-config --libs gthread-2.0` 6799 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0` 6800 6801 cat >>confdefs.h <<_ACEOF 6802 #define HAVE_GTHREAD 1 6803 _ACEOF 6804 6805 else 6806 echo "no" 6807 fi 6808 6809 fi 6810 6811 6812 6813 6814 if test x$have_gthread = xyes; then 6815 HAVE_GTHREAD_TRUE= 6816 HAVE_GTHREAD_FALSE='#' 6817 else 6818 HAVE_GTHREAD_TRUE='#' 6819 HAVE_GTHREAD_FALSE= 6820 fi 6821 6822 6823 #---------# 6824 # libcURL # 6825 #---------# 6826 if test x$def_curl = xyes; then 6827 6828 6829 for ac_header in curl/curl.h 6904 6830 do 6905 6831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7045 6971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7046 6972 _ACEOF 7047 6973 curlHeader="yes" 6974 else 6975 curlHeader="no" 7048 6976 fi 7049 6977 7050 6978 done 7051 6979 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 6980 echo "$as_me:$LINENO: checking for main in -lcurl" >&5 6981 echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 6982 if test "${ac_cv_lib_curl_main+set}" = set; then 7057 6983 echo $ECHO_N "(cached) $ECHO_C" >&6 7058 6984 else 7059 cat >conftest.$ac_ext <<_ACEOF 6985 ac_check_lib_save_LIBS=$LIBS 6986 LIBS="-lcurl $LIBS" 6987 cat >conftest.$ac_ext <<_ACEOF 7060 6988 /* confdefs.h. */ 7061 6989 _ACEOF … … 7064 6992 /* end confdefs.h. */ 7065 6993 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 6994 7098 6995 int 7099 6996 main () 7100 6997 { 7101 return !a + !b + !c + !d + !e + !f + !g + !h + !i;6998 main (); 7102 6999 ; 7103 7000 return 0; 7104 7001 } 7105 7002 _ACEOF 7106 rm -f conftest.$ac_objext 7107 if { (eval echo "$as_me:$LINENO: \"$ac_ compile\"") >&57108 (eval $ac_ compile) 2>conftest.er17003 rm -f conftest.$ac_objext conftest$ac_exeext 7004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7005 (eval $ac_link) 2>conftest.er1 7109 7006 ac_status=$? 7110 7007 grep -v '^ *+' conftest.er1 >conftest.err … … 7120 7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7121 7018 (exit $ac_status); }; } && 7122 { ac_try='test -s conftest .$ac_objext'7019 { ac_try='test -s conftest$ac_exeext' 7123 7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7124 7021 (eval $ac_try) 2>&5 … … 7126 7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7127 7024 (exit $ac_status); }; }; then 7128 ac_cv_ header_stdbool_h=yes7025 ac_cv_lib_curl_main=yes 7129 7026 else 7130 7027 echo "$as_me: failed program was:" >&5 7131 7028 sed 's/^/| /' conftest.$ac_ext >&5 7132 7029 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 7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7143 else 7144 cat >conftest.$ac_ext <<_ACEOF 7145 /* confdefs.h. */ 7146 _ACEOF 7147 cat confdefs.h >>conftest.$ac_ext 7148 cat >>conftest.$ac_ext <<_ACEOF 7149 /* end confdefs.h. */ 7150 $ac_includes_default 7151 int 7152 main () 7153 { 7154 if ((_Bool *) 0) 7155 return 0; 7156 if (sizeof (_Bool)) 7157 return 0; 7158 ; 7159 return 0; 7160 } 7161 _ACEOF 7162 rm -f conftest.$ac_objext 7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7164 (eval $ac_compile) 2>conftest.er1 7165 ac_status=$? 7166 grep -v '^ *+' conftest.er1 >conftest.err 7167 rm -f conftest.er1 7168 cat conftest.err >&5 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); } && 7171 { ac_try='test -z "$ac_c_werror_flag" 7172 || test ! -s conftest.err' 7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7174 (eval $ac_try) 2>&5 7175 ac_status=$? 7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7177 (exit $ac_status); }; } && 7178 { ac_try='test -s conftest.$ac_objext' 7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7180 (eval $ac_try) 2>&5 7181 ac_status=$? 7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7183 (exit $ac_status); }; }; then 7184 ac_cv_type__Bool=yes 7185 else 7186 echo "$as_me: failed program was:" >&5 7187 sed 's/^/| /' conftest.$ac_ext >&5 7188 7189 ac_cv_type__Bool=no 7190 fi 7191 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 7030 ac_cv_lib_curl_main=no 7031 fi 7032 rm -f conftest.err conftest.$ac_objext \ 7033 conftest$ac_exeext conftest.$ac_ext 7034 LIBS=$ac_check_lib_save_LIBS 7035 fi 7036 echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 7037 echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 7038 if test $ac_cv_lib_curl_main = yes; then 7039 FOUND_curl=yes 7040 fi 7041 7042 if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then 7043 have_curl=yes 7044 CURL_LIBS=`curl-config --libs` 7045 CURLCFLAGS=`curl-config --cflags` 7196 7046 7197 7047 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 7205 7206 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 7048 #define HAVE_CURL 1 7049 _ACEOF 7050 7051 else 7052 have_curl=no 7053 fi 7054 7055 fi 7056 7057 7058 7059 7060 if test x$have_curl = xyes; then 7061 HAVE_CURL_TRUE= 7062 HAVE_CURL_FALSE='#' 7063 else 7064 HAVE_CURL_TRUE='#' 7065 HAVE_CURL_FALSE= 7066 fi 7067 7068 7069 #---------# 7070 # pthread # 7071 #---------# 7072 if test x$def_pthread = xyes ; then 7073 if test x$have_gthread = xyes ; then 7074 7075 for ac_header in pthread.h 7216 7076 do 7217 7077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7357 7217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7358 7218 _ACEOF 7219 pthreadHeader="yes" 7220 else 7221 pthreadHeader="no" 7222 fi 7223 7224 done 7225 7226 echo "$as_me:$LINENO: checking for main in -lpthread" >&5 7227 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 7228 if test "${ac_cv_lib_pthread_main+set}" = set; then 7229 echo $ECHO_N "(cached) $ECHO_C" >&6 7230 else 7231 ac_check_lib_save_LIBS=$LIBS 7232 LIBS="-lpthread $LIBS" 7233 cat >conftest.$ac_ext <<_ACEOF 7234 /* confdefs.h. */ 7235 _ACEOF 7236 cat confdefs.h >>conftest.$ac_ext 7237 cat >>conftest.$ac_ext <<_ACEOF 7238 /* end confdefs.h. */ 7239 7240 7241 int 7242 main () 7243 { 7244 main (); 7245 ; 7246 return 0; 7247 } 7248 _ACEOF 7249 rm -f conftest.$ac_objext conftest$ac_exeext 7250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7251 (eval $ac_link) 2>conftest.er1 7252 ac_status=$? 7253 grep -v '^ *+' conftest.er1 >conftest.err 7254 rm -f conftest.er1 7255 cat conftest.err >&5 7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7257 (exit $ac_status); } && 7258 { ac_try='test -z "$ac_c_werror_flag" 7259 || test ! -s conftest.err' 7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7261 (eval $ac_try) 2>&5 7262 ac_status=$? 7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7264 (exit $ac_status); }; } && 7265 { ac_try='test -s conftest$ac_exeext' 7266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7267 (eval $ac_try) 2>&5 7268 ac_status=$? 7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7270 (exit $ac_status); }; }; then 7271 ac_cv_lib_pthread_main=yes 7272 else 7273 echo "$as_me: failed program was:" >&5 7274 sed 's/^/| /' conftest.$ac_ext >&5 7275 7276 ac_cv_lib_pthread_main=no 7277 fi 7278 rm -f conftest.err conftest.$ac_objext \ 7279 conftest$ac_exeext conftest.$ac_ext 7280 LIBS=$ac_check_lib_save_LIBS 7281 fi 7282 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 7283 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 7284 if test $ac_cv_lib_pthread_main = yes; then 7285 FOUND_pthread=yes 7286 fi 7287 7288 if test x$FOUND_pthread = xyes ; then 7289 LIBS="$LIBS -lpthread" 7290 fi 7291 fi 7292 fi 7293 7294 7295 # FIXME: Replace `main' with a function in `-lm': 7296 7297 echo "$as_me:$LINENO: checking for main in -lm" >&5 7298 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 7299 if test "${ac_cv_lib_m_main+set}" = set; then 7300 echo $ECHO_N "(cached) $ECHO_C" >&6 7301 else 7302 ac_check_lib_save_LIBS=$LIBS 7303 LIBS="-lm $LIBS" 7304 cat >conftest.$ac_ext <<_ACEOF 7305 /* confdefs.h. */ 7306 _ACEOF 7307 cat confdefs.h >>conftest.$ac_ext 7308 cat >>conftest.$ac_ext <<_ACEOF 7309 /* end confdefs.h. */ 7310 7311 7312 int 7313 main () 7314 { 7315 main (); 7316 ; 7317 return 0; 7318 } 7319 _ACEOF 7320 rm -f conftest.$ac_objext conftest$ac_exeext 7321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7322 (eval $ac_link) 2>conftest.er1 7323 ac_status=$? 7324 grep -v '^ *+' conftest.er1 >conftest.err 7325 rm -f conftest.er1 7326 cat conftest.err >&5 7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7328 (exit $ac_status); } && 7329 { ac_try='test -z "$ac_c_werror_flag" 7330 || test ! -s conftest.err' 7331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7332 (eval $ac_try) 2>&5 7333 ac_status=$? 7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7335 (exit $ac_status); }; } && 7336 { ac_try='test -s conftest$ac_exeext' 7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7338 (eval $ac_try) 2>&5 7339 ac_status=$? 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 (exit $ac_status); }; }; then 7342 ac_cv_lib_m_main=yes 7343 else 7344 echo "$as_me: failed program was:" >&5 7345 sed 's/^/| /' conftest.$ac_ext >&5 7346 7347 ac_cv_lib_m_main=no 7348 fi 7349 rm -f conftest.err conftest.$ac_objext \ 7350 conftest$ac_exeext conftest.$ac_ext 7351 LIBS=$ac_check_lib_save_LIBS 7352 fi 7353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 7354 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 7355 if test $ac_cv_lib_m_main = yes; then 7356 cat >>confdefs.h <<_ACEOF 7357 #define HAVE_LIBM 1 7358 _ACEOF 7359 7360 LIBS="-lm $LIBS" 7361 7362 fi 7363 7364 7365 7366 # Checks for header files. 7367 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7368 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7369 if test "${ac_cv_header_stdc+set}" = set; then 7370 echo $ECHO_N "(cached) $ECHO_C" >&6 7371 else 7372 cat >conftest.$ac_ext <<_ACEOF 7373 /* confdefs.h. */ 7374 _ACEOF 7375 cat confdefs.h >>conftest.$ac_ext 7376 cat >>conftest.$ac_ext <<_ACEOF 7377 /* end confdefs.h. */ 7378 #include <stdlib.h> 7379 #include <stdarg.h> 7380 #include <string.h> 7381 #include <float.h> 7382 7383 int 7384 main () 7385 { 7386 7387 ; 7388 return 0; 7389 } 7390 _ACEOF 7391 rm -f conftest.$ac_objext 7392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7393 (eval $ac_compile) 2>conftest.er1 7394 ac_status=$? 7395 grep -v '^ *+' conftest.er1 >conftest.err 7396 rm -f conftest.er1 7397 cat conftest.err >&5 7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7399 (exit $ac_status); } && 7400 { ac_try='test -z "$ac_c_werror_flag" 7401 || test ! -s conftest.err' 7402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7403 (eval $ac_try) 2>&5 7404 ac_status=$? 7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7406 (exit $ac_status); }; } && 7407 { ac_try='test -s conftest.$ac_objext' 7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7409 (eval $ac_try) 2>&5 7410 ac_status=$? 7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7412 (exit $ac_status); }; }; then 7413 ac_cv_header_stdc=yes 7414 else 7415 echo "$as_me: failed program was:" >&5 7416 sed 's/^/| /' conftest.$ac_ext >&5 7417 7418 ac_cv_header_stdc=no 7419 fi 7420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7421 7422 if test $ac_cv_header_stdc = yes; then 7423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7424 cat >conftest.$ac_ext <<_ACEOF 7425 /* confdefs.h. */ 7426 _ACEOF 7427 cat confdefs.h >>conftest.$ac_ext 7428 cat >>conftest.$ac_ext <<_ACEOF 7429 /* end confdefs.h. */ 7430 #include <string.h> 7431 7432 _ACEOF 7433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7434 $EGREP "memchr" >/dev/null 2>&1; then 7435 : 7436 else 7437 ac_cv_header_stdc=no 7438 fi 7439 rm -f conftest* 7440 7441 fi 7442 7443 if test $ac_cv_header_stdc = yes; then 7444 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7445 cat >conftest.$ac_ext <<_ACEOF 7446 /* confdefs.h. */ 7447 _ACEOF 7448 cat confdefs.h >>conftest.$ac_ext 7449 cat >>conftest.$ac_ext <<_ACEOF 7450 /* end confdefs.h. */ 7451 #include <stdlib.h> 7452 7453 _ACEOF 7454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7455 $EGREP "free" >/dev/null 2>&1; then 7456 : 7457 else 7458 ac_cv_header_stdc=no 7459 fi 7460 rm -f conftest* 7461 7462 fi 7463 7464 if test $ac_cv_header_stdc = yes; then 7465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7466 if test "$cross_compiling" = yes; then 7467 : 7468 else 7469 cat >conftest.$ac_ext <<_ACEOF 7470 /* confdefs.h. */ 7471 _ACEOF 7472 cat confdefs.h >>conftest.$ac_ext 7473 cat >>conftest.$ac_ext <<_ACEOF 7474 /* end confdefs.h. */ 7475 #include <ctype.h> 7476 #if ((' ' & 0x0FF) == 0x020) 7477 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7478 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7479 #else 7480 # define ISLOWER(c) \ 7481 (('a' <= (c) && (c) <= 'i') \ 7482 || ('j' <= (c) && (c) <= 'r') \ 7483 || ('s' <= (c) && (c) <= 'z')) 7484 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7485 #endif 7486 7487 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7488 int 7489 main () 7490 { 7491 int i; 7492 for (i = 0; i < 256; i++) 7493 if (XOR (islower (i), ISLOWER (i)) 7494 || toupper (i) != TOUPPER (i)) 7495 exit(2); 7496 exit (0); 7497 } 7498 _ACEOF 7499 rm -f conftest$ac_exeext 7500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7501 (eval $ac_link) 2>&5 7502 ac_status=$? 7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7506 (eval $ac_try) 2>&5 7507 ac_status=$? 7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7509 (exit $ac_status); }; }; then 7510 : 7511 else 7512 echo "$as_me: program exited with status $ac_status" >&5 7513 echo "$as_me: failed program was:" >&5 7514 sed 's/^/| /' conftest.$ac_ext >&5 7515 7516 ( exit $ac_status ) 7517 ac_cv_header_stdc=no 7518 fi 7519 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7520 fi 7521 fi 7522 fi 7523 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7524 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7525 if test $ac_cv_header_stdc = yes; then 7526 7527 cat >>confdefs.h <<\_ACEOF 7528 #define STDC_HEADERS 1 7529 _ACEOF 7530 7531 fi 7532 7533 7534 7535 for ac_header in stdlib.h string.h 7536 do 7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7538 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7539 echo "$as_me:$LINENO: checking for $ac_header" >&5 7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7541 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7542 echo $ECHO_N "(cached) $ECHO_C" >&6 7543 fi 7544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7546 else 7547 # Is the header compilable? 7548 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7550 cat >conftest.$ac_ext <<_ACEOF 7551 /* confdefs.h. */ 7552 _ACEOF 7553 cat confdefs.h >>conftest.$ac_ext 7554 cat >>conftest.$ac_ext <<_ACEOF 7555 /* end confdefs.h. */ 7556 $ac_includes_default 7557 #include <$ac_header> 7558 _ACEOF 7559 rm -f conftest.$ac_objext 7560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7561 (eval $ac_compile) 2>conftest.er1 7562 ac_status=$? 7563 grep -v '^ *+' conftest.er1 >conftest.err 7564 rm -f conftest.er1 7565 cat conftest.err >&5 7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7567 (exit $ac_status); } && 7568 { ac_try='test -z "$ac_c_werror_flag" 7569 || test ! -s conftest.err' 7570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7571 (eval $ac_try) 2>&5 7572 ac_status=$? 7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7574 (exit $ac_status); }; } && 7575 { ac_try='test -s conftest.$ac_objext' 7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7577 (eval $ac_try) 2>&5 7578 ac_status=$? 7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7580 (exit $ac_status); }; }; then 7581 ac_header_compiler=yes 7582 else 7583 echo "$as_me: failed program was:" >&5 7584 sed 's/^/| /' conftest.$ac_ext >&5 7585 7586 ac_header_compiler=no 7587 fi 7588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7590 echo "${ECHO_T}$ac_header_compiler" >&6 7591 7592 # Is the header present? 7593 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7595 cat >conftest.$ac_ext <<_ACEOF 7596 /* confdefs.h. */ 7597 _ACEOF 7598 cat confdefs.h >>conftest.$ac_ext 7599 cat >>conftest.$ac_ext <<_ACEOF 7600 /* end confdefs.h. */ 7601 #include <$ac_header> 7602 _ACEOF 7603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7605 ac_status=$? 7606 grep -v '^ *+' conftest.er1 >conftest.err 7607 rm -f conftest.er1 7608 cat conftest.err >&5 7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7610 (exit $ac_status); } >/dev/null; then 7611 if test -s conftest.err; then 7612 ac_cpp_err=$ac_c_preproc_warn_flag 7613 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7614 else 7615 ac_cpp_err= 7616 fi 7617 else 7618 ac_cpp_err=yes 7619 fi 7620 if test -z "$ac_cpp_err"; then 7621 ac_header_preproc=yes 7622 else 7623 echo "$as_me: failed program was:" >&5 7624 sed 's/^/| /' conftest.$ac_ext >&5 7625 7626 ac_header_preproc=no 7627 fi 7628 rm -f conftest.err conftest.$ac_ext 7629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7630 echo "${ECHO_T}$ac_header_preproc" >&6 7631 7632 # So? What about this header? 7633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7634 yes:no: ) 7635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7639 ac_header_preproc=yes 7640 ;; 7641 no:yes:* ) 7642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7654 ( 7655 cat <<\_ASBOX 7656 ## ---------------------------------------------- ## 7657 ## Report this to orxonox-dev at mail.datacore.ch ## 7658 ## ---------------------------------------------- ## 7659 _ASBOX 7660 ) | 7661 sed "s/^/$as_me: WARNING: /" >&2 7662 ;; 7663 esac 7664 echo "$as_me:$LINENO: checking for $ac_header" >&5 7665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7666 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7667 echo $ECHO_N "(cached) $ECHO_C" >&6 7668 else 7669 eval "$as_ac_Header=\$ac_header_preproc" 7670 fi 7671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7673 7674 fi 7675 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7676 cat >>confdefs.h <<_ACEOF 7677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7678 _ACEOF 7679 7680 fi 7681 7682 done 7683 7684 7685 # Checks for typedefs, structures, and compiler characteristics. 7686 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 7687 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 7688 if test "${ac_cv_header_stdbool_h+set}" = set; then 7689 echo $ECHO_N "(cached) $ECHO_C" >&6 7690 else 7691 cat >conftest.$ac_ext <<_ACEOF 7692 /* confdefs.h. */ 7693 _ACEOF 7694 cat confdefs.h >>conftest.$ac_ext 7695 cat >>conftest.$ac_ext <<_ACEOF 7696 /* end confdefs.h. */ 7697 7698 #include <stdbool.h> 7699 #ifndef bool 7700 # error bool is not defined 7701 #endif 7702 #ifndef false 7703 # error false is not defined 7704 #endif 7705 #if false 7706 # error false is not 0 7707 #endif 7708 #ifndef true 7709 # error true is not defined 7710 #endif 7711 #if true != 1 7712 # error true is not 1 7713 #endif 7714 #ifndef __bool_true_false_are_defined 7715 # error __bool_true_false_are_defined is not defined 7716 #endif 7717 7718 struct s { _Bool s: 1; _Bool t; } s; 7719 7720 char a[true == 1 ? 1 : -1]; 7721 char b[false == 0 ? 1 : -1]; 7722 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 7723 char d[(bool) -0.5 == true ? 1 : -1]; 7724 bool e = &s; 7725 char f[(_Bool) -0.0 == false ? 1 : -1]; 7726 char g[true]; 7727 char h[sizeof (_Bool)]; 7728 char i[sizeof s.t]; 7729 7730 int 7731 main () 7732 { 7733 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 7734 ; 7735 return 0; 7736 } 7737 _ACEOF 7738 rm -f conftest.$ac_objext 7739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7740 (eval $ac_compile) 2>conftest.er1 7741 ac_status=$? 7742 grep -v '^ *+' conftest.er1 >conftest.err 7743 rm -f conftest.er1 7744 cat conftest.err >&5 7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7746 (exit $ac_status); } && 7747 { ac_try='test -z "$ac_c_werror_flag" 7748 || test ! -s conftest.err' 7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7750 (eval $ac_try) 2>&5 7751 ac_status=$? 7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7753 (exit $ac_status); }; } && 7754 { ac_try='test -s conftest.$ac_objext' 7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7756 (eval $ac_try) 2>&5 7757 ac_status=$? 7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7759 (exit $ac_status); }; }; then 7760 ac_cv_header_stdbool_h=yes 7761 else 7762 echo "$as_me: failed program was:" >&5 7763 sed 's/^/| /' conftest.$ac_ext >&5 7764 7765 ac_cv_header_stdbool_h=no 7766 fi 7767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7768 fi 7769 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 7770 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 7771 echo "$as_me:$LINENO: checking for _Bool" >&5 7772 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 7773 if test "${ac_cv_type__Bool+set}" = set; then 7774 echo $ECHO_N "(cached) $ECHO_C" >&6 7775 else 7776 cat >conftest.$ac_ext <<_ACEOF 7777 /* confdefs.h. */ 7778 _ACEOF 7779 cat confdefs.h >>conftest.$ac_ext 7780 cat >>conftest.$ac_ext <<_ACEOF 7781 /* end confdefs.h. */ 7782 $ac_includes_default 7783 int 7784 main () 7785 { 7786 if ((_Bool *) 0) 7787 return 0; 7788 if (sizeof (_Bool)) 7789 return 0; 7790 ; 7791 return 0; 7792 } 7793 _ACEOF 7794 rm -f conftest.$ac_objext 7795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7796 (eval $ac_compile) 2>conftest.er1 7797 ac_status=$? 7798 grep -v '^ *+' conftest.er1 >conftest.err 7799 rm -f conftest.er1 7800 cat conftest.err >&5 7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7802 (exit $ac_status); } && 7803 { ac_try='test -z "$ac_c_werror_flag" 7804 || test ! -s conftest.err' 7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7806 (eval $ac_try) 2>&5 7807 ac_status=$? 7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7809 (exit $ac_status); }; } && 7810 { ac_try='test -s conftest.$ac_objext' 7811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7812 (eval $ac_try) 2>&5 7813 ac_status=$? 7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7815 (exit $ac_status); }; }; then 7816 ac_cv_type__Bool=yes 7817 else 7818 echo "$as_me: failed program was:" >&5 7819 sed 's/^/| /' conftest.$ac_ext >&5 7820 7821 ac_cv_type__Bool=no 7822 fi 7823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7824 fi 7825 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 7826 echo "${ECHO_T}$ac_cv_type__Bool" >&6 7827 if test $ac_cv_type__Bool = yes; then 7828 7829 cat >>confdefs.h <<_ACEOF 7830 #define HAVE__BOOL 1 7831 _ACEOF 7832 7833 7834 fi 7835 7836 if test $ac_cv_header_stdbool_h = yes; then 7837 7838 cat >>confdefs.h <<\_ACEOF 7839 #define HAVE_STDBOOL_H 1 7840 _ACEOF 7841 7842 fi 7843 7844 7845 # Checks for library functions. 7846 7847 for ac_header in stdlib.h 7848 do 7849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7850 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7851 echo "$as_me:$LINENO: checking for $ac_header" >&5 7852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7853 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7854 echo $ECHO_N "(cached) $ECHO_C" >&6 7855 fi 7856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7858 else 7859 # Is the header compilable? 7860 echo "$as_me:$LINENO: checking $ac_header usability" >&5 7861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7862 cat >conftest.$ac_ext <<_ACEOF 7863 /* confdefs.h. */ 7864 _ACEOF 7865 cat confdefs.h >>conftest.$ac_ext 7866 cat >>conftest.$ac_ext <<_ACEOF 7867 /* end confdefs.h. */ 7868 $ac_includes_default 7869 #include <$ac_header> 7870 _ACEOF 7871 rm -f conftest.$ac_objext 7872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7873 (eval $ac_compile) 2>conftest.er1 7874 ac_status=$? 7875 grep -v '^ *+' conftest.er1 >conftest.err 7876 rm -f conftest.er1 7877 cat conftest.err >&5 7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7879 (exit $ac_status); } && 7880 { ac_try='test -z "$ac_c_werror_flag" 7881 || test ! -s conftest.err' 7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7883 (eval $ac_try) 2>&5 7884 ac_status=$? 7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7886 (exit $ac_status); }; } && 7887 { ac_try='test -s conftest.$ac_objext' 7888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7889 (eval $ac_try) 2>&5 7890 ac_status=$? 7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7892 (exit $ac_status); }; }; then 7893 ac_header_compiler=yes 7894 else 7895 echo "$as_me: failed program was:" >&5 7896 sed 's/^/| /' conftest.$ac_ext >&5 7897 7898 ac_header_compiler=no 7899 fi 7900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7902 echo "${ECHO_T}$ac_header_compiler" >&6 7903 7904 # Is the header present? 7905 echo "$as_me:$LINENO: checking $ac_header presence" >&5 7906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7907 cat >conftest.$ac_ext <<_ACEOF 7908 /* confdefs.h. */ 7909 _ACEOF 7910 cat confdefs.h >>conftest.$ac_ext 7911 cat >>conftest.$ac_ext <<_ACEOF 7912 /* end confdefs.h. */ 7913 #include <$ac_header> 7914 _ACEOF 7915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7917 ac_status=$? 7918 grep -v '^ *+' conftest.er1 >conftest.err 7919 rm -f conftest.er1 7920 cat conftest.err >&5 7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7922 (exit $ac_status); } >/dev/null; then 7923 if test -s conftest.err; then 7924 ac_cpp_err=$ac_c_preproc_warn_flag 7925 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7926 else 7927 ac_cpp_err= 7928 fi 7929 else 7930 ac_cpp_err=yes 7931 fi 7932 if test -z "$ac_cpp_err"; then 7933 ac_header_preproc=yes 7934 else 7935 echo "$as_me: failed program was:" >&5 7936 sed 's/^/| /' conftest.$ac_ext >&5 7937 7938 ac_header_preproc=no 7939 fi 7940 rm -f conftest.err conftest.$ac_ext 7941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7942 echo "${ECHO_T}$ac_header_preproc" >&6 7943 7944 # So? What about this header? 7945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7946 yes:no: ) 7947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7951 ac_header_preproc=yes 7952 ;; 7953 no:yes:* ) 7954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7961 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7966 ( 7967 cat <<\_ASBOX 7968 ## ---------------------------------------------- ## 7969 ## Report this to orxonox-dev at mail.datacore.ch ## 7970 ## ---------------------------------------------- ## 7971 _ASBOX 7972 ) | 7973 sed "s/^/$as_me: WARNING: /" >&2 7974 ;; 7975 esac 7976 echo "$as_me:$LINENO: checking for $ac_header" >&5 7977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7978 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7979 echo $ECHO_N "(cached) $ECHO_C" >&6 7980 else 7981 eval "$as_ac_Header=\$ac_header_preproc" 7982 fi 7983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7985 7986 fi 7987 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7988 cat >>confdefs.h <<_ACEOF 7989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7990 _ACEOF 7359 7991 7360 7992 fi … … 7547 8179 7548 8180 7549 ac_config_files="$ac_config_files Makefile src/console/Makefile src/gui/Makefile src/Makefile src/importer/Makefile" 8181 ###################### 8182 ## OUTPUT CONFIGURE ## 8183 ###################### 8184 ac_config_files="$ac_config_files Makefile src/Makefile src/importer/Makefile src/console/Makefile src/gui/Makefile" 8185 7550 8186 7551 8187 cat >confcache <<\_ACEOF … … 7661 8297 { (exit 1); exit 1; }; } 7662 8298 fi 8299 if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then 8300 { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. 8301 Usually this means the macro was only invoked conditionally." >&5 8302 echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. 8303 Usually this means the macro was only invoked conditionally." >&2;} 8304 { (exit 1); exit 1; }; } 8305 fi 7663 8306 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then 7664 8307 { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. … … 7672 8315 Usually this means the macro was only invoked conditionally." >&5 7673 8316 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. 8317 Usually this means the macro was only invoked conditionally." >&2;} 8318 { (exit 1); exit 1; }; } 8319 fi 8320 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then 8321 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined. 8322 Usually this means the macro was only invoked conditionally." >&5 8323 echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined. 8324 Usually this means the macro was only invoked conditionally." >&2;} 8325 { (exit 1); exit 1; }; } 8326 fi 8327 if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then 8328 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. 8329 Usually this means the macro was only invoked conditionally." >&5 8330 echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. 7674 8331 Usually this means the macro was only invoked conditionally." >&2;} 7675 8332 { (exit 1); exit 1; }; } … … 8120 8777 # Handling of arguments. 8121 8778 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8779 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8780 "src/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/importer/Makefile" ;; 8122 8781 "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;; 8123 8782 "src/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;; 8124 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;8125 "src/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/importer/Makefile" ;;8126 8783 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8127 8784 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; … … 8268 8925 s,@EGREP@,$EGREP,;t t 8269 8926 s,@DEBUG@,$DEBUG,;t t 8927 s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t 8928 s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t 8270 8929 s,@DOXYGEN@,$DOXYGEN,;t t 8271 8930 s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t … … 8276 8935 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t 8277 8936 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t 8937 s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t 8938 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t 8939 s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t 8940 s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t 8941 s,@CURL_LIBS@,$CURL_LIBS,;t t 8942 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t 8943 s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t 8944 s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t 8278 8945 s,@LIBOBJS@,$LIBOBJS,;t t 8279 8946 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note: See TracChangeset
for help on using the changeset viewer.