Diff for /parser3/configure between versions 1.213 and 1.227

version 1.213, 2021/01/20 15:35:26 version 1.227, 2025/01/10 19:38:34
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.69 for parser 3.4.6.  # Generated by GNU Autoconf 2.69 for parser 3.5.1.
 #  #
 #  #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Line 591  MAKEFLAGS= Line 591  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='parser'  PACKAGE_NAME='parser'
 PACKAGE_TARNAME='parser'  PACKAGE_TARNAME='parser'
 PACKAGE_VERSION='3.4.6'  PACKAGE_VERSION='3.5.1'
 PACKAGE_STRING='parser 3.4.6'  PACKAGE_STRING='parser 3.5.1'
 PACKAGE_BUGREPORT=''  PACKAGE_BUGREPORT=''
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 1394  if test "$ac_init_help" = "long"; then Line 1394  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
 \`configure' configures parser 3.4.6 to adapt to many kinds of systems.  \`configure' configures parser 3.5.1 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1465  fi Line 1465  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
      short | recursive ) echo "Configuration of parser 3.4.6:";;       short | recursive ) echo "Configuration of parser 3.5.1:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1609  fi Line 1609  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
 parser configure 3.4.6  parser configure 3.5.1
 generated by GNU Autoconf 2.69  generated by GNU Autoconf 2.69
   
 Copyright (C) 2012 Free Software Foundation, Inc.  Copyright (C) 2012 Free Software Foundation, Inc.
Line 2306  cat >config.log <<_ACEOF Line 2306  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
 It was created by parser $as_me 3.4.6, which was  It was created by parser $as_me 3.5.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 2862  program_transform_name=`$as_echo "$progr Line 2862  program_transform_name=`$as_echo "$progr
 am_aux_dir=`cd "$ac_aux_dir" && pwd`  am_aux_dir=`cd "$ac_aux_dir" && pwd`
   
 if test x"${MISSING+set}" != xset; then  if test x"${MISSING+set}" != xset; then
   case $am_aux_dir in    MISSING="\${SHELL} '$am_aux_dir/missing'"
   *\ * | *\     *)  
     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;  
   *)  
     MISSING="\${SHELL} $am_aux_dir/missing" ;;  
   esac  
 fi  fi
 # Use eval to expand $SHELL  # Use eval to expand $SHELL
 if eval "$MISSING --is-lightweight"; then  if eval "$MISSING --is-lightweight"; then
Line 3172  fi Line 3167  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='parser'   PACKAGE='parser'
  VERSION='3.4.6'   VERSION='3.5.1'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 4909  $as_echo "$dll_extension" >&6; } Line 4904  $as_echo "$dll_extension" >&6; }
 if test "${with_build_warnings+set}" = set; then :  if test "${with_build_warnings+set}" = set; then :
   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5    withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
 $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}  $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
         CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses"          CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses"
   
 fi  fi
   
Line 5102  fi Line 5097  fi
 if test "${with_pcre+set}" = set; then :  if test "${with_pcre+set}" = set; then :
   withval=$with_pcre;    withval=$with_pcre;
         PCRE=$withval          PCRE=$withval
         PCRE_INCLUDES="-I$PCRE/include"  
         PCRE_LIBS="$PCRE/lib/libpcre.la"  
   
         if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then  
                 PCRE_OK="yes"  
         else  
                 PCRE_LIBS="-L$PCRE/lib -lpcre"  
         fi  
   
         if test "$PCRE" = "yes"; then          if test "$PCRE" = "yes"; then
                 PCRE=""                  PCRE=""
                 PCRE_LIBS="-lpcre"  
                 PCRE_INCLUDES=""  
                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
 $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}  $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
           else
                   PCRE_INCLUDES="-I$PCRE/include"
   
                   if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
                           PCRE_OK="yes"
                           PCRE_LIBS="$PCRE/lib/libpcre.la"
                   else
                           if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
                                   PCRE_OK="yes"
                                   PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
   
   $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
   
                           else
                                   PCRE_LIBS="-L$PCRE/lib"
                           fi
                   fi
         fi          fi
   
 else  else
   
         PCRE_LIBS="-lpcre"  
         PCRE_INCLUDES=""  
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
 $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}  $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
   
Line 5130  fi Line 5130  fi
   
   
 if test -z "$PCRE_OK"; then  if test -z "$PCRE_OK"; then
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
 $as_echo_n "checking for prce... " >&6; }  $as_echo_n "checking for pcre2... " >&6; }
           SAVE_LIBS=$LIBS
           LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
    #define PCRE2_CODE_UNIT_WIDTH 8
   #include <pcre2.h>
   int
   main ()
   {
    void *v=pcre2_general_context_create(0,0,0);
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
                   PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
   
   $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
   
                   PCRE_OK="yes"
   
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
           LIBS=$SAVE_LIBS
   fi
   
   if test -z "$PCRE_OK"; then
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
   $as_echo_n "checking for pcre... " >&6; }
           PCRE_LIBS="$PCRE_LIBS -lpcre"
         SAVE_LIBS=$LIBS          SAVE_LIBS=$LIBS
         LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"          LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 18673  fi Line 18710  fi
   
   
   
 for ac_func in flock _locking fcntl lockf ftruncate fchmod  for ac_func in flock fcntl lockf ftruncate fchmod
 do :  do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Line 18685  _ACEOF Line 18722  _ACEOF
 fi  fi
 done  done
   
 for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv  for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv syslog
 do :  do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Line 19551  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 19588  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
 This file was extended by parser $as_me 3.4.6, which was  This file was extended by parser $as_me 3.5.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 19617  _ACEOF Line 19654  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
 parser config.status 3.4.6  parser config.status 3.5.1
 configured by $0, generated by GNU Autoconf 2.69,  configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 20833  $as_echo X/"$am_mf" | Line 20870  $as_echo X/"$am_mf" |
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "Something went wrong bootstrapping makefile fragments  as_fn_error $? "Something went wrong bootstrapping makefile fragments
     for automatic dependency tracking.  Try re-running configure with the      for automatic dependency tracking.  If GNU make was not used, consider
       re-running the configure script with MAKE=\"gmake\" (or whatever is
       necessary).  You can also try re-running configure with the
     '--disable-dependency-tracking' option to at least be able to build      '--disable-dependency-tracking' option to at least be able to build
     the package (albeit without support for automatic dependency tracking).      the package (albeit without support for automatic dependency tracking).
 See \`config.log' for more details" "$LINENO" 5; }  See \`config.log' for more details" "$LINENO" 5; }

Removed from v.1.213  
changed lines
  Added in v.1.227


E-mail: