Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3430 in orxonox.OLD for orxonox/branches/trackManager/configure


Ignore:
Timestamp:
Mar 1, 2005, 9:50:30 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: merged trunk back to trackManager
merged with command
svn merge -r 3369:HEAD trunk/ branches/trackManager
resoloved conflicts in favor of the trunk.

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  
    312312#endif"
    313313
    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'
     314ac_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'
    315315ac_subst_files=''
    316316
     
    867867  --enable-debug          compiles in debug mode. Lots of debug info about the
    868868                          game.
     869  --enable-sub-projects   also builds the subProjects while make from srcdir
    869870
    870871Optional Packages:
     
    872873  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    873874  --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
    874878  --without-sdl-image     Prevents SDL_image from being loaded
    875879
     
    13351339
    13361340
    1337 # Detect the canonical host and target build environment.
     1341## Detect the canonical host and target build environment.
    13381342ac_aux_dir=
    13391343for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    14431447    NONENONEs,x,x, &&
    14441448  program_prefix=${target_alias}-
    1445 
    14461449
    14471450am__api_version="1.8"
     
    18501853
    18511854
    1852 
    1853 # Checks for programs.
     1855#########################
     1856## Checks for programs ##
     1857#########################
    18541858ac_ext=cc
    18551859ac_cpp='$CXXCPP $CPPFLAGS'
     
    38383842
    38393843
    3840 ### CHECKING  OPTIONAT ARGUMENTS
    3841 ## DEBUG-statement
     3844##################################
     3845## CHECKING  OPTIONAL ARGUMENTS ##
     3846##################################
     3847
     3848#-----------------#
     3849# DEBUG-statement #
     3850#-----------------#
    38423851DEBUG=no
    38433852echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5
     
    38493858fi;
    38503859
    3851 if test "$DEBUG" = "no"; then
     3860if test x$DEBUG = xno; then
    38523861        echo "no"
    3853         echo " -> Setting debuglevel to 1. Like this you can still see errors."
    3854         DEBUG=1
    3855 elif test "$DEBUG" = yes; then
     3862        echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed."
     3863        DEBUG=3
     3864elif test x$DEBUG = xyes; then
    38563865        echo "yes"
    3857         echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!."
    3858         DEBUG=3
    3859 else
    3860         echo "yes set to $DEBUG"
     3866        echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."
     3867        DEBUG=4
     3868else
     3869        echo "yes: setting debuglevel to to $DEBUG"
    38613870fi
    38623871
     
    38683877
    38693878
    3870 ## GTK-disabled
     3879#--------------#
     3880# GTK-disabled #
     3881#--------------#
    38713882echo "$as_me:$LINENO: checking if gtk should be enabled" >&5
    38723883echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6
     
    38793890  def_gtk=yes
    38803891fi;
    3881 if test "$def_gtk" = yes; then
     3892if test x$def_gtk = xyes; then
    38823893  echo "yes"
    38833894fi
    3884 if test "$def_gtk" = no; then
     3895if test x$def_gtk = xno; then
    38853896  echo "no"
    38863897fi
    3887 ### SDL_image-disable
     3898
     3899#------------------#
     3900# gThread-disabled #
     3901#------------------#
     3902echo "$as_me:$LINENO: checking if gThread should be enabled" >&5
     3903echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6
     3904
     3905# Check whether --with-gthread or --without-gthread was given.
     3906if test "${with_gthread+set}" = set; then
     3907  withval="$with_gthread"
     3908  def_gthread=no
     3909else
     3910  def_gthread=yes
     3911fi;
     3912if test x$def_gthread = xyes; then
     3913  echo "yes"
     3914fi
     3915if test x$def_gthread = xno; then
     3916  echo "no"
     3917fi
     3918
     3919#------------------#
     3920# pthread-disabled #
     3921#------------------#
     3922echo "$as_me:$LINENO: checking if pthread should be enabled" >&5
     3923echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6
     3924
     3925# Check whether --with-pthread or --without-pthread was given.
     3926if test "${with_pthread+set}" = set; then
     3927  withval="$with_pthread"
     3928  def_pthread=no
     3929else
     3930  def_pthread=yes
     3931fi;
     3932if test x$def_pthread = xyes; then
     3933  echo "yes"
     3934fi
     3935if test x$def_pthread = xno; then
     3936  echo "no"
     3937fi
     3938
     3939#------------------#
     3940# libCurl-disabled #
     3941#------------------#
     3942echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5
     3943echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6
     3944
     3945# Check whether --with-curl or --without-curl was given.
     3946if test "${with_curl+set}" = set; then
     3947  withval="$with_curl"
     3948  def_curl=no
     3949else
     3950  def_curl=yes
     3951fi;
     3952if test x$def_curl = xyes; then
     3953  echo "yes"
     3954fi
     3955if test x$def_curl = xno; then
     3956  echo "no"
     3957fi
     3958
     3959#-------------------#
     3960# SDL_image-disable #
     3961#-------------------#
    38883962def_sdl_image=yes
    38893963echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5
     
    38953969  def_sdl_image=no
    38963970fi;
    3897 if test "$def_sdl_image" = yes; then
     3971if test x$def_sdl_image = xyes; then
    38983972  echo "yes"
    38993973fi
    3900 if test "$def_sdl_image" = no; then
     3974if test x$def_sdl_image = xno; then
    39013975  echo "no"
    39023976fi
    3903 
    3904 
    3905 ## PROGRAMM CHECKING
    3906 # checking for Doxygen
     3977#-------------------#
     3978# SubProject-enable #
     3979#-------------------#
     3980def_sub_projects=no
     3981echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5
     3982echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6
     3983# Check whether --enable-sub-projects or --disable-sub-projects was given.
     3984if test "${enable_sub_projects+set}" = set; then
     3985  enableval="$enable_sub_projects"
     3986  def_sub_projects=yes
     3987fi;
     3988if test x$def_sub_projects = xyes; then
     3989  echo "yes"
     3990fi
     3991if test x$def_sub_projects = xno; then
     3992  echo "no"
     3993fi
     3994
     3995
     3996if test x$def_sub_projects = xyes; then
     3997  SUB_PROJECTS_TRUE=
     3998  SUB_PROJECTS_FALSE='#'
     3999else
     4000  SUB_PROJECTS_TRUE='#'
     4001  SUB_PROJECTS_FALSE=
     4002fi
     4003
     4004
     4005#######################
     4006## PROGRAMM CHECKING ##
     4007## 3. party Programs ##
     4008#######################
     4009
     4010#----------------------#
     4011# checking for Doxygen #
     4012#----------------------#
    39074013# Extract the first word of "doxygen", so it can be a program name with args.
    39084014set dummy doxygen; ac_word=$2
     
    39554061
    39564062
    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
    39584068
    39594069echo "$as_me:$LINENO: checking for System" >&5
     
    39614071## checking for openGL-environment and other sys-specific parameters
    39624072case "$target" in
    3963 ### WINDOWS ###
     4073#---------#
     4074# WINDOWS #
     4075#---------#
    39644076  *-*-mingw32*)
    39654077echo "mingw-WINDOWS detected"
     
    42644376fi
    42654377
    4266     if test "$FOUND_opengl32" = "yes" ; then
     4378    if test x$FOUND_opengl32 = xyes ; then
    42674379        LIBS="$LIBS -lopengl32"
    42684380    else
     
    44934605fi
    44944606
    4495     if test "$FOUND_glu32" = "yes" ; then
     4607    if test x$FOUND_glu32 = xyes ; then
    44964608        LIBS="$LIBS -lGLU32"
    44974609    else
     
    45664678fi
    45674679
    4568     if test $FOUND_mingw32 = "yes"; then
     4680    if test x$FOUND_mingw32 = xyes; then
    45694681        LIBS="$LIBS -lmingw32"
    45704682    fi
     
    47884900fi
    47894901
    4790     if test "$FOUND_sdlmain" = "yes" ; then
     4902    if test x$FOUND_sdlmain = xyes ; then
    47914903       LIBS="$LIBS -lsdlmain"
    47924904    else
     
    48594971fi
    48604972
    4861     if test "$FOUND_sdl" = "yes" ; then
     4973    if test x$FOUND_sdl = xyes ; then
    48624974       LIBS="$LIBS -lsdl"
    48634975    else
     
    48704982
    48714983    ;;
    4872 
    4873 ### LINUX ###
     4984#-------#
     4985# LINUX #
     4986#-------#
    48744987 *-*-linux*)
    48754988echo "Linux detected"
     
    48784991
    48794992CPPFLAGS="-I/usr/X11R6/include"
    4880 LDFLAGS="-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
     4993LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS"
    48814994# checking gl header
    48824995
     
    50365149
    50375150#  checking for Unix GL
    5038    echo "$as_me:$LINENO: checking for main in -lGL" >&5
    5039 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
    5040 if test "${ac_cv_lib_GL_main+set}" = set; then
     5151   echo "$as_me:$LINENO: checking for glLoadIdentity in -lGL" >&5
     5152echo $ECHO_N "checking for glLoadIdentity in -lGL... $ECHO_C" >&6
     5153if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then
    50415154  echo $ECHO_N "(cached) $ECHO_C" >&6
    50425155else
     
    50505163/* end confdefs.h.  */
    50515164
    5052 
     5165/* Override any gcc2 internal prototype to avoid an error.  */
     5166#ifdef __cplusplus
     5167extern "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.  */
     5171char glLoadIdentity ();
    50535172int
    50545173main ()
    50555174{
    5056 main ();
     5175glLoadIdentity ();
    50575176  ;
    50585177  return 0;
     
    50815200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50825201  (exit $ac_status); }; }; then
    5083   ac_cv_lib_GL_main=yes
     5202  ac_cv_lib_GL_glLoadIdentity=yes
    50845203else
    50855204  echo "$as_me: failed program was:" >&5
    50865205sed 's/^/| /' conftest.$ac_ext >&5
    50875206
    5088 ac_cv_lib_GL_main=no
     5207ac_cv_lib_GL_glLoadIdentity=no
    50895208fi
    50905209rm -f conftest.err conftest.$ac_objext \
     
    50925211LIBS=$ac_check_lib_save_LIBS
    50935212fi
    5094 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
    5095 echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
    5096 if test $ac_cv_lib_GL_main = yes; then
     5213echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glLoadIdentity" >&5
     5214echo "${ECHO_T}$ac_cv_lib_GL_glLoadIdentity" >&6
     5215if test $ac_cv_lib_GL_glLoadIdentity = yes; then
    50975216  FOUND_GL=yes
    50985217fi
    50995218
    5100    if test "$FOUND_GL" = "yes" ; then
     5219   if test x$FOUND_GL = xyes ; then
    51015220     LIBS="$LIBS -lGL"
    51025221   else
     
    53325451fi
    53335452
    5334     if test "$FOUND_GLU" = "yes" ; then
     5453    if test x$FOUND_GLU = xyes ; then
    53355454      LIBS="$LIBS -lGLU"
    53365455    else
     
    55615680fi
    55625681
    5563      if test "$FOUND_SDL" = "yes" ; then
     5682     if test x$FOUND_SDL = xyes ; then
    55645683       LIBS="$LIBS -lSDL"
    55655684     else
     
    55815700#    LIBS="$LIBS $SDL_LIBS"
    55825701    ;;
    5583 
    5584 ### OS X ###
     5702#-----------#
     5703# MAC -OS X #
     5704#-----------#
    55855705 *darwin*)
    5586 echo "OS X detected"
     5706 echo "OS X detected"
    55875707
    55885708 osX="yes"
     
    59026022   LIBS="$LIBS -framework OpenGL"
    59036023
     6024       SDL_CFLAGS=`sdl-config --cflags`
     6025       SDL_LIBS=`sdl-config --libs`
     6026       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
     6027       LIBS="$LIBS $SDL_LIBS"
     6028
     6029
    59046030# checking for SDL-headers
    59056031#    AC_CHECK_HEADERS(SDL/SDL.h ,,
     
    59136039#      )
    59146040
    5915        SDL_CFLAGS=`sdl-config --cflags`
    5916        SDL_LIBS=`sdl-config --libs`
    5917        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
    5918        LIBS="$LIBS $SDL_LIBS"
    59196041
    59206042    ;;
     
    59266048
    59276049
    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#-----------#
     6057if test x$def_sdl_image = xyes; then
    59306058# checking for SDL_image-headers
    59316059
     
    60826210
    60836211fi
    6084 if test "$def_sdl_image" = "yes"; then
     6212if test x$def_sdl_image = xyes; then
    60856213# checking for SDL_image-lib
    60866214  echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5
     
    61466274fi
    61476275
    6148      if test "$FOUND_SDL_image" = "yes" ; then
     6276     if test x$FOUND_SDL_image = xyes ; then
    61496277       LIBS="$LIBS -lSDL_image"
    61506278     else
     
    61576285fi
    61586286
    6159 
    6160 if test "$def_sdl_image" = "no"; then
    6161  ## checking for libjpeg
     6287## case no SDL-image:
     6288if test x$def_sdl_image = xno; then
     6289#---------#
     6290# libjpeg #
     6291#---------#
    61626292
    61636293for ac_header in jpeglib.h
     
    63126442done
    63136443
    6314  if test $jpegHeader = "no"; then
     6444 if test x$jpegHeader = xno; then
    63156445        echo " not including jpeg."
    63166446 else
     
    63776507fi
    63786508
    6379     if test "$FOUND_jpeg" = "yes" ; then
     6509    if test x$FOUND_jpeg = xyes ; then
    63806510      LIBS="$LIBS -ljpeg"
    63816511    else
     
    63886518 fi
    63896519
    6390  ## checking for libpng
     6520#--------#
     6521# libpng #
     6522#--------#
    63916523
    63926524for ac_header in png.h
     
    65416673done
    65426674
    6543  if test $pngHeader = "no"; then
     6675 if test x$pngHeader = xno; then
    65446676        echo " not including png."
    65456677 else
     
    66066738fi
    66076739
    6608     if test "$FOUND_png" = "yes" ; then
     6740    if test x$FOUND_png = xyes ; then
    66096741      LIBS="$LIBS -lpng"
    66106742    else
     
    66186750fi
    66196751
    6620 ## checking for GTK
    6621 if test "$def_gtk" = yes; then
     6752#-----#
     6753# GTK #
     6754#-----#
     6755if test x$def_gtk = xyes; then
    66226756
    66236757        #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
     
    66526786
    66536787
    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#---------#
     6791if test x$def_gthread = xyes; then
     6792
     6793        echo "$as_me:$LINENO: checking for gthread" >&5
     6794echo $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
     6801cat >>confdefs.h <<_ACEOF
     6802#define HAVE_GTHREAD 1
     6803_ACEOF
     6804
     6805        else
     6806                echo "no"
     6807        fi
     6808
     6809fi
     6810
     6811
     6812
     6813
     6814if test x$have_gthread = xyes; then
     6815  HAVE_GTHREAD_TRUE=
     6816  HAVE_GTHREAD_FALSE='#'
     6817else
     6818  HAVE_GTHREAD_TRUE='#'
     6819  HAVE_GTHREAD_FALSE=
     6820fi
     6821
     6822
     6823#---------#
     6824# libcURL #
     6825#---------#
     6826if test x$def_curl = xyes; then
     6827
     6828
     6829for ac_header in curl/curl.h
    69046830do
    69056831as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    70456971#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    70466972_ACEOF
    7047 
     6973 curlHeader="yes"
     6974else
     6975  curlHeader="no"
    70486976fi
    70496977
    70506978done
    70516979
    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
     6981echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6
     6982if test "${ac_cv_lib_curl_main+set}" = set; then
    70576983  echo $ECHO_N "(cached) $ECHO_C" >&6
    70586984else
    7059   cat >conftest.$ac_ext <<_ACEOF
     6985  ac_check_lib_save_LIBS=$LIBS
     6986LIBS="-lcurl  $LIBS"
     6987cat >conftest.$ac_ext <<_ACEOF
    70606988/* confdefs.h.  */
    70616989_ACEOF
     
    70646992/* end confdefs.h.  */
    70656993
    7066 #include <stdbool.h>
    7067 #ifndef bool
    7068 # error bool is not defined
    7069 #endif
    7070 #ifndef false
    7071 # error false is not defined
    7072 #endif
    7073 #if false
    7074 # error false is not 0
    7075 #endif
    7076 #ifndef true
    7077 # error true is not defined
    7078 #endif
    7079 #if true != 1
    7080 # error true is not 1
    7081 #endif
    7082 #ifndef __bool_true_false_are_defined
    7083 # error __bool_true_false_are_defined is not defined
    7084 #endif
    7085 
    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];
    70976994
    70986995int
    70996996main ()
    71006997{
    7101  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     6998main ();
    71026999  ;
    71037000  return 0;
    71047001}
    71057002_ACEOF
    7106 rm -f conftest.$ac_objext
    7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7108   (eval $ac_compile) 2>conftest.er1
     7003rm -f conftest.$ac_objext conftest$ac_exeext
     7004if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7005  (eval $ac_link) 2>conftest.er1
    71097006  ac_status=$?
    71107007  grep -v '^ *+' conftest.er1 >conftest.err
     
    71207017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71217018  (exit $ac_status); }; } &&
    7122          { ac_try='test -s conftest.$ac_objext'
     7019         { ac_try='test -s conftest$ac_exeext'
    71237020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    71247021  (eval $ac_try) 2>&5
     
    71267023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71277024  (exit $ac_status); }; }; then
    7128   ac_cv_header_stdbool_h=yes
     7025  ac_cv_lib_curl_main=yes
    71297026else
    71307027  echo "$as_me: failed program was:" >&5
    71317028sed 's/^/| /' conftest.$ac_ext >&5
    71327029
    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
     7030ac_cv_lib_curl_main=no
     7031fi
     7032rm -f conftest.err conftest.$ac_objext \
     7033      conftest$ac_exeext conftest.$ac_ext
     7034LIBS=$ac_check_lib_save_LIBS
     7035fi
     7036echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5
     7037echo "${ECHO_T}$ac_cv_lib_curl_main" >&6
     7038if test $ac_cv_lib_curl_main = yes; then
     7039  FOUND_curl=yes
     7040fi
     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`
    71967046
    71977047cat >>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
     7055fi
     7056
     7057
     7058
     7059
     7060if test x$have_curl = xyes; then
     7061  HAVE_CURL_TRUE=
     7062  HAVE_CURL_FALSE='#'
     7063else
     7064  HAVE_CURL_TRUE='#'
     7065  HAVE_CURL_FALSE=
     7066fi
     7067
     7068
     7069#---------#
     7070# pthread #
     7071#---------#
     7072if test x$def_pthread = xyes ; then
     7073 if test x$have_gthread = xyes ; then
     7074
     7075for ac_header in pthread.h
    72167076do
    72177077as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    73577217#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    73587218_ACEOF
     7219 pthreadHeader="yes"
     7220else
     7221  pthreadHeader="no"
     7222fi
     7223
     7224done
     7225
     7226  echo "$as_me:$LINENO: checking for main in -lpthread" >&5
     7227echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
     7228if test "${ac_cv_lib_pthread_main+set}" = set; then
     7229  echo $ECHO_N "(cached) $ECHO_C" >&6
     7230else
     7231  ac_check_lib_save_LIBS=$LIBS
     7232LIBS="-lpthread  $LIBS"
     7233cat >conftest.$ac_ext <<_ACEOF
     7234/* confdefs.h.  */
     7235_ACEOF
     7236cat confdefs.h >>conftest.$ac_ext
     7237cat >>conftest.$ac_ext <<_ACEOF
     7238/* end confdefs.h.  */
     7239
     7240
     7241int
     7242main ()
     7243{
     7244main ();
     7245  ;
     7246  return 0;
     7247}
     7248_ACEOF
     7249rm -f conftest.$ac_objext conftest$ac_exeext
     7250if { (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
     7272else
     7273  echo "$as_me: failed program was:" >&5
     7274sed 's/^/| /' conftest.$ac_ext >&5
     7275
     7276ac_cv_lib_pthread_main=no
     7277fi
     7278rm -f conftest.err conftest.$ac_objext \
     7279      conftest$ac_exeext conftest.$ac_ext
     7280LIBS=$ac_check_lib_save_LIBS
     7281fi
     7282echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
     7283echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
     7284if test $ac_cv_lib_pthread_main = yes; then
     7285  FOUND_pthread=yes
     7286fi
     7287
     7288   if test x$FOUND_pthread = xyes ; then
     7289      LIBS="$LIBS -lpthread"
     7290   fi
     7291 fi
     7292fi
     7293
     7294
     7295# FIXME: Replace `main' with a function in `-lm':
     7296
     7297echo "$as_me:$LINENO: checking for main in -lm" >&5
     7298echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     7299if test "${ac_cv_lib_m_main+set}" = set; then
     7300  echo $ECHO_N "(cached) $ECHO_C" >&6
     7301else
     7302  ac_check_lib_save_LIBS=$LIBS
     7303LIBS="-lm  $LIBS"
     7304cat >conftest.$ac_ext <<_ACEOF
     7305/* confdefs.h.  */
     7306_ACEOF
     7307cat confdefs.h >>conftest.$ac_ext
     7308cat >>conftest.$ac_ext <<_ACEOF
     7309/* end confdefs.h.  */
     7310
     7311
     7312int
     7313main ()
     7314{
     7315main ();
     7316  ;
     7317  return 0;
     7318}
     7319_ACEOF
     7320rm -f conftest.$ac_objext conftest$ac_exeext
     7321if { (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
     7343else
     7344  echo "$as_me: failed program was:" >&5
     7345sed 's/^/| /' conftest.$ac_ext >&5
     7346
     7347ac_cv_lib_m_main=no
     7348fi
     7349rm -f conftest.err conftest.$ac_objext \
     7350      conftest$ac_exeext conftest.$ac_ext
     7351LIBS=$ac_check_lib_save_LIBS
     7352fi
     7353echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     7354echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     7355if 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
     7362fi
     7363
     7364
     7365
     7366# Checks for header files.
     7367echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     7368echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     7369if test "${ac_cv_header_stdc+set}" = set; then
     7370  echo $ECHO_N "(cached) $ECHO_C" >&6
     7371else
     7372  cat >conftest.$ac_ext <<_ACEOF
     7373/* confdefs.h.  */
     7374_ACEOF
     7375cat confdefs.h >>conftest.$ac_ext
     7376cat >>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
     7383int
     7384main ()
     7385{
     7386
     7387  ;
     7388  return 0;
     7389}
     7390_ACEOF
     7391rm -f conftest.$ac_objext
     7392if { (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
     7414else
     7415  echo "$as_me: failed program was:" >&5
     7416sed 's/^/| /' conftest.$ac_ext >&5
     7417
     7418ac_cv_header_stdc=no
     7419fi
     7420rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7421
     7422if 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
     7427cat confdefs.h >>conftest.$ac_ext
     7428cat >>conftest.$ac_ext <<_ACEOF
     7429/* end confdefs.h.  */
     7430#include <string.h>
     7431
     7432_ACEOF
     7433if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7434  $EGREP "memchr" >/dev/null 2>&1; then
     7435  :
     7436else
     7437  ac_cv_header_stdc=no
     7438fi
     7439rm -f conftest*
     7440
     7441fi
     7442
     7443if 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
     7448cat confdefs.h >>conftest.$ac_ext
     7449cat >>conftest.$ac_ext <<_ACEOF
     7450/* end confdefs.h.  */
     7451#include <stdlib.h>
     7452
     7453_ACEOF
     7454if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7455  $EGREP "free" >/dev/null 2>&1; then
     7456  :
     7457else
     7458  ac_cv_header_stdc=no
     7459fi
     7460rm -f conftest*
     7461
     7462fi
     7463
     7464if 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  :
     7468else
     7469  cat >conftest.$ac_ext <<_ACEOF
     7470/* confdefs.h.  */
     7471_ACEOF
     7472cat confdefs.h >>conftest.$ac_ext
     7473cat >>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)))
     7488int
     7489main ()
     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
     7499rm -f conftest$ac_exeext
     7500if { (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  :
     7511else
     7512  echo "$as_me: program exited with status $ac_status" >&5
     7513echo "$as_me: failed program was:" >&5
     7514sed 's/^/| /' conftest.$ac_ext >&5
     7515
     7516( exit $ac_status )
     7517ac_cv_header_stdc=no
     7518fi
     7519rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7520fi
     7521fi
     7522fi
     7523echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     7524echo "${ECHO_T}$ac_cv_header_stdc" >&6
     7525if test $ac_cv_header_stdc = yes; then
     7526
     7527cat >>confdefs.h <<\_ACEOF
     7528#define STDC_HEADERS 1
     7529_ACEOF
     7530
     7531fi
     7532
     7533
     7534
     7535for ac_header in stdlib.h string.h
     7536do
     7537as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7538if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7539  echo "$as_me:$LINENO: checking for $ac_header" >&5
     7540echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7541if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7542  echo $ECHO_N "(cached) $ECHO_C" >&6
     7543fi
     7544echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7545echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7546else
     7547  # Is the header compilable?
     7548echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7549echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     7550cat >conftest.$ac_ext <<_ACEOF
     7551/* confdefs.h.  */
     7552_ACEOF
     7553cat confdefs.h >>conftest.$ac_ext
     7554cat >>conftest.$ac_ext <<_ACEOF
     7555/* end confdefs.h.  */
     7556$ac_includes_default
     7557#include <$ac_header>
     7558_ACEOF
     7559rm -f conftest.$ac_objext
     7560if { (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
     7582else
     7583  echo "$as_me: failed program was:" >&5
     7584sed 's/^/| /' conftest.$ac_ext >&5
     7585
     7586ac_header_compiler=no
     7587fi
     7588rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7589echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7590echo "${ECHO_T}$ac_header_compiler" >&6
     7591
     7592# Is the header present?
     7593echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7594echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     7595cat >conftest.$ac_ext <<_ACEOF
     7596/* confdefs.h.  */
     7597_ACEOF
     7598cat confdefs.h >>conftest.$ac_ext
     7599cat >>conftest.$ac_ext <<_ACEOF
     7600/* end confdefs.h.  */
     7601#include <$ac_header>
     7602_ACEOF
     7603if { (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
     7617else
     7618  ac_cpp_err=yes
     7619fi
     7620if test -z "$ac_cpp_err"; then
     7621  ac_header_preproc=yes
     7622else
     7623  echo "$as_me: failed program was:" >&5
     7624sed 's/^/| /' conftest.$ac_ext >&5
     7625
     7626  ac_header_preproc=no
     7627fi
     7628rm -f conftest.err conftest.$ac_ext
     7629echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7630echo "${ECHO_T}$ac_header_preproc" >&6
     7631
     7632# So?  What about this header?
     7633case $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
     7636echo "$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
     7638echo "$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
     7643echo "$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
     7645echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7646    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7647echo "$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
     7649echo "$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
     7651echo "$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
     7653echo "$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    ;;
     7663esac
     7664echo "$as_me:$LINENO: checking for $ac_header" >&5
     7665echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7666if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7667  echo $ECHO_N "(cached) $ECHO_C" >&6
     7668else
     7669  eval "$as_ac_Header=\$ac_header_preproc"
     7670fi
     7671echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7672echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7673
     7674fi
     7675if 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
     7680fi
     7681
     7682done
     7683
     7684
     7685# Checks for typedefs, structures, and compiler characteristics.
     7686echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
     7687echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
     7688if test "${ac_cv_header_stdbool_h+set}" = set; then
     7689  echo $ECHO_N "(cached) $ECHO_C" >&6
     7690else
     7691  cat >conftest.$ac_ext <<_ACEOF
     7692/* confdefs.h.  */
     7693_ACEOF
     7694cat confdefs.h >>conftest.$ac_ext
     7695cat >>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
     7730int
     7731main ()
     7732{
     7733 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     7734  ;
     7735  return 0;
     7736}
     7737_ACEOF
     7738rm -f conftest.$ac_objext
     7739if { (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
     7761else
     7762  echo "$as_me: failed program was:" >&5
     7763sed 's/^/| /' conftest.$ac_ext >&5
     7764
     7765ac_cv_header_stdbool_h=no
     7766fi
     7767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7768fi
     7769echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     7770echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
     7771echo "$as_me:$LINENO: checking for _Bool" >&5
     7772echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
     7773if test "${ac_cv_type__Bool+set}" = set; then
     7774  echo $ECHO_N "(cached) $ECHO_C" >&6
     7775else
     7776  cat >conftest.$ac_ext <<_ACEOF
     7777/* confdefs.h.  */
     7778_ACEOF
     7779cat confdefs.h >>conftest.$ac_ext
     7780cat >>conftest.$ac_ext <<_ACEOF
     7781/* end confdefs.h.  */
     7782$ac_includes_default
     7783int
     7784main ()
     7785{
     7786if ((_Bool *) 0)
     7787  return 0;
     7788if (sizeof (_Bool))
     7789  return 0;
     7790  ;
     7791  return 0;
     7792}
     7793_ACEOF
     7794rm -f conftest.$ac_objext
     7795if { (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
     7817else
     7818  echo "$as_me: failed program was:" >&5
     7819sed 's/^/| /' conftest.$ac_ext >&5
     7820
     7821ac_cv_type__Bool=no
     7822fi
     7823rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7824fi
     7825echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     7826echo "${ECHO_T}$ac_cv_type__Bool" >&6
     7827if test $ac_cv_type__Bool = yes; then
     7828
     7829cat >>confdefs.h <<_ACEOF
     7830#define HAVE__BOOL 1
     7831_ACEOF
     7832
     7833
     7834fi
     7835
     7836if test $ac_cv_header_stdbool_h = yes; then
     7837
     7838cat >>confdefs.h <<\_ACEOF
     7839#define HAVE_STDBOOL_H 1
     7840_ACEOF
     7841
     7842fi
     7843
     7844
     7845# Checks for library functions.
     7846
     7847for ac_header in stdlib.h
     7848do
     7849as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7850if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7851  echo "$as_me:$LINENO: checking for $ac_header" >&5
     7852echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7853if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7854  echo $ECHO_N "(cached) $ECHO_C" >&6
     7855fi
     7856echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7857echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7858else
     7859  # Is the header compilable?
     7860echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7861echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     7862cat >conftest.$ac_ext <<_ACEOF
     7863/* confdefs.h.  */
     7864_ACEOF
     7865cat confdefs.h >>conftest.$ac_ext
     7866cat >>conftest.$ac_ext <<_ACEOF
     7867/* end confdefs.h.  */
     7868$ac_includes_default
     7869#include <$ac_header>
     7870_ACEOF
     7871rm -f conftest.$ac_objext
     7872if { (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
     7894else
     7895  echo "$as_me: failed program was:" >&5
     7896sed 's/^/| /' conftest.$ac_ext >&5
     7897
     7898ac_header_compiler=no
     7899fi
     7900rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7901echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7902echo "${ECHO_T}$ac_header_compiler" >&6
     7903
     7904# Is the header present?
     7905echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7906echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     7907cat >conftest.$ac_ext <<_ACEOF
     7908/* confdefs.h.  */
     7909_ACEOF
     7910cat confdefs.h >>conftest.$ac_ext
     7911cat >>conftest.$ac_ext <<_ACEOF
     7912/* end confdefs.h.  */
     7913#include <$ac_header>
     7914_ACEOF
     7915if { (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
     7929else
     7930  ac_cpp_err=yes
     7931fi
     7932if test -z "$ac_cpp_err"; then
     7933  ac_header_preproc=yes
     7934else
     7935  echo "$as_me: failed program was:" >&5
     7936sed 's/^/| /' conftest.$ac_ext >&5
     7937
     7938  ac_header_preproc=no
     7939fi
     7940rm -f conftest.err conftest.$ac_ext
     7941echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7942echo "${ECHO_T}$ac_header_preproc" >&6
     7943
     7944# So?  What about this header?
     7945case $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
     7948echo "$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
     7950echo "$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
     7955echo "$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
     7957echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7958    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7959echo "$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
     7961echo "$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
     7963echo "$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
     7965echo "$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    ;;
     7975esac
     7976echo "$as_me:$LINENO: checking for $ac_header" >&5
     7977echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     7978if eval "test \"\${$as_ac_Header+set}\" = set"; then
     7979  echo $ECHO_N "(cached) $ECHO_C" >&6
     7980else
     7981  eval "$as_ac_Header=\$ac_header_preproc"
     7982fi
     7983echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     7984echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     7985
     7986fi
     7987if 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
    73597991
    73607992fi
     
    75478179
    75488180
    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
    75508186
    75518187cat >confcache <<\_ACEOF
     
    76618297   { (exit 1); exit 1; }; }
    76628298fi
     8299if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then
     8300  { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined.
     8301Usually this means the macro was only invoked conditionally." >&5
     8302echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined.
     8303Usually this means the macro was only invoked conditionally." >&2;}
     8304   { (exit 1); exit 1; }; }
     8305fi
    76638306if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then
    76648307  { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined.
     
    76728315Usually this means the macro was only invoked conditionally." >&5
    76738316echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined.
     8317Usually this means the macro was only invoked conditionally." >&2;}
     8318   { (exit 1); exit 1; }; }
     8319fi
     8320if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then
     8321  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.
     8322Usually this means the macro was only invoked conditionally." >&5
     8323echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.
     8324Usually this means the macro was only invoked conditionally." >&2;}
     8325   { (exit 1); exit 1; }; }
     8326fi
     8327if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then
     8328  { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined.
     8329Usually this means the macro was only invoked conditionally." >&5
     8330echo "$as_me: error: conditional \"HAVE_CURL\" was never defined.
    76748331Usually this means the macro was only invoked conditionally." >&2;}
    76758332   { (exit 1); exit 1; }; }
     
    81208777  # Handling of arguments.
    81218778  "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" ;;
    81228781  "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;;
    81238782  "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" ;;
    81268783  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    81278784  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     
    82688925s,@EGREP@,$EGREP,;t t
    82698926s,@DEBUG@,$DEBUG,;t t
     8927s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t
     8928s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t
    82708929s,@DOXYGEN@,$DOXYGEN,;t t
    82718930s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t
     
    82768935s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t
    82778936s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t
     8937s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
     8938s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
     8939s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t
     8940s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t
     8941s,@CURL_LIBS@,$CURL_LIBS,;t t
     8942s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
     8943s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t
     8944s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t
    82788945s,@LIBOBJS@,$LIBOBJS,;t t
    82798946s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note: See TracChangeset for help on using the changeset viewer.