Diff for /embedaddon/pcre/configure between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/02/21 23:50:25 version 1.1.1.3, 2012/10/09 09:19:17
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.68 for PCRE 8.30.# Generated by GNU Autoconf 2.68 for PCRE 8.31.
 #  #
 #  #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Line 567  MAKEFLAGS= Line 567  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='PCRE'  PACKAGE_NAME='PCRE'
 PACKAGE_TARNAME='pcre'  PACKAGE_TARNAME='pcre'
PACKAGE_VERSION='8.30'PACKAGE_VERSION='8.31'
PACKAGE_STRING='PCRE 8.30'PACKAGE_STRING='PCRE 8.31'
 PACKAGE_BUGREPORT=''  PACKAGE_BUGREPORT=''
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 794  enable_stack_for_recursion Line 794  enable_stack_for_recursion
 enable_pcregrep_libz  enable_pcregrep_libz
 enable_pcregrep_libbz2  enable_pcregrep_libbz2
 with_pcregrep_bufsize  with_pcregrep_bufsize
   enable_pcretest_libedit
 enable_pcretest_libreadline  enable_pcretest_libreadline
 with_posix_malloc_threshold  with_posix_malloc_threshold
 with_link_size  with_link_size
Line 1355  if test "$ac_init_help" = "long"; then Line 1356  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 PCRE 8.30 to adapt to many kinds of systems.\`configure' configures PCRE 8.31 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1425  fi Line 1426  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 PCRE 8.30:";;     short | recursive ) echo "Configuration of PCRE 8.31:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1472  Optional Features: Line 1473  Optional Features:
   --enable-pcregrep-libz  link pcregrep with libz to handle .gz files    --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
   --enable-pcregrep-libbz2    --enable-pcregrep-libbz2
                           link pcregrep with libbz2 to handle .bz2 files                            link pcregrep with libbz2 to handle .bz2 files
     --enable-pcretest-libedit
                             link pcretest with libedit
   --enable-pcretest-libreadline    --enable-pcretest-libreadline
                           link pcretest with libreadline                            link pcretest with libreadline
   
Line 1572  fi Line 1575  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
PCRE configure 8.30PCRE configure 8.31
 generated by GNU Autoconf 2.68  generated by GNU Autoconf 2.68
   
 Copyright (C) 2010 Free Software Foundation, Inc.  Copyright (C) 2010 Free Software Foundation, Inc.
Line 2327  cat >config.log <<_ACEOF Line 2330  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 PCRE $as_me 8.30, which wasIt was created by PCRE $as_me 8.31, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 3143  fi Line 3146  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='pcre'   PACKAGE='pcre'
 VERSION='8.30' VERSION='8.31'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 15705  fi Line 15708  fi
   
   
 PCRE_MAJOR="8"  PCRE_MAJOR="8"
PCRE_MINOR="30"PCRE_MINOR="31"
 PCRE_PRERELEASE=""  PCRE_PRERELEASE=""
PCRE_DATE="2012-02-04"PCRE_DATE="2012-07-06"
   
 if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"  if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
 then  then
Line 15900  else Line 15903  else
 fi  fi
   
   
   # Handle --enable-pcretest-libedit
   # Check whether --enable-pcretest-libedit was given.
   if test "${enable_pcretest_libedit+set}" = set; then :
     enableval=$enable_pcretest_libedit;
   else
     enable_pcretest_libedit=no
   fi
   
   
 # Handle --enable-pcretest-libreadline  # Handle --enable-pcretest-libreadline
 # Check whether --enable-pcretest-libreadline was given.  # Check whether --enable-pcretest-libreadline was given.
 if test "${enable_pcretest_libreadline+set}" = set; then :  if test "${enable_pcretest_libreadline+set}" = set; then :
Line 16647  LIBS="$OLD_LIBS" Line 16659  LIBS="$OLD_LIBS"
   
 # Check for the availabiity of libreadline  # Check for the availabiity of libreadline
   
for ac_header in readline/readline.hif test "$enable_pcretest_libreadline" = "yes"; then
  for ac_header in readline/readline.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
 if test "x$ac_cv_header_readline_readline_h" = xyes; then :  if test "x$ac_cv_header_readline_readline_h" = xyes; then :
Line 16659  fi Line 16672  fi
   
 done  done
   
for ac_header in readline/history.h for ac_header in readline/history.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
 if test "x$ac_cv_header_readline_history_h" = xyes; then :  if test "x$ac_cv_header_readline_history_h" = xyes; then :
Line 16671  fi Line 16684  fi
   
 done  done
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
 if ${ac_cv_lib_readline_readline+:} false; then :  if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 16711  if test "x$ac_cv_lib_readline_readline" = xyes; then : Line 16724  if test "x$ac_cv_lib_readline_readline" = xyes; then :
   LIBREADLINE="-lreadline"    LIBREADLINE="-lreadline"
 else  else
   unset ac_cv_lib_readline_readline;    unset ac_cv_lib_readline_readline;
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
 if ${ac_cv_lib_readline_readline+:} false; then :  if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 16751  if test "x$ac_cv_lib_readline_readline" = xyes; then : Line 16764  if test "x$ac_cv_lib_readline_readline" = xyes; then :
   LIBREADLINE="-ltinfo"    LIBREADLINE="-ltinfo"
 else  else
   unset ac_cv_lib_readline_readline;    unset ac_cv_lib_readline_readline;
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
 if ${ac_cv_lib_readline_readline+:} false; then :  if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 16791  if test "x$ac_cv_lib_readline_readline" = xyes; then : Line 16804  if test "x$ac_cv_lib_readline_readline" = xyes; then :
   LIBREADLINE="-lcurses"    LIBREADLINE="-lcurses"
 else  else
   unset ac_cv_lib_readline_readline;    unset ac_cv_lib_readline_readline;
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
 if ${ac_cv_lib_readline_readline+:} false; then :  if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 16831  if test "x$ac_cv_lib_readline_readline" = xyes; then : Line 16844  if test "x$ac_cv_lib_readline_readline" = xyes; then :
   LIBREADLINE="-lncurses"    LIBREADLINE="-lncurses"
 else  else
   unset ac_cv_lib_readline_readline;    unset ac_cv_lib_readline_readline;
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
 if ${ac_cv_lib_readline_readline+:} false; then :  if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 16871  if test "x$ac_cv_lib_readline_readline" = xyes; then : Line 16884  if test "x$ac_cv_lib_readline_readline" = xyes; then :
   LIBREADLINE="-lncursesw"    LIBREADLINE="-lncursesw"
 else  else
   unset ac_cv_lib_readline_readline;    unset ac_cv_lib_readline_readline;
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
 if ${ac_cv_lib_readline_readline+:} false; then :  if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 16924  fi Line 16937  fi
 fi  fi
   
   
if test -n "$LIBREADLINE"; then if test -n "$LIBREADLINE"; then
  if test "$LIBREADLINE" != "-lreadline"; then   if test "$LIBREADLINE" != "-lreadline"; then
    echo "-lreadline needs $LIBREADLINE"     echo "-lreadline needs $LIBREADLINE"
    LIBREADLINE="-lreadline $LIBREADLINE"     LIBREADLINE="-lreadline $LIBREADLINE"
  fi   fi
  fi
 fi  fi
   
   
   # Check for the availability of libedit. Different distributions put its
   # headers in different places. Try to cover the most common ones.
   
   if test "$enable_pcretest_libedit" = "yes"; then
     for ac_header in editline/readline.h
   do :
     ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
   if test "x$ac_cv_header_editline_readline_h" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_EDITLINE_READLINE_H 1
   _ACEOF
    HAVE_EDITLINE_READLINE_H=1
   else
     for ac_header in edit/readline/readline.h
   do :
     ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
   if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_EDIT_READLINE_READLINE_H 1
   _ACEOF
    HAVE_READLINE_READLINE_H=1
   else
     for ac_header in readline/readline.h
   do :
     ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
   if test "x$ac_cv_header_readline_readline_h" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_READLINE_READLINE_H 1
   _ACEOF
    HAVE_READLINE_READLINE_H=1
   fi
   
   done
   
   fi
   
   done
   
   fi
   
   done
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
   $as_echo_n "checking for readline in -ledit... " >&6; }
   if ${ac_cv_lib_edit_readline+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ledit  $LIBS"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char readline ();
   int
   main ()
   {
   return readline ();
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ac_cv_lib_edit_readline=yes
   else
     ac_cv_lib_edit_readline=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
   $as_echo "$ac_cv_lib_edit_readline" >&6; }
   if test "x$ac_cv_lib_edit_readline" = xyes; then :
     LIBEDIT="-ledit"
   fi
   
   fi
   
 # This facilitates -ansi builds under Linux  # This facilitates -ansi builds under Linux
   
 PCRE_STATIC_CFLAG=""  PCRE_STATIC_CFLAG=""
Line 17010  cat >>confdefs.h <<_ACEOF Line 17109  cat >>confdefs.h <<_ACEOF
 _ACEOF  _ACEOF
   
   
if test "$enable_pcretest_libreadline" = "yes"; thenif test "$enable_pcretest_libedit" = "yes"; then
   
   $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
   
     LIBREADLINE="$LIBEDIT"
   elif test "$enable_pcretest_libreadline" = "yes"; then
   
 $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h  $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
   
 fi  fi
Line 17086  esac Line 17190  esac
 # (Note: The libpcre*_version bits are m4 variables, assigned above)  # (Note: The libpcre*_version bits are m4 variables, assigned above)
   
 EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \  EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
                       $NO_UNDEFINED -version-info 1:0:0"                       $NO_UNDEFINED -version-info 1:1:0"
   
 EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \  EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
                       $NO_UNDEFINED -version-info 0:0:0"                       $NO_UNDEFINED -version-info 0:1:0"
   
 EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \  EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
                            $NO_UNDEFINED -version-info 0:0:0"                            $NO_UNDEFINED -version-info 0:1:0"
   
 EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
                           $NO_UNDEFINED -version-info 0:0:0 \                            $NO_UNDEFINED -version-info 0:0:0 \
Line 17139  fi Line 17243  fi
   
 # Similarly for --enable-pcretest-readline  # Similarly for --enable-pcretest-readline
   
   if test "$enable_pcretest_libedit" = "yes"; then
     if test "$enable_pcretest_libreadline" = "yes"; then
       echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
       exit 1
     fi
     if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
             "$HAVE_READLINE_READLINE_H" != "1"; then
       echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
       echo "** nor readline/readline.h was found."
       exit 1
     fi
     if test -z "$LIBEDIT"; then
       echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
       exit 1
     fi
   fi
   
 if test "$enable_pcretest_libreadline" = "yes"; then  if test "$enable_pcretest_libreadline" = "yes"; then
   if test "$HAVE_READLINE_H" != "1"; then    if test "$HAVE_READLINE_H" != "1"; then
     echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."      echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
Line 17729  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 17850  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # 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 PCRE $as_me 8.30, which wasThis file was extended by PCRE $as_me 8.31, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 17795  _ACEOF Line 17916  _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="\\
PCRE config.status 8.30PCRE config.status 8.31
 configured by $0, generated by GNU Autoconf 2.68,  configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 19893  $PACKAGE-$VERSION configuration summary: Line 20014  $PACKAGE-$VERSION configuration summary:
     Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}      Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
     Link pcregrep with libz ......... : ${enable_pcregrep_libz}      Link pcregrep with libz ......... : ${enable_pcregrep_libz}
     Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}      Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
       Link pcretest with libedit ...... : ${enable_pcretest_libedit}
     Link pcretest with libreadline .. : ${enable_pcretest_libreadline}      Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
   
 EOF  EOF

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>