Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4217 in orxonox.OLD for orxonox/branches/movie_player/configure


Ignore:
Timestamp:
May 18, 2005, 11:27:40 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/movie_player: merged the trunk back into the movie_player
merged with command:
svn merge -r 4014:HEAD ../trunk/ movie_player/
no conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/movie_player/configure

    r4014 r4217  
    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 SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE GTHREAD_LIBS GTHREAD_CFLAGS HAVE_GTHREAD_TRUE HAVE_GTHREAD_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE LIBOBJS LTLIBOBJS'
     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 RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF PKG_CONFIG MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE LIBOBJS LTLIBOBJS'
    315315ac_subst_files=''
    316316
     
    879879  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    880880  --without-gtk           Prevents GTK from being loaded
    881   --without-gthread       Prevents gThread from being loaded
    882   --without-pthread       Prevents pthread from being loaded
    883881  --without-curl          Prevents libcURL from being loaded
    884882
     
    25912589
    25922590
     2591if test -n "$ac_tool_prefix"; then
     2592  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     2593set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     2594echo "$as_me:$LINENO: checking for $ac_word" >&5
     2595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2596if test "${ac_cv_prog_RANLIB+set}" = set; then
     2597  echo $ECHO_N "(cached) $ECHO_C" >&6
     2598else
     2599  if test -n "$RANLIB"; then
     2600  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     2601else
     2602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2603for as_dir in $PATH
     2604do
     2605  IFS=$as_save_IFS
     2606  test -z "$as_dir" && as_dir=.
     2607  for ac_exec_ext in '' $ac_executable_extensions; do
     2608  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2609    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     2610    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2611    break 2
     2612  fi
     2613done
     2614done
     2615
     2616fi
     2617fi
     2618RANLIB=$ac_cv_prog_RANLIB
     2619if test -n "$RANLIB"; then
     2620  echo "$as_me:$LINENO: result: $RANLIB" >&5
     2621echo "${ECHO_T}$RANLIB" >&6
     2622else
     2623  echo "$as_me:$LINENO: result: no" >&5
     2624echo "${ECHO_T}no" >&6
     2625fi
     2626
     2627fi
     2628if test -z "$ac_cv_prog_RANLIB"; then
     2629  ac_ct_RANLIB=$RANLIB
     2630  # Extract the first word of "ranlib", so it can be a program name with args.
     2631set dummy ranlib; ac_word=$2
     2632echo "$as_me:$LINENO: checking for $ac_word" >&5
     2633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2634if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2635  echo $ECHO_N "(cached) $ECHO_C" >&6
     2636else
     2637  if test -n "$ac_ct_RANLIB"; then
     2638  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     2639else
     2640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2641for as_dir in $PATH
     2642do
     2643  IFS=$as_save_IFS
     2644  test -z "$as_dir" && as_dir=.
     2645  for ac_exec_ext in '' $ac_executable_extensions; do
     2646  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2647    ac_cv_prog_ac_ct_RANLIB="ranlib"
     2648    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2649    break 2
     2650  fi
     2651done
     2652done
     2653
     2654  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     2655fi
     2656fi
     2657ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     2658if test -n "$ac_ct_RANLIB"; then
     2659  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2660echo "${ECHO_T}$ac_ct_RANLIB" >&6
     2661else
     2662  echo "$as_me:$LINENO: result: no" >&5
     2663echo "${ECHO_T}no" >&6
     2664fi
     2665
     2666  RANLIB=$ac_ct_RANLIB
     2667else
     2668  RANLIB="$ac_cv_prog_RANLIB"
     2669fi
     2670
    25932671ac_ext=c
    25942672ac_cpp='$CPP $CPPFLAGS'
     
    39264004
    39274005#------------------#
    3928 # gThread-disabled #
    3929 #------------------#
    3930 echo "$as_me:$LINENO: checking if gThread should be enabled" >&5
    3931 echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6
    3932 
    3933 # Check whether --with-gthread or --without-gthread was given.
    3934 if test "${with_gthread+set}" = set; then
    3935   withval="$with_gthread"
    3936   def_gthread=no
    3937 else
    3938   def_gthread=yes
    3939 fi;
    3940 if test x$def_gthread = xyes; then
    3941   echo "yes"
    3942 fi
    3943 if test x$def_gthread = xno; then
    3944   echo "no"
    3945 fi
    3946 
    3947 #------------------#
    3948 # pthread-disabled #
    3949 #------------------#
    3950 echo "$as_me:$LINENO: checking if pthread should be enabled" >&5
    3951 echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6
    3952 
    3953 # Check whether --with-pthread or --without-pthread was given.
    3954 if test "${with_pthread+set}" = set; then
    3955   withval="$with_pthread"
    3956   def_pthread=no
    3957 else
    3958   def_pthread=yes
    3959 fi;
    3960 if test x$def_pthread = xyes; then
    3961   echo "yes"
    3962 fi
    3963 if test x$def_pthread = xno; then
    3964   echo "no"
    3965 fi
    3966 
    3967 #------------------#
    39684006# libCurl-disabled #
    39694007#------------------#
     
    41754213  echo "$as_me:$LINENO: result: no" >&5
    41764214echo "${ECHO_T}no" >&6
     4215fi
     4216
     4217
     4218#-------------------------#
     4219# checking for pkg-config #
     4220#-------------------------#
     4221if test x$def_gtk = xyes; then
     4222 # Extract the first word of "pkg-config", so it can be a program name with args.
     4223set dummy pkg-config; ac_word=$2
     4224echo "$as_me:$LINENO: checking for $ac_word" >&5
     4225echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4226if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     4227  echo $ECHO_N "(cached) $ECHO_C" >&6
     4228else
     4229  case $PKG_CONFIG in
     4230  [\\/]* | ?:[\\/]*)
     4231  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     4232  ;;
     4233  *)
     4234  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4235for as_dir in $PATH
     4236do
     4237  IFS=$as_save_IFS
     4238  test -z "$as_dir" && as_dir=.
     4239  for ac_exec_ext in '' $ac_executable_extensions; do
     4240  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4241    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     4242    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4243    break 2
     4244  fi
     4245done
     4246done
     4247
     4248  ;;
     4249esac
     4250fi
     4251PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     4252
     4253if test -n "$PKG_CONFIG"; then
     4254  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     4255echo "${ECHO_T}$PKG_CONFIG" >&6
     4256else
     4257  echo "$as_me:$LINENO: result: no" >&5
     4258echo "${ECHO_T}no" >&6
     4259fi
     4260
    41774261fi
    41784262
     
    66366720#-----#
    66376721if test x$def_gtk = xyes; then
    6638 
    66396722        #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
    66406723        echo "$as_me:$LINENO: checking for gtk2.0" >&5
    66416724echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6
    6642         if `pkg-config --exists gtk+-2.0`; then
     6725        if `$PKG_CONFIG --exists gtk+-2.0`; then
    66436726                echo "yes"
    66446727                have_gtk2=yes
    6645                 GTK2_LIBS=`pkg-config --libs gtk+-2.0`
    6646                 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0`
     6728                GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
     6729                GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
    66476730
    66486731cat >>confdefs.h <<_ACEOF
     
    66506733_ACEOF
    66516734
     6735                if test $DEBUG -ge 3; then
     6736                 echo "cflags: $GTK2_CFLAGS"
     6737                 echo "libs: $GTK2_LIBS"
     6738                fi
    66526739        else
    66536740                echo "no"
     
    66656752  HAVE_GTK2_TRUE='#'
    66666753  HAVE_GTK2_FALSE=
    6667 fi
    6668 
    6669 
    6670 #---------#
    6671 # gThread #
    6672 #---------#
    6673 if test x$def_gthread = xyes; then
    6674 
    6675         echo "$as_me:$LINENO: checking for gthread" >&5
    6676 echo $ECHO_N "checking for gthread... $ECHO_C" >&6
    6677         if `pkg-config --exists gthread-2.0`; then
    6678                 echo "yes"
    6679                 have_gthread=yes
    6680                 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`
    6681                 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`
    6682 
    6683 cat >>confdefs.h <<_ACEOF
    6684 #define HAVE_GTHREAD 1
    6685 _ACEOF
    6686 
    6687         else
    6688                 echo "no"
    6689         fi
    6690 
    6691 fi
    6692 
    6693 
    6694 
    6695 
    6696 if test x$have_gthread = xyes; then
    6697   HAVE_GTHREAD_TRUE=
    6698   HAVE_GTHREAD_FALSE='#'
    6699 else
    6700   HAVE_GTHREAD_TRUE='#'
    6701   HAVE_GTHREAD_FALSE=
    67026754fi
    67036755
     
    69497001
    69507002
    6951 #---------#
    6952 # pthread #
    6953 #---------#
    6954 if test x$def_pthread = xyes ; then
    6955  if test x$have_gthread = xyes ; then
    6956 
    6957 for ac_header in pthread.h
     7003#--------#
     7004# efence #
     7005#--------#
     7006if test x$def_efence = xyes ; then
     7007  echo "$as_me:$LINENO: checking for main in -lefence" >&5
     7008echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6
     7009if test "${ac_cv_lib_efence_main+set}" = set; then
     7010  echo $ECHO_N "(cached) $ECHO_C" >&6
     7011else
     7012  ac_check_lib_save_LIBS=$LIBS
     7013LIBS="-lefence  $LIBS"
     7014cat >conftest.$ac_ext <<_ACEOF
     7015/* confdefs.h.  */
     7016_ACEOF
     7017cat confdefs.h >>conftest.$ac_ext
     7018cat >>conftest.$ac_ext <<_ACEOF
     7019/* end confdefs.h.  */
     7020
     7021
     7022int
     7023main ()
     7024{
     7025main ();
     7026  ;
     7027  return 0;
     7028}
     7029_ACEOF
     7030rm -f conftest.$ac_objext conftest$ac_exeext
     7031if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7032  (eval $ac_link) 2>conftest.er1
     7033  ac_status=$?
     7034  grep -v '^ *+' conftest.er1 >conftest.err
     7035  rm -f conftest.er1
     7036  cat conftest.err >&5
     7037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7038  (exit $ac_status); } &&
     7039         { ac_try='test -z "$ac_c_werror_flag"
     7040                         || test ! -s conftest.err'
     7041  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7042  (eval $ac_try) 2>&5
     7043  ac_status=$?
     7044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7045  (exit $ac_status); }; } &&
     7046         { ac_try='test -s conftest$ac_exeext'
     7047  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7048  (eval $ac_try) 2>&5
     7049  ac_status=$?
     7050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7051  (exit $ac_status); }; }; then
     7052  ac_cv_lib_efence_main=yes
     7053else
     7054  echo "$as_me: failed program was:" >&5
     7055sed 's/^/| /' conftest.$ac_ext >&5
     7056
     7057ac_cv_lib_efence_main=no
     7058fi
     7059rm -f conftest.err conftest.$ac_objext \
     7060      conftest$ac_exeext conftest.$ac_ext
     7061LIBS=$ac_check_lib_save_LIBS
     7062fi
     7063echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5
     7064echo "${ECHO_T}$ac_cv_lib_efence_main" >&6
     7065if test $ac_cv_lib_efence_main = yes; then
     7066  FOUND_efence=yes
     7067fi
     7068
     7069   if test x$FOUND_efence = xyes ; then
     7070      LIBS="$LIBS -lefence"
     7071   fi
     7072
     7073fi
     7074
     7075# FIXME: Replace `main' with a function in `-lm':
     7076
     7077echo "$as_me:$LINENO: checking for main in -lm" >&5
     7078echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     7079if test "${ac_cv_lib_m_main+set}" = set; then
     7080  echo $ECHO_N "(cached) $ECHO_C" >&6
     7081else
     7082  ac_check_lib_save_LIBS=$LIBS
     7083LIBS="-lm  $LIBS"
     7084cat >conftest.$ac_ext <<_ACEOF
     7085/* confdefs.h.  */
     7086_ACEOF
     7087cat confdefs.h >>conftest.$ac_ext
     7088cat >>conftest.$ac_ext <<_ACEOF
     7089/* end confdefs.h.  */
     7090
     7091
     7092int
     7093main ()
     7094{
     7095main ();
     7096  ;
     7097  return 0;
     7098}
     7099_ACEOF
     7100rm -f conftest.$ac_objext conftest$ac_exeext
     7101if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7102  (eval $ac_link) 2>conftest.er1
     7103  ac_status=$?
     7104  grep -v '^ *+' conftest.er1 >conftest.err
     7105  rm -f conftest.er1
     7106  cat conftest.err >&5
     7107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7108  (exit $ac_status); } &&
     7109         { ac_try='test -z "$ac_c_werror_flag"
     7110                         || test ! -s conftest.err'
     7111  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7112  (eval $ac_try) 2>&5
     7113  ac_status=$?
     7114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7115  (exit $ac_status); }; } &&
     7116         { ac_try='test -s conftest$ac_exeext'
     7117  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7118  (eval $ac_try) 2>&5
     7119  ac_status=$?
     7120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7121  (exit $ac_status); }; }; then
     7122  ac_cv_lib_m_main=yes
     7123else
     7124  echo "$as_me: failed program was:" >&5
     7125sed 's/^/| /' conftest.$ac_ext >&5
     7126
     7127ac_cv_lib_m_main=no
     7128fi
     7129rm -f conftest.err conftest.$ac_objext \
     7130      conftest$ac_exeext conftest.$ac_ext
     7131LIBS=$ac_check_lib_save_LIBS
     7132fi
     7133echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     7134echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     7135if test $ac_cv_lib_m_main = yes; then
     7136  cat >>confdefs.h <<_ACEOF
     7137#define HAVE_LIBM 1
     7138_ACEOF
     7139
     7140  LIBS="-lm $LIBS"
     7141
     7142fi
     7143
     7144
     7145
     7146# Checks for header files.
     7147echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     7148echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     7149if test "${ac_cv_header_stdc+set}" = set; then
     7150  echo $ECHO_N "(cached) $ECHO_C" >&6
     7151else
     7152  cat >conftest.$ac_ext <<_ACEOF
     7153/* confdefs.h.  */
     7154_ACEOF
     7155cat confdefs.h >>conftest.$ac_ext
     7156cat >>conftest.$ac_ext <<_ACEOF
     7157/* end confdefs.h.  */
     7158#include <stdlib.h>
     7159#include <stdarg.h>
     7160#include <string.h>
     7161#include <float.h>
     7162
     7163int
     7164main ()
     7165{
     7166
     7167  ;
     7168  return 0;
     7169}
     7170_ACEOF
     7171rm -f conftest.$ac_objext
     7172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7173  (eval $ac_compile) 2>conftest.er1
     7174  ac_status=$?
     7175  grep -v '^ *+' conftest.er1 >conftest.err
     7176  rm -f conftest.er1
     7177  cat conftest.err >&5
     7178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7179  (exit $ac_status); } &&
     7180         { ac_try='test -z "$ac_c_werror_flag"
     7181                         || test ! -s conftest.err'
     7182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7183  (eval $ac_try) 2>&5
     7184  ac_status=$?
     7185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7186  (exit $ac_status); }; } &&
     7187         { ac_try='test -s conftest.$ac_objext'
     7188  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7189  (eval $ac_try) 2>&5
     7190  ac_status=$?
     7191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7192  (exit $ac_status); }; }; then
     7193  ac_cv_header_stdc=yes
     7194else
     7195  echo "$as_me: failed program was:" >&5
     7196sed 's/^/| /' conftest.$ac_ext >&5
     7197
     7198ac_cv_header_stdc=no
     7199fi
     7200rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7201
     7202if test $ac_cv_header_stdc = yes; then
     7203  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     7204  cat >conftest.$ac_ext <<_ACEOF
     7205/* confdefs.h.  */
     7206_ACEOF
     7207cat confdefs.h >>conftest.$ac_ext
     7208cat >>conftest.$ac_ext <<_ACEOF
     7209/* end confdefs.h.  */
     7210#include <string.h>
     7211
     7212_ACEOF
     7213if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7214  $EGREP "memchr" >/dev/null 2>&1; then
     7215  :
     7216else
     7217  ac_cv_header_stdc=no
     7218fi
     7219rm -f conftest*
     7220
     7221fi
     7222
     7223if test $ac_cv_header_stdc = yes; then
     7224  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     7225  cat >conftest.$ac_ext <<_ACEOF
     7226/* confdefs.h.  */
     7227_ACEOF
     7228cat confdefs.h >>conftest.$ac_ext
     7229cat >>conftest.$ac_ext <<_ACEOF
     7230/* end confdefs.h.  */
     7231#include <stdlib.h>
     7232
     7233_ACEOF
     7234if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7235  $EGREP "free" >/dev/null 2>&1; then
     7236  :
     7237else
     7238  ac_cv_header_stdc=no
     7239fi
     7240rm -f conftest*
     7241
     7242fi
     7243
     7244if test $ac_cv_header_stdc = yes; then
     7245  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     7246  if test "$cross_compiling" = yes; then
     7247  :
     7248else
     7249  cat >conftest.$ac_ext <<_ACEOF
     7250/* confdefs.h.  */
     7251_ACEOF
     7252cat confdefs.h >>conftest.$ac_ext
     7253cat >>conftest.$ac_ext <<_ACEOF
     7254/* end confdefs.h.  */
     7255#include <ctype.h>
     7256#if ((' ' & 0x0FF) == 0x020)
     7257# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     7258# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     7259#else
     7260# define ISLOWER(c) \
     7261                   (('a' <= (c) && (c) <= 'i') \
     7262                     || ('j' <= (c) && (c) <= 'r') \
     7263                     || ('s' <= (c) && (c) <= 'z'))
     7264# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     7265#endif
     7266
     7267#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     7268int
     7269main ()
     7270{
     7271  int i;
     7272  for (i = 0; i < 256; i++)
     7273    if (XOR (islower (i), ISLOWER (i))
     7274        || toupper (i) != TOUPPER (i))
     7275      exit(2);
     7276  exit (0);
     7277}
     7278_ACEOF
     7279rm -f conftest$ac_exeext
     7280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7281  (eval $ac_link) 2>&5
     7282  ac_status=$?
     7283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7284  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     7285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7286  (eval $ac_try) 2>&5
     7287  ac_status=$?
     7288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7289  (exit $ac_status); }; }; then
     7290  :
     7291else
     7292  echo "$as_me: program exited with status $ac_status" >&5
     7293echo "$as_me: failed program was:" >&5
     7294sed 's/^/| /' conftest.$ac_ext >&5
     7295
     7296( exit $ac_status )
     7297ac_cv_header_stdc=no
     7298fi
     7299rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7300fi
     7301fi
     7302fi
     7303echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     7304echo "${ECHO_T}$ac_cv_header_stdc" >&6
     7305if test $ac_cv_header_stdc = yes; then
     7306
     7307cat >>confdefs.h <<\_ACEOF
     7308#define STDC_HEADERS 1
     7309_ACEOF
     7310
     7311fi
     7312
     7313
     7314
     7315for ac_header in stdlib.h string.h
    69587316do
    69597317as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    70997457#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    71007458_ACEOF
    7101  pthreadHeader="yes"
    7102 else
    7103   pthreadHeader="no"
     7459
    71047460fi
    71057461
    71067462done
    71077463
    7108   echo "$as_me:$LINENO: checking for main in -lpthread" >&5
    7109 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
    7110 if test "${ac_cv_lib_pthread_main+set}" = set; then
     7464
     7465# Checks for typedefs, structures, and compiler characteristics.
     7466echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
     7467echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
     7468if test "${ac_cv_header_stdbool_h+set}" = set; then
    71117469  echo $ECHO_N "(cached) $ECHO_C" >&6
    71127470else
    7113   ac_check_lib_save_LIBS=$LIBS
    7114 LIBS="-lpthread  $LIBS"
    7115 cat >conftest.$ac_ext <<_ACEOF
     7471  cat >conftest.$ac_ext <<_ACEOF
    71167472/* confdefs.h.  */
    71177473_ACEOF
     
    71207476/* end confdefs.h.  */
    71217477
     7478#include <stdbool.h>
     7479#ifndef bool
     7480# error bool is not defined
     7481#endif
     7482#ifndef false
     7483# error false is not defined
     7484#endif
     7485#if false
     7486# error false is not 0
     7487#endif
     7488#ifndef true
     7489# error true is not defined
     7490#endif
     7491#if true != 1
     7492# error true is not 1
     7493#endif
     7494#ifndef __bool_true_false_are_defined
     7495# error __bool_true_false_are_defined is not defined
     7496#endif
     7497
     7498        struct s { _Bool s: 1; _Bool t; } s;
     7499
     7500        char a[true == 1 ? 1 : -1];
     7501        char b[false == 0 ? 1 : -1];
     7502        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     7503        char d[(bool) -0.5 == true ? 1 : -1];
     7504        bool e = &s;
     7505        char f[(_Bool) -0.0 == false ? 1 : -1];
     7506        char g[true];
     7507        char h[sizeof (_Bool)];
     7508        char i[sizeof s.t];
    71227509
    71237510int
    71247511main ()
    71257512{
    7126 main ();
     7513 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
    71277514  ;
    71287515  return 0;
    71297516}
    71307517_ACEOF
    7131 rm -f conftest.$ac_objext conftest$ac_exeext
    7132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7133   (eval $ac_link) 2>conftest.er1
     7518rm -f conftest.$ac_objext
     7519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7520  (eval $ac_compile) 2>conftest.er1
    71347521  ac_status=$?
    71357522  grep -v '^ *+' conftest.er1 >conftest.err
     
    71457532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71467533  (exit $ac_status); }; } &&
    7147          { ac_try='test -s conftest$ac_exeext'
     7534         { ac_try='test -s conftest.$ac_objext'
    71487535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    71497536  (eval $ac_try) 2>&5
     
    71517538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71527539  (exit $ac_status); }; }; then
    7153   ac_cv_lib_pthread_main=yes
     7540  ac_cv_header_stdbool_h=yes
    71547541else
    71557542  echo "$as_me: failed program was:" >&5
    71567543sed 's/^/| /' conftest.$ac_ext >&5
    71577544
    7158 ac_cv_lib_pthread_main=no
    7159 fi
    7160 rm -f conftest.err conftest.$ac_objext \
    7161       conftest$ac_exeext conftest.$ac_ext
    7162 LIBS=$ac_check_lib_save_LIBS
    7163 fi
    7164 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
    7165 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
    7166 if test $ac_cv_lib_pthread_main = yes; then
    7167   FOUND_pthread=yes
    7168 fi
    7169 
    7170    if test x$FOUND_pthread = xyes ; then
    7171       LIBS="$LIBS -lpthread"
    7172    fi
    7173  fi
    7174 fi
    7175 
    7176 
    7177 #--------#
    7178 # efence #
    7179 #--------#
    7180 if test x$def_efence = xyes ; then
    7181   echo "$as_me:$LINENO: checking for main in -lefence" >&5
    7182 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6
    7183 if test "${ac_cv_lib_efence_main+set}" = set; then
     7545ac_cv_header_stdbool_h=no
     7546fi
     7547rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7548fi
     7549echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     7550echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
     7551echo "$as_me:$LINENO: checking for _Bool" >&5
     7552echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
     7553if test "${ac_cv_type__Bool+set}" = set; then
    71847554  echo $ECHO_N "(cached) $ECHO_C" >&6
    71857555else
    7186   ac_check_lib_save_LIBS=$LIBS
    7187 LIBS="-lefence  $LIBS"
    7188 cat >conftest.$ac_ext <<_ACEOF
     7556  cat >conftest.$ac_ext <<_ACEOF
    71897557/* confdefs.h.  */
    71907558_ACEOF
     
    71927560cat >>conftest.$ac_ext <<_ACEOF
    71937561/* end confdefs.h.  */
    7194 
    7195 
     7562$ac_includes_default
    71967563int
    71977564main ()
    71987565{
    7199 main ();
     7566if ((_Bool *) 0)
     7567  return 0;
     7568if (sizeof (_Bool))
     7569  return 0;
    72007570  ;
    72017571  return 0;
    72027572}
    72037573_ACEOF
    7204 rm -f conftest.$ac_objext conftest$ac_exeext
    7205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7206   (eval $ac_link) 2>conftest.er1
     7574rm -f conftest.$ac_objext
     7575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7576  (eval $ac_compile) 2>conftest.er1
    72077577  ac_status=$?
    72087578  grep -v '^ *+' conftest.er1 >conftest.err
     
    72187588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72197589  (exit $ac_status); }; } &&
    7220          { ac_try='test -s conftest$ac_exeext'
    7221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7222   (eval $ac_try) 2>&5
    7223   ac_status=$?
    7224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7225   (exit $ac_status); }; }; then
    7226   ac_cv_lib_efence_main=yes
    7227 else
    7228   echo "$as_me: failed program was:" >&5
    7229 sed 's/^/| /' conftest.$ac_ext >&5
    7230 
    7231 ac_cv_lib_efence_main=no
    7232 fi
    7233 rm -f conftest.err conftest.$ac_objext \
    7234       conftest$ac_exeext conftest.$ac_ext
    7235 LIBS=$ac_check_lib_save_LIBS
    7236 fi
    7237 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5
    7238 echo "${ECHO_T}$ac_cv_lib_efence_main" >&6
    7239 if test $ac_cv_lib_efence_main = yes; then
    7240   FOUND_efence=yes
    7241 fi
    7242 
    7243    if test x$FOUND_efence = xyes ; then
    7244       LIBS="$LIBS -lefence"
    7245    fi
    7246 
    7247 fi
    7248 
    7249 # FIXME: Replace `main' with a function in `-lm':
    7250 
    7251 echo "$as_me:$LINENO: checking for main in -lm" >&5
    7252 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    7253 if test "${ac_cv_lib_m_main+set}" = set; then
    7254   echo $ECHO_N "(cached) $ECHO_C" >&6
    7255 else
    7256   ac_check_lib_save_LIBS=$LIBS
    7257 LIBS="-lm  $LIBS"
    7258 cat >conftest.$ac_ext <<_ACEOF
    7259 /* confdefs.h.  */
    7260 _ACEOF
    7261 cat confdefs.h >>conftest.$ac_ext
    7262 cat >>conftest.$ac_ext <<_ACEOF
    7263 /* end confdefs.h.  */
    7264 
    7265 
    7266 int
    7267 main ()
    7268 {
    7269 main ();
    7270   ;
    7271   return 0;
    7272 }
    7273 _ACEOF
    7274 rm -f conftest.$ac_objext conftest$ac_exeext
    7275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7276   (eval $ac_link) 2>conftest.er1
    7277   ac_status=$?
    7278   grep -v '^ *+' conftest.er1 >conftest.err
    7279   rm -f conftest.er1
    7280   cat conftest.err >&5
    7281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7282   (exit $ac_status); } &&
    7283          { ac_try='test -z "$ac_c_werror_flag"
    7284                          || test ! -s conftest.err'
    7285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7286   (eval $ac_try) 2>&5
    7287   ac_status=$?
    7288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7289   (exit $ac_status); }; } &&
    7290          { ac_try='test -s conftest$ac_exeext'
    7291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7292   (eval $ac_try) 2>&5
    7293   ac_status=$?
    7294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7295   (exit $ac_status); }; }; then
    7296   ac_cv_lib_m_main=yes
    7297 else
    7298   echo "$as_me: failed program was:" >&5
    7299 sed 's/^/| /' conftest.$ac_ext >&5
    7300 
    7301 ac_cv_lib_m_main=no
    7302 fi
    7303 rm -f conftest.err conftest.$ac_objext \
    7304       conftest$ac_exeext conftest.$ac_ext
    7305 LIBS=$ac_check_lib_save_LIBS
    7306 fi
    7307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    7308 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    7309 if test $ac_cv_lib_m_main = yes; then
    7310   cat >>confdefs.h <<_ACEOF
    7311 #define HAVE_LIBM 1
    7312 _ACEOF
    7313 
    7314   LIBS="-lm $LIBS"
    7315 
    7316 fi
    7317 
    7318 
    7319 
    7320 # Checks for header files.
    7321 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    7322 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    7323 if test "${ac_cv_header_stdc+set}" = set; then
    7324   echo $ECHO_N "(cached) $ECHO_C" >&6
    7325 else
    7326   cat >conftest.$ac_ext <<_ACEOF
    7327 /* confdefs.h.  */
    7328 _ACEOF
    7329 cat confdefs.h >>conftest.$ac_ext
    7330 cat >>conftest.$ac_ext <<_ACEOF
    7331 /* end confdefs.h.  */
    7332 #include <stdlib.h>
    7333 #include <stdarg.h>
    7334 #include <string.h>
    7335 #include <float.h>
    7336 
    7337 int
    7338 main ()
    7339 {
    7340 
    7341   ;
    7342   return 0;
    7343 }
    7344 _ACEOF
    7345 rm -f conftest.$ac_objext
    7346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7347   (eval $ac_compile) 2>conftest.er1
    7348   ac_status=$?
    7349   grep -v '^ *+' conftest.er1 >conftest.err
    7350   rm -f conftest.er1
    7351   cat conftest.err >&5
    7352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7353   (exit $ac_status); } &&
    7354          { ac_try='test -z "$ac_c_werror_flag"
    7355                          || test ! -s conftest.err'
    7356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7357   (eval $ac_try) 2>&5
    7358   ac_status=$?
    7359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7360   (exit $ac_status); }; } &&
    73617590         { ac_try='test -s conftest.$ac_objext'
    73627591  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    73657594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73667595  (exit $ac_status); }; }; then
    7367   ac_cv_header_stdc=yes
     7596  ac_cv_type__Bool=yes
    73687597else
    73697598  echo "$as_me: failed program was:" >&5
    73707599sed 's/^/| /' conftest.$ac_ext >&5
    73717600
    7372 ac_cv_header_stdc=no
     7601ac_cv_type__Bool=no
    73737602fi
    73747603rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7375 
    7376 if test $ac_cv_header_stdc = yes; then
    7377   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    7378   cat >conftest.$ac_ext <<_ACEOF
    7379 /* confdefs.h.  */
    7380 _ACEOF
    7381 cat confdefs.h >>conftest.$ac_ext
    7382 cat >>conftest.$ac_ext <<_ACEOF
    7383 /* end confdefs.h.  */
    7384 #include <string.h>
    7385 
    7386 _ACEOF
    7387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7388   $EGREP "memchr" >/dev/null 2>&1; then
    7389   :
    7390 else
    7391   ac_cv_header_stdc=no
    7392 fi
    7393 rm -f conftest*
    7394 
    7395 fi
    7396 
    7397 if test $ac_cv_header_stdc = yes; then
    7398   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    7399   cat >conftest.$ac_ext <<_ACEOF
    7400 /* confdefs.h.  */
    7401 _ACEOF
    7402 cat confdefs.h >>conftest.$ac_ext
    7403 cat >>conftest.$ac_ext <<_ACEOF
    7404 /* end confdefs.h.  */
    7405 #include <stdlib.h>
    7406 
    7407 _ACEOF
    7408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7409   $EGREP "free" >/dev/null 2>&1; then
    7410   :
    7411 else
    7412   ac_cv_header_stdc=no
    7413 fi
    7414 rm -f conftest*
    7415 
    7416 fi
    7417 
    7418 if test $ac_cv_header_stdc = yes; then
    7419   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    7420   if test "$cross_compiling" = yes; then
    7421   :
    7422 else
    7423   cat >conftest.$ac_ext <<_ACEOF
    7424 /* confdefs.h.  */
    7425 _ACEOF
    7426 cat confdefs.h >>conftest.$ac_ext
    7427 cat >>conftest.$ac_ext <<_ACEOF
    7428 /* end confdefs.h.  */
    7429 #include <ctype.h>
    7430 #if ((' ' & 0x0FF) == 0x020)
    7431 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    7432 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    7433 #else
    7434 # define ISLOWER(c) \
    7435                    (('a' <= (c) && (c) <= 'i') \
    7436                      || ('j' <= (c) && (c) <= 'r') \
    7437                      || ('s' <= (c) && (c) <= 'z'))
    7438 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    7439 #endif
    7440 
    7441 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    7442 int
    7443 main ()
    7444 {
    7445   int i;
    7446   for (i = 0; i < 256; i++)
    7447     if (XOR (islower (i), ISLOWER (i))
    7448         || toupper (i) != TOUPPER (i))
    7449       exit(2);
    7450   exit (0);
    7451 }
    7452 _ACEOF
    7453 rm -f conftest$ac_exeext
    7454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7455   (eval $ac_link) 2>&5
    7456   ac_status=$?
    7457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7458   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7460   (eval $ac_try) 2>&5
    7461   ac_status=$?
    7462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7463   (exit $ac_status); }; }; then
    7464   :
    7465 else
    7466   echo "$as_me: program exited with status $ac_status" >&5
    7467 echo "$as_me: failed program was:" >&5
    7468 sed 's/^/| /' conftest.$ac_ext >&5
    7469 
    7470 ( exit $ac_status )
    7471 ac_cv_header_stdc=no
    7472 fi
    7473 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7474 fi
    7475 fi
    7476 fi
    7477 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    7478 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    7479 if test $ac_cv_header_stdc = yes; then
     7604fi
     7605echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     7606echo "${ECHO_T}$ac_cv_type__Bool" >&6
     7607if test $ac_cv_type__Bool = yes; then
     7608
     7609cat >>confdefs.h <<_ACEOF
     7610#define HAVE__BOOL 1
     7611_ACEOF
     7612
     7613
     7614fi
     7615
     7616if test $ac_cv_header_stdbool_h = yes; then
    74807617
    74817618cat >>confdefs.h <<\_ACEOF
    7482 #define STDC_HEADERS 1
    7483 _ACEOF
    7484 
    7485 fi
    7486 
    7487 
    7488 
    7489 for ac_header in stdlib.h string.h
     7619#define HAVE_STDBOOL_H 1
     7620_ACEOF
     7621
     7622fi
     7623
     7624
     7625# Checks for library functions.
     7626
     7627for ac_header in stdlib.h
    74907628do
    74917629as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    76367774done
    76377775
    7638 
    7639 # Checks for typedefs, structures, and compiler characteristics.
    7640 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
    7641 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
    7642 if test "${ac_cv_header_stdbool_h+set}" = set; then
    7643   echo $ECHO_N "(cached) $ECHO_C" >&6
    7644 else
    7645   cat >conftest.$ac_ext <<_ACEOF
    7646 /* confdefs.h.  */
    7647 _ACEOF
    7648 cat confdefs.h >>conftest.$ac_ext
    7649 cat >>conftest.$ac_ext <<_ACEOF
    7650 /* end confdefs.h.  */
    7651 
    7652 #include <stdbool.h>
    7653 #ifndef bool
    7654 # error bool is not defined
    7655 #endif
    7656 #ifndef false
    7657 # error false is not defined
    7658 #endif
    7659 #if false
    7660 # error false is not 0
    7661 #endif
    7662 #ifndef true
    7663 # error true is not defined
    7664 #endif
    7665 #if true != 1
    7666 # error true is not 1
    7667 #endif
    7668 #ifndef __bool_true_false_are_defined
    7669 # error __bool_true_false_are_defined is not defined
    7670 #endif
    7671 
    7672         struct s { _Bool s: 1; _Bool t; } s;
    7673 
    7674         char a[true == 1 ? 1 : -1];
    7675         char b[false == 0 ? 1 : -1];
    7676         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    7677         char d[(bool) -0.5 == true ? 1 : -1];
    7678         bool e = &s;
    7679         char f[(_Bool) -0.0 == false ? 1 : -1];
    7680         char g[true];
    7681         char h[sizeof (_Bool)];
    7682         char i[sizeof s.t];
    7683 
    7684 int
    7685 main ()
    7686 {
    7687  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
    7688   ;
    7689   return 0;
    7690 }
    7691 _ACEOF
    7692 rm -f conftest.$ac_objext
    7693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7694   (eval $ac_compile) 2>conftest.er1
    7695   ac_status=$?
    7696   grep -v '^ *+' conftest.er1 >conftest.err
    7697   rm -f conftest.er1
    7698   cat conftest.err >&5
    7699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7700   (exit $ac_status); } &&
    7701          { ac_try='test -z "$ac_c_werror_flag"
    7702                          || test ! -s conftest.err'
    7703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7704   (eval $ac_try) 2>&5
    7705   ac_status=$?
    7706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7707   (exit $ac_status); }; } &&
    7708          { ac_try='test -s conftest.$ac_objext'
    7709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7710   (eval $ac_try) 2>&5
    7711   ac_status=$?
    7712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7713   (exit $ac_status); }; }; then
    7714   ac_cv_header_stdbool_h=yes
    7715 else
    7716   echo "$as_me: failed program was:" >&5
    7717 sed 's/^/| /' conftest.$ac_ext >&5
    7718 
    7719 ac_cv_header_stdbool_h=no
    7720 fi
    7721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7722 fi
    7723 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
    7724 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
    7725 echo "$as_me:$LINENO: checking for _Bool" >&5
    7726 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
    7727 if test "${ac_cv_type__Bool+set}" = set; then
    7728   echo $ECHO_N "(cached) $ECHO_C" >&6
    7729 else
    7730   cat >conftest.$ac_ext <<_ACEOF
    7731 /* confdefs.h.  */
    7732 _ACEOF
    7733 cat confdefs.h >>conftest.$ac_ext
    7734 cat >>conftest.$ac_ext <<_ACEOF
    7735 /* end confdefs.h.  */
    7736 $ac_includes_default
    7737 int
    7738 main ()
    7739 {
    7740 if ((_Bool *) 0)
    7741   return 0;
    7742 if (sizeof (_Bool))
    7743   return 0;
    7744   ;
    7745   return 0;
    7746 }
    7747 _ACEOF
    7748 rm -f conftest.$ac_objext
    7749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7750   (eval $ac_compile) 2>conftest.er1
    7751   ac_status=$?
    7752   grep -v '^ *+' conftest.er1 >conftest.err
    7753   rm -f conftest.er1
    7754   cat conftest.err >&5
    7755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7756   (exit $ac_status); } &&
    7757          { ac_try='test -z "$ac_c_werror_flag"
    7758                          || test ! -s conftest.err'
    7759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7760   (eval $ac_try) 2>&5
    7761   ac_status=$?
    7762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7763   (exit $ac_status); }; } &&
    7764          { ac_try='test -s conftest.$ac_objext'
    7765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7766   (eval $ac_try) 2>&5
    7767   ac_status=$?
    7768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7769   (exit $ac_status); }; }; then
    7770   ac_cv_type__Bool=yes
    7771 else
    7772   echo "$as_me: failed program was:" >&5
    7773 sed 's/^/| /' conftest.$ac_ext >&5
    7774 
    7775 ac_cv_type__Bool=no
    7776 fi
    7777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7778 fi
    7779 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
    7780 echo "${ECHO_T}$ac_cv_type__Bool" >&6
    7781 if test $ac_cv_type__Bool = yes; then
    7782 
    7783 cat >>confdefs.h <<_ACEOF
    7784 #define HAVE__BOOL 1
    7785 _ACEOF
    7786 
    7787 
    7788 fi
    7789 
    7790 if test $ac_cv_header_stdbool_h = yes; then
    7791 
    7792 cat >>confdefs.h <<\_ACEOF
    7793 #define HAVE_STDBOOL_H 1
    7794 _ACEOF
    7795 
    7796 fi
    7797 
    7798 
    7799 # Checks for library functions.
    7800 
    7801 for ac_header in stdlib.h
    7802 do
    7803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    7805   echo "$as_me:$LINENO: checking for $ac_header" >&5
    7806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    7807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    7808   echo $ECHO_N "(cached) $ECHO_C" >&6
    7809 fi
    7810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    7811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    7812 else
    7813   # Is the header compilable?
    7814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    7816 cat >conftest.$ac_ext <<_ACEOF
    7817 /* confdefs.h.  */
    7818 _ACEOF
    7819 cat confdefs.h >>conftest.$ac_ext
    7820 cat >>conftest.$ac_ext <<_ACEOF
    7821 /* end confdefs.h.  */
    7822 $ac_includes_default
    7823 #include <$ac_header>
    7824 _ACEOF
    7825 rm -f conftest.$ac_objext
    7826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7827   (eval $ac_compile) 2>conftest.er1
    7828   ac_status=$?
    7829   grep -v '^ *+' conftest.er1 >conftest.err
    7830   rm -f conftest.er1
    7831   cat conftest.err >&5
    7832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7833   (exit $ac_status); } &&
    7834          { ac_try='test -z "$ac_c_werror_flag"
    7835                          || test ! -s conftest.err'
    7836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7837   (eval $ac_try) 2>&5
    7838   ac_status=$?
    7839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7840   (exit $ac_status); }; } &&
    7841          { ac_try='test -s conftest.$ac_objext'
    7842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7843   (eval $ac_try) 2>&5
    7844   ac_status=$?
    7845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7846   (exit $ac_status); }; }; then
    7847   ac_header_compiler=yes
    7848 else
    7849   echo "$as_me: failed program was:" >&5
    7850 sed 's/^/| /' conftest.$ac_ext >&5
    7851 
    7852 ac_header_compiler=no
    7853 fi
    7854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7856 echo "${ECHO_T}$ac_header_compiler" >&6
    7857 
    7858 # Is the header present?
    7859 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    7861 cat >conftest.$ac_ext <<_ACEOF
    7862 /* confdefs.h.  */
    7863 _ACEOF
    7864 cat confdefs.h >>conftest.$ac_ext
    7865 cat >>conftest.$ac_ext <<_ACEOF
    7866 /* end confdefs.h.  */
    7867 #include <$ac_header>
    7868 _ACEOF
    7869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    7870   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    7871   ac_status=$?
    7872   grep -v '^ *+' conftest.er1 >conftest.err
    7873   rm -f conftest.er1
    7874   cat conftest.err >&5
    7875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7876   (exit $ac_status); } >/dev/null; then
    7877   if test -s conftest.err; then
    7878     ac_cpp_err=$ac_c_preproc_warn_flag
    7879     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    7880   else
    7881     ac_cpp_err=
    7882   fi
    7883 else
    7884   ac_cpp_err=yes
    7885 fi
    7886 if test -z "$ac_cpp_err"; then
    7887   ac_header_preproc=yes
    7888 else
    7889   echo "$as_me: failed program was:" >&5
    7890 sed 's/^/| /' conftest.$ac_ext >&5
    7891 
    7892   ac_header_preproc=no
    7893 fi
    7894 rm -f conftest.err conftest.$ac_ext
    7895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7896 echo "${ECHO_T}$ac_header_preproc" >&6
    7897 
    7898 # So?  What about this header?
    7899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    7900   yes:no: )
    7901     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7903     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7905     ac_header_preproc=yes
    7906     ;;
    7907   no:yes:* )
    7908     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7910     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7911 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7912     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7914     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7915 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7918     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7920     (
    7921       cat <<\_ASBOX
    7922 ## ---------------------------------------------- ##
    7923 ## Report this to orxonox-dev at mail.datacore.ch ##
    7924 ## ---------------------------------------------- ##
    7925 _ASBOX
    7926     ) |
    7927       sed "s/^/$as_me: WARNING:     /" >&2
    7928     ;;
    7929 esac
    7930 echo "$as_me:$LINENO: checking for $ac_header" >&5
    7931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    7932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    7933   echo $ECHO_N "(cached) $ECHO_C" >&6
    7934 else
    7935   eval "$as_ac_Header=\$ac_header_preproc"
    7936 fi
    7937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    7938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    7939 
    7940 fi
    7941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    7942   cat >>confdefs.h <<_ACEOF
    7943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7944 _ACEOF
    7945 
    7946 fi
    7947 
    7948 done
    7949 
    79507776echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
    79517777echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
     
    82768102Usually this means the macro was only invoked conditionally." >&5
    82778103echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined.
    8278 Usually this means the macro was only invoked conditionally." >&2;}
    8279    { (exit 1); exit 1; }; }
    8280 fi
    8281 if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then
    8282   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined.
    8283 Usually this means the macro was only invoked conditionally." >&5
    8284 echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined.
    82858104Usually this means the macro was only invoked conditionally." >&2;}
    82868105   { (exit 1); exit 1; }; }
     
    88828701s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
    88838702s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
     8703s,@RANLIB@,$RANLIB,;t t
     8704s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    88848705s,@CC@,$CC,;t t
    88858706s,@CFLAGS@,$CFLAGS,;t t
     
    88998720s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t
    89008721s,@GPROF@,$GPROF,;t t
     8722s,@PKG_CONFIG@,$PKG_CONFIG,;t t
    89018723s,@MSBITFIELDS@,$MSBITFIELDS,;t t
    89028724s,@GTK2_LIBS@,$GTK2_LIBS,;t t
     
    89048726s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t
    89058727s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t
    8906 s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
    8907 s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
    8908 s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t
    8909 s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t
    89108728s,@CURL_LIBS@,$CURL_LIBS,;t t
    89118729s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t
Note: See TracChangeset for help on using the changeset viewer.