/[pcre]/code/trunk/configure.ac
ViewVC logotype

Diff of /code/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 539 by ph10, Sun Jun 13 21:35:04 2010 UTC revision 1031 by ph10, Sat Sep 8 15:59:01 2012 UTC
# Line 9  dnl The PCRE_PRERELEASE feature is for i Line 9  dnl The PCRE_PRERELEASE feature is for i
9  dnl be defined as -RC2, for example. For real releases, it should be empty.  dnl be defined as -RC2, for example. For real releases, it should be empty.
10    
11  m4_define(pcre_major, [8])  m4_define(pcre_major, [8])
12  m4_define(pcre_minor, [10])  m4_define(pcre_minor, [32])
13  m4_define(pcre_prerelease, [-RC2])  m4_define(pcre_prerelease, [-RC1])
14  m4_define(pcre_date, [2010-06-11])  m4_define(pcre_date, [2012-08-08])
15    
16    # NOTE: The CMakeLists.txt file searches for the above variables in the first
17    # 50 lines of this file. Please update that if the variables above are moved.
18    
19  # Libtool shared library interface versions (current:revision:age)  # Libtool shared library interface versions (current:revision:age)
20  m4_define(libpcre_version, [0:1:0])  m4_define(libpcre_version, [1:1:0])
21  m4_define(libpcreposix_version, [0:0:0])  m4_define(libpcre16_version, [0:1:0])
22    m4_define(libpcreposix_version, [0:1:0])
23  m4_define(libpcrecpp_version, [0:0:0])  m4_define(libpcrecpp_version, [0:0:0])
24    
25  AC_PREREQ(2.57)  AC_PREREQ(2.57)
26  AC_INIT(PCRE, pcre_major.pcre_minor[]pcre_prerelease, , pcre)  AC_INIT(PCRE, pcre_major.pcre_minor[]pcre_prerelease, , pcre)
27  AC_CONFIG_SRCDIR([pcre.h.in])  AC_CONFIG_SRCDIR([pcre.h.in])
28  AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])  AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])
29    m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
30  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(config.h)
31    
32  # This was added at the suggestion of libtoolize (03-Jan-10)  # This was added at the suggestion of libtoolize (03-Jan-10)
# Line 68  fi Line 73  fi
73  # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.  # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
74  # Check for that case, and just disable c++ code if g++ doesn't run.  # Check for that case, and just disable c++ code if g++ doesn't run.
75  AC_LANG_PUSH(C++)  AC_LANG_PUSH(C++)
76  AC_COMPILE_IFELSE(AC_LANG_PROGRAM([],[]),, CXX=""; CXXCP=""; CXXFLAGS="")  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],, CXX=""; CXXCP=""; CXXFLAGS="")
77  AC_LANG_POP  AC_LANG_POP
78    
79  # Check for a 64-bit integer type  # Check for a 64-bit integer type
# Line 76  AC_TYPE_INT64_T Line 81  AC_TYPE_INT64_T
81    
82  AC_PROG_INSTALL  AC_PROG_INSTALL
83  AC_LIBTOOL_WIN32_DLL  AC_LIBTOOL_WIN32_DLL
84  AC_PROG_LIBTOOL  LT_INIT
85  AC_PROG_LN_S  AC_PROG_LN_S
86    
87  PCRE_MAJOR="pcre_major"  PCRE_MAJOR="pcre_major"
# Line 104  then Line 109  then
109    htmldir='${docdir}/html'    htmldir='${docdir}/html'
110  fi  fi
111    
112    # Handle --disable-pcre8 (enabled by default)
113    AC_ARG_ENABLE(pcre8,
114                  AS_HELP_STRING([--disable-pcre8],
115                                 [disable 8 bit character support]),
116                  , enable_pcre8=unset)
117    AC_SUBST(enable_pcre8)
118    
119    # Handle --enable-pcre16 (disabled by default)
120    AC_ARG_ENABLE(pcre16,
121                  AS_HELP_STRING([--enable-pcre16],
122                                 [enable 16 bit character support]),
123                  , enable_pcre16=unset)
124    AC_SUBST(enable_pcre16)
125    
126  # Handle --disable-cpp. The substitution of enable_cpp is needed for use in  # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
127  # pcre-config.  # pcre-config.
128  AC_ARG_ENABLE(cpp,  AC_ARG_ENABLE(cpp,
129                AS_HELP_STRING([--disable-cpp],                AS_HELP_STRING([--disable-cpp],
130                               [disable C++ support]),                               [disable C++ support]),
131                , enable_cpp=yes)                , enable_cpp=unset)
132  AC_SUBST(enable_cpp)  AC_SUBST(enable_cpp)
133    
134    # Handle --enable-jit (disabled by default)
135    AC_ARG_ENABLE(jit,
136                  AS_HELP_STRING([--enable-jit],
137                                 [enable Just-In-Time compiling support]),
138                  , enable_jit=no)
139    
140    # Handle --disable-pcregrep-jit (enabled by default)
141    AC_ARG_ENABLE(pcregrep-jit,
142                  AS_HELP_STRING([--disable-pcregrep-jit],
143                                 [disable JIT support in pcregrep]),
144                  , enable_pcregrep_jit=yes)
145    
146  # Handle --enable-rebuild-chartables  # Handle --enable-rebuild-chartables
147  AC_ARG_ENABLE(rebuild-chartables,  AC_ARG_ENABLE(rebuild-chartables,
148                AS_HELP_STRING([--enable-rebuild-chartables],                AS_HELP_STRING([--enable-rebuild-chartables],
# Line 121  AC_ARG_ENABLE(rebuild-chartables, Line 152  AC_ARG_ENABLE(rebuild-chartables,
152  # Handle --enable-utf8 (disabled by default)  # Handle --enable-utf8 (disabled by default)
153  AC_ARG_ENABLE(utf8,  AC_ARG_ENABLE(utf8,
154                AS_HELP_STRING([--enable-utf8],                AS_HELP_STRING([--enable-utf8],
155                               [enable UTF-8 support (incompatible with --enable-ebcdic)]),                               [another name for --enable-utf. Kept only for compatibility reasons]),
156                , enable_utf8=unset)                , enable_utf8=unset)
157    
158    # Handle --enable-utf (disabled by default)
159    AC_ARG_ENABLE(utf,
160                  AS_HELP_STRING([--enable-utf],
161                                 [enable UTF-8/16 support (incompatible with --enable-ebcdic)]),
162                  , enable_utf=unset)
163    
164  # Handle --enable-unicode-properties  # Handle --enable-unicode-properties
165  AC_ARG_ENABLE(unicode-properties,  AC_ARG_ENABLE(unicode-properties,
166                AS_HELP_STRING([--enable-unicode-properties],                AS_HELP_STRING([--enable-unicode-properties],
167                               [enable Unicode properties support (implies --enable-utf8)]),                               [enable Unicode properties support (implies --enable-utf)]),
168                , enable_unicode_properties=no)                , enable_unicode_properties=no)
169    
170  # Handle --enable-newline=NL  # Handle newline options
 dnl AC_ARG_ENABLE(newline,  
 dnl               AS_HELP_STRING([--enable-newline=NL],  
 dnl                              [use NL as newline (lf, cr, crlf, anycrlf, any; default=lf)]),  
 dnl               , enable_newline=lf)  
   
 # Separate newline options  
171  ac_pcre_newline=lf  ac_pcre_newline=lf
172  AC_ARG_ENABLE(newline-is-cr,  AC_ARG_ENABLE(newline-is-cr,
173                AS_HELP_STRING([--enable-newline-is-cr],                AS_HELP_STRING([--enable-newline-is-cr],
# Line 169  AC_ARG_ENABLE(bsr-anycrlf, Line 200  AC_ARG_ENABLE(bsr-anycrlf,
200  # Handle --enable-ebcdic  # Handle --enable-ebcdic
201  AC_ARG_ENABLE(ebcdic,  AC_ARG_ENABLE(ebcdic,
202                AS_HELP_STRING([--enable-ebcdic],                AS_HELP_STRING([--enable-ebcdic],
203                               [assume EBCDIC coding rather than ASCII; incompatible with --enable-utf8; use only in (uncommon) EBCDIC environments; it implies --enable-rebuild-chartables]),                               [assume EBCDIC coding rather than ASCII; incompatible with --enable-utf; use only in (uncommon) EBCDIC environments; it implies --enable-rebuild-chartables]),
204                , enable_ebcdic=no)                , enable_ebcdic=no)
205    
206    # Handle --enable-ebcdic-nl25
207    AC_ARG_ENABLE(ebcdic-nl25,
208                  AS_HELP_STRING([--enable-ebcdic-nl25],
209                                 [set EBCDIC code for NL to 0x25 instead of 0x15; it implies --enable-ebcdic]),
210                  , enable_ebcdic_nl25=no)
211    
212  # Handle --disable-stack-for-recursion  # Handle --disable-stack-for-recursion
213  AC_ARG_ENABLE(stack-for-recursion,  AC_ARG_ENABLE(stack-for-recursion,
214                AS_HELP_STRING([--disable-stack-for-recursion],                AS_HELP_STRING([--disable-stack-for-recursion],
# Line 190  AC_ARG_ENABLE(pcregrep-libbz2, Line 227  AC_ARG_ENABLE(pcregrep-libbz2,
227                               [link pcregrep with libbz2 to handle .bz2 files]),                               [link pcregrep with libbz2 to handle .bz2 files]),
228                , enable_pcregrep_libbz2=no)                , enable_pcregrep_libbz2=no)
229    
230    # Handle --with-pcregrep-bufsize=N
231    AC_ARG_WITH(pcregrep-bufsize,
232                  AS_HELP_STRING([--with-pcregrep-bufsize=N],
233                                 [pcregrep buffer size (default=20480)]),
234                  , with_pcregrep_bufsize=20480)
235    
236    # Handle --enable-pcretest-libedit
237    AC_ARG_ENABLE(pcretest-libedit,
238                  AS_HELP_STRING([--enable-pcretest-libedit],
239                                 [link pcretest with libedit]),
240                  , enable_pcretest_libedit=no)
241    
242  # Handle --enable-pcretest-libreadline  # Handle --enable-pcretest-libreadline
243  AC_ARG_ENABLE(pcretest-libreadline,  AC_ARG_ENABLE(pcretest-libreadline,
244                AS_HELP_STRING([--enable-pcretest-libreadline],                AS_HELP_STRING([--enable-pcretest-libreadline],
# Line 227  AC_ARG_WITH(match-limit-recursion, Line 276  AC_ARG_WITH(match-limit-recursion,
276                             [default limit on internal recursion (default=MATCH_LIMIT)]),                             [default limit on internal recursion (default=MATCH_LIMIT)]),
277              , with_match_limit_recursion=MATCH_LIMIT)              , with_match_limit_recursion=MATCH_LIMIT)
278    
279  # Make sure that if enable_unicode_properties was set, that UTF-8 support  # Copy enable_utf8 value to enable_utf for compatibility reasons
280  # is enabled.  if test "x$enable_utf8" != "xunset"
281  #  then
282      if test "x$enable_utf" != "xunset"
283      then
284        AC_MSG_ERROR([--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone.])
285      fi
286      enable_utf=$enable_utf8
287    fi
288    
289    # Set the default value for pcre8
290    if test "x$enable_pcre8" = "xunset"
291    then
292      enable_pcre8=yes
293    fi
294    
295    # Set the default value for pcre16
296    if test "x$enable_pcre16" = "xunset"
297    then
298      enable_pcre16=no
299    fi
300    
301    # Make sure enable_pcre8 or enable_pcre16 was set
302    if test "x$enable_pcre8$enable_pcre16" = "xnono"
303    then
304      AC_MSG_ERROR([Either 8 or 16 bit (or both) pcre library must be enabled])
305    fi
306    
307    # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
308  if test "x$enable_unicode_properties" = "xyes"  if test "x$enable_unicode_properties" = "xyes"
309  then  then
310    if test "x$enable_utf8" = "xno"    if test "x$enable_utf" = "xno"
311    then    then
312      AC_MSG_ERROR([support for Unicode properties requires UTF-8 support])      AC_MSG_ERROR([support for Unicode properties requires UTF-8/16 support])
313    fi    fi
314    enable_utf8=yes    enable_utf=yes
315  fi  fi
316    
317  if test "x$enable_utf8" = "xunset"  # enable_utf is disabled by default.
318    if test "x$enable_utf" = "xunset"
319  then  then
320    enable_utf8=no    enable_utf=no
321  fi  fi
322    
323  # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.  # enable_cpp copies the value of enable_pcre8 by default
324  # Also check that UTF-8 support is not requested, because PCRE cannot handle  if test "x$enable_cpp" = "xunset"
 # EBCDIC and UTF-8 in the same build. To do so it would need to use different  
 # character constants depending on the mode.  
 #  
 if test "x$enable_ebcdic" = "xyes"  
325  then  then
326    enable_rebuild_chartables=yes    enable_cpp=$enable_pcre8
327    if test "x$enable_utf8" = "xyes"  fi
328    
329    # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
330    if test "x$enable_cpp" = "xyes"
331    then
332      if test "x$enable_pcre8" = "xno"
333    then    then
334      AC_MSG_ERROR([support for EBCDIC and UTF-8 cannot be enabled at the same time])      AC_MSG_ERROR([C++ library requires pcre library with 8 bit characters])
335    fi    fi
336  fi  fi
337    
338  # Convert the newline identifier into the appropriate integer value.  # Convert the newline identifier into the appropriate integer value. The first
339    # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they
340    # are changed below.
341    
342  case "$enable_newline" in  case "$enable_newline" in
343    lf)      ac_pcre_newline_value=10   ;;    lf)      ac_pcre_newline_value=10   ;;
344    cr)      ac_pcre_newline_value=13   ;;    cr)      ac_pcre_newline_value=13   ;;
# Line 270  case "$enable_newline" in Line 350  case "$enable_newline" in
350    ;;    ;;
351  esac  esac
352    
353    # --enable-ebcdic-nl25 implies --enable-ebcdic
354    if test "x$enable_ebcdic_nl25" = "xyes"; then
355      enable_ebcdic=yes
356    fi
357    
358    # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled,
359    # and the newline value is adjusted appropriately (CR is still 13, but LF is
360    # 21 or 37). Also check that UTF support is not requested, because PCRE cannot
361    # handle EBCDIC and UTF in the same build. To do so it would need to use
362    # different character constants depending on the mode.
363    #
364    if test "x$enable_ebcdic" = "xyes"; then
365      enable_rebuild_chartables=yes
366    
367      if test "x$enable_utf" = "xyes"; then
368        AC_MSG_ERROR([support for EBCDIC and UTF-8/16 cannot be enabled at the same time])
369      fi
370    
371      if test "x$enable_ebcdic_nl25" = "xno"; then
372        case "$ac_pcre_newline_value" in
373          10)   ac_pcre_newline_value=21 ;;
374          3338) ac_pcre_newline_value=3349 ;;
375        esac
376      else
377        case "$ac_pcre_newline_value" in
378          10)   ac_pcre_newline_value=37 ;;
379          3338) ac_pcre_newline_value=3365 ;;
380        esac
381      fi
382    fi
383    
384  # Check argument to --with-link-size  # Check argument to --with-link-size
385  case "$with_link_size" in  case "$with_link_size" in
386    2|3|4) ;;    2|3|4) ;;
# Line 279  case "$with_link_size" in Line 390  case "$with_link_size" in
390  esac  esac
391    
392  AH_TOP([  AH_TOP([
393  /* On Unix-like systems config.h.in is converted by "configure" into config.h.  /* PCRE is written in Standard C, but there are a few non-standard things it
394  Some other environments also support the use of "configure". PCRE is written in  can cope with, allowing it to run on SunOS4 and other "close to standard"
395  Standard C, but there are a few non-standard things it can cope with, allowing  systems.
396  it to run on SunOS4 and other "close to standard" systems.  
397    In environments that support the facilities, config.h.in is converted by
398  If you are going to build PCRE "by hand" on a system without "configure" you  "configure", or config-cmake.h.in is converted by CMake, into config.h. If you
399  should copy the distributed config.h.generic to config.h, and then set up the  are going to build PCRE "by hand" without using "configure" or CMake, you
400  macro definitions the way you need them. You must then add -DHAVE_CONFIG_H to  should copy the distributed config.h.generic to config.h, and then edit the
401  all of your compile commands, so that config.h is included at the start of  macro definitions to be the way you need them. You must then add
402  every source.  -DHAVE_CONFIG_H to all of your compile commands, so that config.h is included
403    at the start of every source.
404    
405  Alternatively, you can avoid editing by using -D on the compiler command line  Alternatively, you can avoid editing by using -D on the compiler command line
406  to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.  to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H.
# Line 320  for flag in "-alias,__ZN7pcrecpp2RE6no_a Line 432  for flag in "-alias,__ZN7pcrecpp2RE6no_a
432    LDFLAGS="$OLD_LDFLAGS -Wl,$flag"    LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
433    # We try to run the linker with this new ld flag.  If the link fails,    # We try to run the linker with this new ld flag.  If the link fails,
434    # we give up and remove the new flag from LDFLAGS.    # we give up and remove the new flag from LDFLAGS.
435    AC_LINK_IFELSE(AC_LANG_PROGRAM([namespace pcrecpp {    AC_LINK_IFELSE([AC_LANG_PROGRAM([namespace pcrecpp {
436                                      class RE { static int no_arg; };                                      class RE { static int no_arg; };
437                                      int RE::no_arg;                                      int RE::no_arg;
438                                    }],                                    }],
439                                   []),                                   [])],
440                   [AC_MSG_RESULT([yes]);                   [AC_MSG_RESULT([yes]);
441                    EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";                    EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
442                    break;],                    break;],
# Line 361  for fn in strtoq strtoll _strtoi64 strto Line 473  for fn in strtoq strtoll _strtoi64 strto
473    else    else
474      include=stdlib.h      include=stdlib.h
475    fi    fi
476    AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#include <$include>],    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <$include>],
477                                      [char* e; return $fn("100", &e, 10)]),                                      [char* e; return $fn("100", &e, 10)])],
478                      [AC_MSG_RESULT(yes)                      [AC_MSG_RESULT(yes)
479                       AC_DEFINE_UNQUOTED(HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`, 1,                       AC_DEFINE_UNQUOTED(HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`, 1,
480                                          [Define to 1 if you have `$fn'.])                                          [Define to 1 if you have `$fn'.])
# Line 392  AC_SUBST(pcre_have_type_traits) Line 504  AC_SUBST(pcre_have_type_traits)
504  AC_SUBST(pcre_have_bits_type_traits)  AC_SUBST(pcre_have_bits_type_traits)
505    
506  # Conditional compilation  # Conditional compilation
507    AM_CONDITIONAL(WITH_PCRE8, test "x$enable_pcre8" = "xyes")
508    AM_CONDITIONAL(WITH_PCRE16, test "x$enable_pcre16" = "xyes")
509  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")
510  AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")  AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")
511    AM_CONDITIONAL(WITH_JIT, test "x$enable_jit" = "xyes")
512    AM_CONDITIONAL(WITH_UTF, test "x$enable_utf" = "xyes")
513    
514  # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
515    
# Line 434  AC_CHECK_HEADERS([bzlib.h], [HAVE_BZLIB_ Line 550  AC_CHECK_HEADERS([bzlib.h], [HAVE_BZLIB_
550  AC_MSG_CHECKING([for libbz2])  AC_MSG_CHECKING([for libbz2])
551  OLD_LIBS="$LIBS"  OLD_LIBS="$LIBS"
552  LIBS="$LIBS -lbz2"  LIBS="$LIBS -lbz2"
553  AC_LINK_IFELSE( AC_LANG_PROGRAM([[  AC_LINK_IFELSE([AC_LANG_PROGRAM([[
554  #ifdef HAVE_BZLIB_H  #ifdef HAVE_BZLIB_H
555  #include <bzlib.h>  #include <bzlib.h>
556  #endif]],  #endif]],
557  [[return (int)BZ2_bzopen("conftest", "rb");]]),  [[return (int)BZ2_bzopen("conftest", "rb");]])],
558  [AC_MSG_RESULT([yes]);HAVE_LIBBZ2=1; break;],  [AC_MSG_RESULT([yes]);HAVE_LIBBZ2=1; break;],
559  AC_MSG_RESULT([no]))  AC_MSG_RESULT([no]))
560  LIBS="$OLD_LIBS"  LIBS="$OLD_LIBS"
561    
562  # Check for the availabiity of libreadline  # Check for the availabiity of libreadline
563    
564  AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_H=1])  if test "$enable_pcretest_libreadline" = "yes"; then
565  AC_CHECK_HEADERS([readline/history.h], [HAVE_HISTORY_H=1])   AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_H=1])
566  AC_CHECK_LIB([readline], [readline], [HAVE_LIB_READLINE=1])   AC_CHECK_HEADERS([readline/history.h], [HAVE_HISTORY_H=1])
567     AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lreadline"],
568       [unset ac_cv_lib_readline_readline;
569        AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-ltinfo"],
570         [unset ac_cv_lib_readline_readline;
571          AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lcurses"],
572           [unset ac_cv_lib_readline_readline;
573            AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lncurses"],
574             [unset ac_cv_lib_readline_readline;
575              AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lncursesw"],
576               [unset ac_cv_lib_readline_readline;
577                AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-ltermcap"],
578                 [LIBREADLINE=""],
579                 [-ltermcap])],
580               [-lncursesw])],
581             [-lncurses])],
582           [-lcurses])],
583         [-ltinfo])])
584     AC_SUBST(LIBREADLINE)
585     if test -n "$LIBREADLINE"; then
586       if test "$LIBREADLINE" != "-lreadline"; then
587         echo "-lreadline needs $LIBREADLINE"
588         LIBREADLINE="-lreadline $LIBREADLINE"
589       fi
590     fi
591    fi
592    
593    
594    # Check for the availability of libedit. Different distributions put its
595    # headers in different places. Try to cover the most common ones.
596    
597    if test "$enable_pcretest_libedit" = "yes"; then
598      AC_CHECK_HEADERS([editline/readline.h], [HAVE_EDITLINE_READLINE_H=1],
599        [AC_CHECK_HEADERS([edit/readline/readline.h], [HAVE_READLINE_READLINE_H=1],
600          [AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_READLINE_H=1])])])
601      AC_CHECK_LIB([edit], [readline], [LIBEDIT="-ledit"])
602    fi
603    
604  # This facilitates -ansi builds under Linux  # This facilitates -ansi builds under Linux
605  dnl AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions in glibc])  dnl AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions in glibc])
# Line 455  dnl AC_DEFINE([_GNU_SOURCE], [], [Enable Line 607  dnl AC_DEFINE([_GNU_SOURCE], [], [Enable
607  PCRE_STATIC_CFLAG=""  PCRE_STATIC_CFLAG=""
608  if test "x$enable_shared" = "xno" ; then  if test "x$enable_shared" = "xno" ; then
609    AC_DEFINE([PCRE_STATIC], [1], [    AC_DEFINE([PCRE_STATIC], [1], [
610      Define if linking statically (TODO: make nice with Libtool)])      Define to any value if linking statically (TODO: make nice with Libtool)])
611    PCRE_STATIC_CFLAG="-DPCRE_STATIC"    PCRE_STATIC_CFLAG="-DPCRE_STATIC"
612  fi  fi
613  AC_SUBST(PCRE_STATIC_CFLAG)  AC_SUBST(PCRE_STATIC_CFLAG)
614    
615  # Here is where pcre specific defines are handled  # Here is where pcre specific defines are handled
616    
617  if test "$enable_utf8" = "yes"; then  if test "$enable_pcre8" = "yes"; then
618    AC_DEFINE([SUPPORT_UTF8], [], [    AC_DEFINE([SUPPORT_PCRE8], [], [
619      Define to enable support for the UTF-8 Unicode encoding. This will      Define to any value to enable the 8 bit PCRE library.])
620      work even in an EBCDIC environment, but it is incompatible with  fi
621      the EBCDIC macro. That is, PCRE can support *either* EBCDIC code  
622      *or* ASCII/UTF-8, but not both at once.])  if test "$enable_pcre16" = "yes"; then
623      AC_DEFINE([SUPPORT_PCRE16], [], [
624        Define to any value to enable the 16 bit PCRE library.])
625    fi
626    
627    if test "$enable_jit" = "yes"; then
628      AX_PTHREAD([], [AC_MSG_ERROR([JIT support requires pthreads])])
629      CC="$PTHREAD_CC"
630      CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
631      LIBS="$PTHREAD_LIBS $LIBS"
632      AC_DEFINE([SUPPORT_JIT], [], [
633        Define to any value to enable support for Just-In-Time compiling.])
634    else
635      enable_pcregrep_jit="no"
636    fi
637    
638    if test "$enable_pcregrep_jit" = "yes"; then
639      AC_DEFINE([SUPPORT_PCREGREP_JIT], [], [
640        Define to any value to enable JIT support in pcregrep.])
641    fi
642    
643    if test "$enable_utf" = "yes"; then
644      AC_DEFINE([SUPPORT_UTF], [], [
645        Define to any value to enable support for the UTF-8/16 Unicode encoding.
646        This will work even in an EBCDIC environment, but it is incompatible
647        with the EBCDIC macro. That is, PCRE can support *either* EBCDIC
648        code *or* ASCII/UTF-8/16, but not both at once.])
649  fi  fi
650    
651  if test "$enable_unicode_properties" = "yes"; then  if test "$enable_unicode_properties" = "yes"; then
652    AC_DEFINE([SUPPORT_UCP], [], [    AC_DEFINE([SUPPORT_UCP], [], [
653      Define to enable support for Unicode properties])      Define to any value to enable support for Unicode properties.])
654  fi  fi
655    
656  if test "$enable_stack_for_recursion" = "no"; then  if test "$enable_stack_for_recursion" = "no"; then
657    AC_DEFINE([NO_RECURSE], [], [    AC_DEFINE([NO_RECURSE], [], [
658      PCRE uses recursive function calls to handle backtracking while      PCRE uses recursive function calls to handle backtracking while
659      matching. This can sometimes be a problem on systems that have      matching. This can sometimes be a problem on systems that have
660      stacks of limited size. Define NO_RECURSE to get a version that      stacks of limited size. Define NO_RECURSE to any value to get a
661      doesn't use recursion in the match() function; instead it creates      version that doesn't use recursion in the match() function; instead
662      its own stack by steam using pcre_recurse_malloc() to obtain memory      it creates its own stack by steam using pcre_recurse_malloc() to obtain
663      from the heap. For more detail, see the comments and other stuff      memory from the heap. For more detail, see the comments and other stuff
664      just above the match() function. On systems that support it,      just above the match() function.])
     "configure" can be used to set this in the Makefile  
     (use --disable-stack-for-recursion).])  
665  fi  fi
666    
667  if test "$enable_pcregrep_libz" = "yes"; then  if test "$enable_pcregrep_libz" = "yes"; then
668    AC_DEFINE([SUPPORT_LIBZ], [], [    AC_DEFINE([SUPPORT_LIBZ], [], [
669      Define to allow pcregrep to be linked with libz, so that it is      Define to any value to allow pcregrep to be linked with libz, so that it is
670      able to handle .gz files.])      able to handle .gz files.])
671  fi  fi
672    
673  if test "$enable_pcregrep_libbz2" = "yes"; then  if test "$enable_pcregrep_libbz2" = "yes"; then
674    AC_DEFINE([SUPPORT_LIBBZ2], [], [    AC_DEFINE([SUPPORT_LIBBZ2], [], [
675      Define to allow pcregrep to be linked with libbz2, so that it is      Define to any value to allow pcregrep to be linked with libbz2, so that it
676      able to handle .bz2 files.])      is able to handle .bz2 files.])
677  fi  fi
678    
679  if test "$enable_pcretest_libreadline" = "yes"; then  if test $with_pcregrep_bufsize -lt 8192 ; then
680      with_pcregrep_bufsize="8192"
681    fi
682    
683    AC_DEFINE_UNQUOTED([PCREGREP_BUFSIZE], [$with_pcregrep_bufsize], [
684      The value of PCREGREP_BUFSIZE determines the size of buffer used by pcregrep
685      to hold parts of the file it is searching. This is also the minimum value.
686      The actual amount of memory used by pcregrep is three times this number,
687      because it allows for the buffering of "before" and "after" lines.])
688    
689    if test "$enable_pcretest_libedit" = "yes"; then
690      AC_DEFINE([SUPPORT_LIBEDIT], [], [
691        Define to any value to allow pcretest to be linked with libedit.])
692      LIBREADLINE="$LIBEDIT"
693    elif test "$enable_pcretest_libreadline" = "yes"; then
694    AC_DEFINE([SUPPORT_LIBREADLINE], [], [    AC_DEFINE([SUPPORT_LIBREADLINE], [], [
695      Define to allow pcretest to be linked with libreadline.])      Define to any value to allow pcretest to be linked with libreadline.])
696  fi  fi
697    
698  AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [  AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [
699    The value of NEWLINE determines the newline character sequence. On    The value of NEWLINE determines the default newline character sequence. PCRE
700    systems that support it, "configure" can be used to override the    client programs can override this by selecting other values at run time. In
701    default, which is 10. The possible values are 10 (LF), 13 (CR),    ASCII environments, the value can be 10 (LF), 13 (CR), or 3338 (CRLF); in
702    3338 (CRLF), -1 (ANY), or -2 (ANYCRLF).])    EBCDIC environments the value can be 21 or 37 (LF), 13 (CR), or 3349 or 3365
703      (CRLF) because there are two alternative codepoints (0x15 and 0x25) that are
704      used as the NL line terminator that is equivalent to ASCII LF. In both ASCII
705      and EBCDIC environments the value can also be -1 (ANY), or -2 (ANYCRLF).])
706    
707  if test "$enable_bsr_anycrlf" = "yes"; then  if test "$enable_bsr_anycrlf" = "yes"; then
708    AC_DEFINE([BSR_ANYCRLF], [], [    AC_DEFINE([BSR_ANYCRLF], [], [
709      By default, the \R escape sequence matches any Unicode line ending      By default, the \R escape sequence matches any Unicode line ending
710      character or sequence of characters. If BSR_ANYCRLF is defined, this is      character or sequence of characters. If BSR_ANYCRLF is defined (to any
711      changed so that backslash-R matches only CR, LF, or CRLF. The build-      value), this is changed so that backslash-R matches only CR, LF, or CRLF.
712      time default can be overridden by the user of PCRE at runtime. On      The build-time default can be overridden by the user of PCRE at runtime.])
     systems that support it, "configure" can be used to override the  
     default.])  
713  fi  fi
714    
715  AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [  AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [
# Line 526  AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_l Line 717  AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_l
717    links as offsets within the compiled regex. The default is 2, which    links as offsets within the compiled regex. The default is 2, which
718    allows for compiled patterns up to 64K long. This covers the vast    allows for compiled patterns up to 64K long. This covers the vast
719    majority of cases. However, PCRE can also be compiled to use 3 or 4    majority of cases. However, PCRE can also be compiled to use 3 or 4
720    bytes instead. This allows for longer patterns in extreme cases. On    bytes instead. This allows for longer patterns in extreme cases.])
   systems that support it, "configure" can be used to override this default.])  
721    
722  AC_DEFINE_UNQUOTED([POSIX_MALLOC_THRESHOLD], [$with_posix_malloc_threshold], [  AC_DEFINE_UNQUOTED([POSIX_MALLOC_THRESHOLD], [$with_posix_malloc_threshold], [
723    When calling PCRE via the POSIX interface, additional working storage    When calling PCRE via the POSIX interface, additional working storage
# Line 536  AC_DEFINE_UNQUOTED([POSIX_MALLOC_THRESHO Line 726  AC_DEFINE_UNQUOTED([POSIX_MALLOC_THRESHO
726    interface provides only two. If the number of expected substrings is    interface provides only two. If the number of expected substrings is
727    small, the wrapper function uses space on the stack, because this is    small, the wrapper function uses space on the stack, because this is
728    faster than using malloc() for each call. The threshold above which    faster than using malloc() for each call. The threshold above which
729    the stack is no longer used is defined by POSIX_MALLOC_THRESHOLD. On    the stack is no longer used is defined by POSIX_MALLOC_THRESHOLD.])
   systems that support it, "configure" can be used to override this  
   default.])  
730    
731  AC_DEFINE_UNQUOTED([MATCH_LIMIT], [$with_match_limit], [  AC_DEFINE_UNQUOTED([MATCH_LIMIT], [$with_match_limit], [
732    The value of MATCH_LIMIT determines the default number of times the    The value of MATCH_LIMIT determines the default number of times the
# Line 547  AC_DEFINE_UNQUOTED([MATCH_LIMIT], [$with Line 735  AC_DEFINE_UNQUOTED([MATCH_LIMIT], [$with
735    limit. The limit exists in order to catch runaway regular    limit. The limit exists in order to catch runaway regular
736    expressions that take for ever to determine that they do not match.    expressions that take for ever to determine that they do not match.
737    The default is set very large so that it does not accidentally catch    The default is set very large so that it does not accidentally catch
738    legitimate cases. On systems that support it, "configure" can be    legitimate cases.])
   used to override this default default.])  
739    
740  AC_DEFINE_UNQUOTED([MATCH_LIMIT_RECURSION], [$with_match_limit_recursion], [  AC_DEFINE_UNQUOTED([MATCH_LIMIT_RECURSION], [$with_match_limit_recursion], [
741    The above limit applies to all calls of match(), whether or not they    The above limit applies to all calls of match(), whether or not they
# Line 559  AC_DEFINE_UNQUOTED([MATCH_LIMIT_RECURSIO Line 746  AC_DEFINE_UNQUOTED([MATCH_LIMIT_RECURSIO
746    MATCH_LIMIT_RECURSION applies only to recursive calls of match(). To    MATCH_LIMIT_RECURSION applies only to recursive calls of match(). To
747    have any useful effect, it must be less than the value of    have any useful effect, it must be less than the value of
748    MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT.    MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT.
749    There is a runtime method for setting a different limit. On systems    There is a runtime method for setting a different limit.])
   that support it, "configure" can be used to override the default.])  
750    
751  AC_DEFINE([MAX_NAME_SIZE], [32], [  AC_DEFINE([MAX_NAME_SIZE], [32], [
752    This limit is parameterized just in case anybody ever wants to    This limit is parameterized just in case anybody ever wants to
# Line 576  AH_VERBATIM([PCRE_EXP_DEFN], [ Line 762  AH_VERBATIM([PCRE_EXP_DEFN], [
762  /* If you are compiling for a system other than a Unix-like system or  /* If you are compiling for a system other than a Unix-like system or
763     Win32, and it needs some magic to be inserted before the definition     Win32, and it needs some magic to be inserted before the definition
764     of a function that is exported by the library, define this macro to     of a function that is exported by the library, define this macro to
765     contain the relevant magic. If you do not define this macro, it     contain the relevant magic. If you do not define this macro, a suitable
766     defaults to "extern" for a C compiler and "extern C" for a C++      __declspec value is used for Windows systems; in other environments
767     compiler on non-Win32 systems. This macro apears at the start of     "extern" is used for a C compiler and "extern C" for a C++ compiler.
768     every exported function that is part of the external API. It does     This macro apears at the start of every exported function that is part
769     not appear on functions that are "external" in the C sense, but     of the external API. It does not appear on functions that are "external"
770     which are internal to the library. */     in the C sense, but which are internal to the library. */
771  #undef PCRE_EXP_DEFN])  #undef PCRE_EXP_DEFN])
772    
773  if test "$enable_ebcdic" = "yes"; then  if test "$enable_ebcdic" = "yes"; then
774    AC_DEFINE_UNQUOTED([EBCDIC], [], [    AC_DEFINE_UNQUOTED([EBCDIC], [], [
775      If you are compiling for a system that uses EBCDIC instead of ASCII      If you are compiling for a system that uses EBCDIC instead of ASCII
776      character codes, define this macro as 1. On systems that can use      character codes, define this macro to any value. You must also edit the
777      "configure", this can be done via --enable-ebcdic. PCRE will then      NEWLINE macro below to set a suitable EBCDIC newline, commonly 21 (0x15).
778      assume that all input strings are in EBCDIC. If you do not define      On systems that can use "configure" or CMake to set EBCDIC, NEWLINE is
779      this macro, PCRE will assume input strings are ASCII or UTF-8 Unicode.      automatically adjusted. When EBCDIC is set, PCRE assumes that all input
780      It is not possible to build a version of PCRE that supports both      strings are in EBCDIC. If you do not define this macro, PCRE will assume
781      EBCDIC and UTF-8.])      input strings are ASCII or UTF-8/16 Unicode. It is not possible to build a
782  fi      version of PCRE that supports both EBCDIC and UTF-8/16.])
783    fi
784    
785    if test "$enable_ebcdic_nl25" = "yes"; then
786      AC_DEFINE_UNQUOTED([EBCDIC_NL25], [], [
787        In an EBCDIC environment, define this macro to any value to arrange for
788        the NL character to be 0x25 instead of the default 0x15. NL plays the role
789        that LF does in an ASCII/Unicode environment. The value must also be set in
790        the NEWLINE macro below. On systems that can use "configure" or CMake to
791        set EBCDIC_NL25, the adjustment of NEWLINE is automatic.])
792    fi
793    
794  # Platform specific issues  # Platform specific issues
795  NO_UNDEFINED=  NO_UNDEFINED=
# Line 613  esac Line 809  esac
809  EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \  EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
810                         $NO_UNDEFINED -version-info libpcre_version"                         $NO_UNDEFINED -version-info libpcre_version"
811    
812    EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
813                           $NO_UNDEFINED -version-info libpcre16_version"
814    
815  EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \  EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
816                              $NO_UNDEFINED -version-info libpcreposix_version"                              $NO_UNDEFINED -version-info libpcreposix_version"
817    
# Line 621  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRE Line 820  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRE
820                            $EXPORT_ALL_SYMBOLS"                            $EXPORT_ALL_SYMBOLS"
821    
822  AC_SUBST(EXTRA_LIBPCRE_LDFLAGS)  AC_SUBST(EXTRA_LIBPCRE_LDFLAGS)
823    AC_SUBST(EXTRA_LIBPCRE16_LDFLAGS)
824  AC_SUBST(EXTRA_LIBPCREPOSIX_LDFLAGS)  AC_SUBST(EXTRA_LIBPCREPOSIX_LDFLAGS)
825  AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS)  AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS)
826    
827  # When we run 'make distcheck', use these arguments.  # When we run 'make distcheck', use these arguments. Turning off compiler
828  DISTCHECK_CONFIGURE_FLAGS="--enable-cpp --enable-unicode-properties"  # optimization makes it run faster.
829    DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-jit --enable-cpp --enable-unicode-properties"
830  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
831    
832  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
# Line 659  AC_SUBST(LIBBZ2) Line 860  AC_SUBST(LIBBZ2)
860    
861  # Similarly for --enable-pcretest-readline  # Similarly for --enable-pcretest-readline
862    
863    if test "$enable_pcretest_libedit" = "yes"; then
864      if test "$enable_pcretest_libreadline" = "yes"; then
865        echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
866        exit 1
867      fi
868      if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
869              "$HAVE_READLINE_READLINE_H" != "1"; then
870        echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
871        echo "** nor readline/readline.h was found."
872        exit 1
873      fi
874      if test -z "$LIBEDIT"; then
875        echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
876        exit 1
877      fi
878    fi
879    
880  if test "$enable_pcretest_libreadline" = "yes"; then  if test "$enable_pcretest_libreadline" = "yes"; then
881    if test "$HAVE_READLINE_H" != "1"; then    if test "$HAVE_READLINE_H" != "1"; then
882      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 668  if test "$enable_pcretest_libreadline" = Line 886  if test "$enable_pcretest_libreadline" =
886      echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."      echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
887      exit 1      exit 1
888    fi    fi
889    LIBREADLINE="-lreadline"    if test -z "$LIBREADLINE"; then
890        echo "** Cannot --enable-pcretest-readline because readline library was not found."
891        exit 1
892      fi
893  fi  fi
 AC_SUBST(LIBREADLINE)  
894    
895  # Produce these files, in addition to config.h.  # Produce these files, in addition to config.h.
896  AC_CONFIG_FILES(  AC_CONFIG_FILES(
897          Makefile          Makefile
898          libpcre.pc          libpcre.pc
899          libpcreposix.pc          libpcre16.pc
900            libpcreposix.pc
901          libpcrecpp.pc          libpcrecpp.pc
902          pcre-config          pcre-config
903          pcre.h          pcre.h
# Line 693  AC_CONFIG_COMMANDS([delete-old-chartable Line 914  AC_CONFIG_COMMANDS([delete-old-chartable
914    
915  AC_OUTPUT  AC_OUTPUT
916    
917  # Print out a nice little message after configure is run displaying your  # Print out a nice little message after configure is run displaying the
918  # chosen options.  # chosen options.
919    
920    ebcdic_nl_code=n/a
921    if test "$enable_ebcdic_nl25" = "yes"; then
922      ebcdic_nl_code=0x25
923    elif test "$enable_ebcdic" = "yes"; then
924      ebcdic_nl_code=0x15
925    fi
926    
927  cat <<EOF  cat <<EOF
928    
929  $PACKAGE-$VERSION configuration summary:  $PACKAGE-$VERSION configuration summary:
# Line 712  $PACKAGE-$VERSION configuration summary: Line 940  $PACKAGE-$VERSION configuration summary:
940      Linker flags .................... : ${LDFLAGS}      Linker flags .................... : ${LDFLAGS}
941      Extra libraries ................. : ${LIBS}      Extra libraries ................. : ${LIBS}
942    
943        Build 8 bit pcre library ........ : ${enable_pcre8}
944        Build 16 bit pcre library ....... : ${enable_pcre16}
945      Build C++ library ............... : ${enable_cpp}      Build C++ library ............... : ${enable_cpp}
946      Enable UTF-8 support ............ : ${enable_utf8}      Enable JIT compiling support .... : ${enable_jit}
947        Enable UTF-8/16 support ......... : ${enable_utf}
948      Unicode properties .............. : ${enable_unicode_properties}      Unicode properties .............. : ${enable_unicode_properties}
949      Newline char/sequence ........... : ${enable_newline}      Newline char/sequence ........... : ${enable_newline}
950      \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}      \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
951      EBCDIC coding ................... : ${enable_ebcdic}      EBCDIC coding ................... : ${enable_ebcdic}
952        EBCDIC code for NL .............. : ${ebcdic_nl_code}
953      Rebuild char tables ............. : ${enable_rebuild_chartables}      Rebuild char tables ............. : ${enable_rebuild_chartables}
954      Use stack recursion ............. : ${enable_stack_for_recursion}      Use stack recursion ............. : ${enable_stack_for_recursion}
955      POSIX mem threshold ............. : ${with_posix_malloc_threshold}      POSIX mem threshold ............. : ${with_posix_malloc_threshold}
# Line 726  $PACKAGE-$VERSION configuration summary: Line 958  $PACKAGE-$VERSION configuration summary:
958      Match limit recursion ........... : ${with_match_limit_recursion}      Match limit recursion ........... : ${with_match_limit_recursion}
959      Build shared libs ............... : ${enable_shared}      Build shared libs ............... : ${enable_shared}
960      Build static libs ............... : ${enable_static}      Build static libs ............... : ${enable_static}
961        Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
962        Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
963      Link pcregrep with libz ......... : ${enable_pcregrep_libz}      Link pcregrep with libz ......... : ${enable_pcregrep_libz}
964      Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}      Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
965        Link pcretest with libedit ...... : ${enable_pcretest_libedit}
966      Link pcretest with libreadline .. : ${enable_pcretest_libreadline}      Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
967    
968  EOF  EOF

Legend:
Removed from v.539  
changed lines
  Added in v.1031

  ViewVC Help
Powered by ViewVC 1.1.5