Diff for /parser3/configure between versions 1.214 and 1.219

version 1.214, 2021/01/28 16:22:32 version 1.219, 2024/09/10 19:12:59
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 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 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.214  
changed lines
  Added in v.1.219


E-mail: