Diff for /parser3/configure between versions 1.173 and 1.176

version 1.173, 2015/04/21 21:47:32 version 1.176, 2015/09/03 17:34:13
Line 18591  $as_echo "no" >&6; } Line 18591  $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 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 18614  $as_echo "no" >&6; } Line 18614  $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 18637  $as_echo "no" >&6; } Line 18637  $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
   
   
   

Removed from v.1.173  
changed lines
  Added in v.1.176


E-mail: