Diff for /parser3/configure between versions 1.170 and 1.177

version 1.170, 2014/08/28 17:33:26 version 1.177, 2015/09/03 17:59:55
Line 817  with_included_ltdl Line 817  with_included_ltdl
 with_ltdl_include  with_ltdl_include
 with_ltdl_lib  with_ltdl_lib
 enable_ltdl_install  enable_ltdl_install
   enable_largefile
 '  '
       ac_precious_vars='build_alias        ac_precious_vars='build_alias
 host_alias  host_alias
Line 1465  Optional Features: Line 1466  Optional Features:
                           optimize for fast installation [default=yes]                            optimize for fast installation [default=yes]
   --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
   --enable-ltdl-install   install libltdl    --enable-ltdl-install   install libltdl
     --disable-largefile     omit support for large files
   
 Optional Packages:  Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
Line 17710  fi Line 17712  fi
   
   
   
   # Check whether --enable-largefile was given.
   if test "${enable_largefile+set}" = set; then :
     enableval=$enable_largefile;
   fi
   
   if test "$enable_largefile" != no; then
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   if ${ac_cv_sys_largefile_CC+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_cv_sys_largefile_CC=no
        if test "$GCC" != yes; then
          ac_save_CC=$CC
          while :; do
            # IRIX 6.2 and later do not support large files by default,
            # so use the C compiler's -n32 option if that helps.
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <sys/types.h>
    /* Check that off_t can represent 2**63 - 1 correctly.
       We can't simply define LARGE_OFF_T to be 9223372036854775807,
       since some C++ compilers masquerading as C compilers
       incorrectly reject 9223372036854775807.  */
   #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                          && LARGE_OFF_T % 2147483647 == 1)
                         ? 1 : -1];
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
            if ac_fn_c_try_compile "$LINENO"; then :
     break
   fi
   rm -f core conftest.err conftest.$ac_objext
            CC="$CC -n32"
            if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_sys_largefile_CC=' -n32'; break
   fi
   rm -f core conftest.err conftest.$ac_objext
            break
          done
          CC=$ac_save_CC
          rm -f conftest.$ac_ext
       fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   $as_echo "$ac_cv_sys_largefile_CC" >&6; }
     if test "$ac_cv_sys_largefile_CC" != no; then
       CC=$CC$ac_cv_sys_largefile_CC
     fi
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   if ${ac_cv_sys_file_offset_bits+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     while :; do
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <sys/types.h>
    /* Check that off_t can represent 2**63 - 1 correctly.
       We can't simply define LARGE_OFF_T to be 9223372036854775807,
       since some C++ compilers masquerading as C compilers
       incorrectly reject 9223372036854775807.  */
   #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                          && LARGE_OFF_T % 2147483647 == 1)
                         ? 1 : -1];
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_sys_file_offset_bits=no; break
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #define _FILE_OFFSET_BITS 64
   #include <sys/types.h>
    /* Check that off_t can represent 2**63 - 1 correctly.
       We can't simply define LARGE_OFF_T to be 9223372036854775807,
       since some C++ compilers masquerading as C compilers
       incorrectly reject 9223372036854775807.  */
   #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                          && LARGE_OFF_T % 2147483647 == 1)
                         ? 1 : -1];
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_sys_file_offset_bits=64; break
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     ac_cv_sys_file_offset_bits=unknown
     break
   done
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   case $ac_cv_sys_file_offset_bits in #(
     no | unknown) ;;
     *)
   cat >>confdefs.h <<_ACEOF
   #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   _ACEOF
   ;;
   esac
   rm -rf conftest*
     if test $ac_cv_sys_file_offset_bits = unknown; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   if ${ac_cv_sys_large_files+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     while :; do
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <sys/types.h>
    /* Check that off_t can represent 2**63 - 1 correctly.
       We can't simply define LARGE_OFF_T to be 9223372036854775807,
       since some C++ compilers masquerading as C compilers
       incorrectly reject 9223372036854775807.  */
   #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                          && LARGE_OFF_T % 2147483647 == 1)
                         ? 1 : -1];
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_sys_large_files=no; break
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #define _LARGE_FILES 1
   #include <sys/types.h>
    /* Check that off_t can represent 2**63 - 1 correctly.
       We can't simply define LARGE_OFF_T to be 9223372036854775807,
       since some C++ compilers masquerading as C compilers
       incorrectly reject 9223372036854775807.  */
   #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                          && LARGE_OFF_T % 2147483647 == 1)
                         ? 1 : -1];
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_sys_large_files=1; break
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     ac_cv_sys_large_files=unknown
     break
   done
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   $as_echo "$ac_cv_sys_large_files" >&6; }
   case $ac_cv_sys_large_files in #(
     no | unknown) ;;
     *)
   cat >>confdefs.h <<_ACEOF
   #define _LARGE_FILES $ac_cv_sys_large_files
   _ACEOF
   ;;
   esac
   rm -rf conftest*
     fi
   
   
   fi
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }  $as_echo_n "checking for ANSI C header files... " >&6; }
 if ${ac_cv_header_stdc+:} false; then :  if ${ac_cv_header_stdc+:} false; then :
Line 18365  done Line 18568  done
   
   
   
   ac_ext=cpp
   ac_cpp='$CXXCPP $CPPFLAGS'
   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
 $as_echo_n "checking for timezone variable... " >&6; }  $as_echo_n "checking for timezone variable... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 18373  cat confdefs.h - <<_ACEOF >conftest.$ac_ Line 18582  cat confdefs.h - <<_ACEOF >conftest.$ac_
 int  int
 main ()  main ()
 {  {
 time_t test=timezone;  int test=timezone;
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_cxx_try_compile "$LINENO"; then :
   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h    $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
Line 18387  else Line 18596  else
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
 $as_echo_n "checking for daylight variable... " >&6; }  $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <time.h>  #include <time.h>
 int  int
 main ()  main ()
 {  {
 int test=daylight;  struct tm tm; tm.tm_gmtoff=0;
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_c_try_compile "$LINENO"; then :
   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h    $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
 else  else
Line 18411  $as_echo "no" >&6; } Line 18626  $as_echo "no" >&6; }
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }  $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <time.h>  #include <time.h>
 int  int
 main ()  main ()
 {  {
 struct tm tm; tm.tm_gmtoff=0;  struct tm tm; tm.tm_tzadj=0;
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_c_try_compile "$LINENO"; then :
   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h    $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
 else  else
Line 18434  $as_echo "no" >&6; } Line 18649  $as_echo "no" >&6; }
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
 $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }  $as_echo_n "checking for 0..9999 year date range support... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  if test "$cross_compiling" = yes; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
   #include <string.h>
 #include <time.h>  #include <time.h>
 int  
 main ()  int main() {
 {          struct tm tmL,tmH;
 struct tm tm; tm.tm_tzadj=0;          memset(&tmL, 0, sizeof(tmL));
   ;          memset(&tmH, 0, sizeof(tmH));
   return 0;          tmL.tm_year=-1900;
           tmL.tm_mon=-1;
           tmH.tm_year=9999-1900;
           tmH.tm_mon=12-1;
           tmH.tm_mday=31;
           return mktime(&tmL)==-1 || mktime(&tmH)==-1;
 }  }
   
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_c_try_run "$LINENO"; then :
   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h    $as_echo "#define PA_DATE64 1" >>confdefs.h
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     conftest.$ac_objext conftest.beam conftest.$ac_ext
   fi
   
   
   
Line 18466  rm -f core conftest.err conftest.$ac_obj Line 18695  rm -f core conftest.err conftest.$ac_obj
 ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"  ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
   
   
 ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/memcached/Makefile src/lib/curl/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"  ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/curl/Makefile src/lib/punycode/Makefile src/lib/memcached/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
   
 cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
Line 19619  do Line 19848  do
     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;      "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;      "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;      "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;  
     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;      "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
       "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
       "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;      "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;      "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;      "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;

Removed from v.1.170  
changed lines
  Added in v.1.177


E-mail: