/[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 367 by ph10, Sun Aug 24 11:25:07 2008 UTC revision 1028 by ph10, Thu Sep 6 16:55:38 2012 UTC
# Line 1  Line 1 
1  dnl Process this file with autoconf to produce a configure script.  dnl Process this file with autoconf to produce a configure script.
2    
3  dnl NOTE FOR MAINTAINERS: Do not use major or minor version numbers with  dnl NOTE FOR MAINTAINERS: Do not use minor version numbers 08 or 09 because
4  dnl leading zeros, because they may be treated as octal constants. The  dnl the leading zeros may cause them to be treated as invalid octal constants
5  dnl PCRE_PRERELEASE feature is for identifying release candidates. It might  dnl if a PCRE user writes code that uses PCRE_MINOR as a number. There is now
6  dnl be defined as -RC2, for example. For real releases, it should be defined  dnl a check further down that throws an error if 08 or 09 are used.
 dnl empty.  
7    
8  m4_define(pcre_major, [7])  dnl The PCRE_PRERELEASE feature is for identifying release candidates. It might
9  m4_define(pcre_minor, [8])  dnl be defined as -RC2, for example. For real releases, it should be empty.
10    
11    m4_define(pcre_major, [8])
12    m4_define(pcre_minor, [32])
13  m4_define(pcre_prerelease, [-RC1])  m4_define(pcre_prerelease, [-RC1])
14  m4_define(pcre_date, [2008-08-25])  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)
33    AC_CONFIG_MACRO_DIR([m4])
34    
35  # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just  # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
36  # "-g" for any other compiler. There doesn't seem to be a standard way of  # "-g" for any other compiler. There doesn't seem to be a standard way of
37  # getting rid of the -g (which I don't think is needed for a production  # getting rid of the -g (which I don't think is needed for a production
# Line 63  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
80    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 76  PCRE_MINOR="pcre_minor" Line 89  PCRE_MINOR="pcre_minor"
89  PCRE_PRERELEASE="pcre_prerelease"  PCRE_PRERELEASE="pcre_prerelease"
90  PCRE_DATE="pcre_date"  PCRE_DATE="pcre_date"
91    
92    if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
93    then
94      echo "***"
95      echo "*** Minor version number $PCRE_MINOR must not be used. ***"
96      echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
97      echo "***"
98      exit 1
99    fi
100    
101  AC_SUBST(PCRE_MAJOR)  AC_SUBST(PCRE_MAJOR)
102  AC_SUBST(PCRE_MINOR)  AC_SUBST(PCRE_MINOR)
103  AC_SUBST(PCRE_PRERELEASE)  AC_SUBST(PCRE_PRERELEASE)
# Line 87  then Line 109  then
109    htmldir='${docdir}/html'    htmldir='${docdir}/html'
110  fi  fi
111    
112  # Handle --disable-cpp  # 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
127    # 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)
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,
# Line 102  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]),                               [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 --enable-newline=NL
# Line 150  AC_ARG_ENABLE(bsr-anycrlf, Line 206  AC_ARG_ENABLE(bsr-anycrlf,
206  # Handle --enable-ebcdic  # Handle --enable-ebcdic
207  AC_ARG_ENABLE(ebcdic,  AC_ARG_ENABLE(ebcdic,
208                AS_HELP_STRING([--enable-ebcdic],                AS_HELP_STRING([--enable-ebcdic],
209                               [assume EBCDIC coding rather than ASCII; use this 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]),
210                , enable_ebcdic=no)                , enable_ebcdic=no)
211    
212    # Handle --enable-ebcdic-nl25
213    AC_ARG_ENABLE(ebcdic-nl25,
214                  AS_HELP_STRING([--enable-ebcdic-nl25],
215                                 [set EBCDIC code for NL to 0x25 instead of 0x15; it implies --enable-ebcdic]),
216                  , enable_ebcdic_nl25=no)
217    
218  # Handle --disable-stack-for-recursion  # Handle --disable-stack-for-recursion
219  AC_ARG_ENABLE(stack-for-recursion,  AC_ARG_ENABLE(stack-for-recursion,
220                AS_HELP_STRING([--disable-stack-for-recursion],                AS_HELP_STRING([--disable-stack-for-recursion],
# Line 171  AC_ARG_ENABLE(pcregrep-libbz2, Line 233  AC_ARG_ENABLE(pcregrep-libbz2,
233                               [link pcregrep with libbz2 to handle .bz2 files]),                               [link pcregrep with libbz2 to handle .bz2 files]),
234                , enable_pcregrep_libbz2=no)                , enable_pcregrep_libbz2=no)
235    
236    # Handle --with-pcregrep-bufsize=N
237    AC_ARG_WITH(pcregrep-bufsize,
238                  AS_HELP_STRING([--with-pcregrep-bufsize=N],
239                                 [pcregrep buffer size (default=20480)]),
240                  , with_pcregrep_bufsize=20480)
241    
242    # Handle --enable-pcretest-libedit
243    AC_ARG_ENABLE(pcretest-libedit,
244                  AS_HELP_STRING([--enable-pcretest-libedit],
245                                 [link pcretest with libedit]),
246                  , enable_pcretest_libedit=no)
247    
248  # Handle --enable-pcretest-libreadline  # Handle --enable-pcretest-libreadline
249  AC_ARG_ENABLE(pcretest-libreadline,  AC_ARG_ENABLE(pcretest-libreadline,
250                AS_HELP_STRING([--enable-pcretest-libreadline],                AS_HELP_STRING([--enable-pcretest-libreadline],
# Line 208  AC_ARG_WITH(match-limit-recursion, Line 282  AC_ARG_WITH(match-limit-recursion,
282                             [default limit on internal recursion (default=MATCH_LIMIT)]),                             [default limit on internal recursion (default=MATCH_LIMIT)]),
283              , with_match_limit_recursion=MATCH_LIMIT)              , with_match_limit_recursion=MATCH_LIMIT)
284    
285  # Make sure that if enable_unicode_properties was set, that UTF-8 support  # Copy enable_utf8 value to enable_utf for compatibility reasons
286  # is enabled.  if test "x$enable_utf8" != "xunset"
287  #  then
288      if test "x$enable_utf" != "xunset"
289      then
290        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.])
291      fi
292      enable_utf=$enable_utf8
293    fi
294    
295    # Set the default value for pcre8
296    if test "x$enable_pcre8" = "xunset"
297    then
298      enable_pcre8=yes
299    fi
300    
301    # Set the default value for pcre16
302    if test "x$enable_pcre16" = "xunset"
303    then
304      enable_pcre16=no
305    fi
306    
307    # Make sure enable_pcre8 or enable_pcre16 was set
308    if test "x$enable_pcre8$enable_pcre16" = "xnono"
309    then
310      AC_MSG_ERROR([Either 8 or 16 bit (or both) pcre library must be enabled])
311    fi
312    
313    # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
314  if test "x$enable_unicode_properties" = "xyes"  if test "x$enable_unicode_properties" = "xyes"
315  then  then
316    if test "x$enable_utf8" = "xno"    if test "x$enable_utf" = "xno"
317    then    then
318      AC_MSG_ERROR([support for Unicode properties requires UTF-8 support])      AC_MSG_ERROR([support for Unicode properties requires UTF-8/16 support])
319    fi    fi
320    enable_utf8=yes    enable_utf=yes
321  fi  fi
322    
323  if test "x$enable_utf8" = "xunset"  # enable_utf is disabled by default.
324    if test "x$enable_utf" = "xunset"
325  then  then
326    enable_utf8=no    enable_utf=no
327  fi  fi
328    
329  # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.  # enable_cpp copies the value of enable_pcre8 by default
330  #  if test "x$enable_cpp" = "xunset"
 if test "x$enable_ebcdic" = "xyes"  
331  then  then
332    enable_rebuild_chartables=yes    enable_cpp=$enable_pcre8
333    fi
334    
335    # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
336    if test "x$enable_cpp" = "xyes"
337    then
338      if test "x$enable_pcre8" = "xno"
339      then
340        AC_MSG_ERROR([C++ library requires pcre library with 8 bit characters])
341      fi
342  fi  fi
343    
344  # Convert the newline identifier into the appropriate integer value.  # Convert the newline identifier into the appropriate integer value. The first
345    # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they
346    # are changed below.
347    
348  case "$enable_newline" in  case "$enable_newline" in
349    lf)      ac_pcre_newline_value=10   ;;    lf)      ac_pcre_newline_value=10   ;;
350    cr)      ac_pcre_newline_value=13   ;;    cr)      ac_pcre_newline_value=13   ;;
# Line 244  case "$enable_newline" in Line 356  case "$enable_newline" in
356    ;;    ;;
357  esac  esac
358    
359    # --enable-ebcdic-nl25 implies --enable-ebcdic
360    if test "x$enable_ebcdic_nl25" = "xyes"; then
361      enable_ebcdic=yes
362    fi
363    
364    # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled,
365    # and the newline value is adjusted appropriately (CR is still 13, but LF is
366    # 21 or 37). Also check that UTF support is not requested, because PCRE cannot
367    # handle EBCDIC and UTF in the same build. To do so it would need to use
368    # different character constants depending on the mode.
369    #
370    if test "x$enable_ebcdic" = "xyes"; then
371      enable_rebuild_chartables=yes
372    
373      if test "x$enable_utf" = "xyes"; then
374        AC_MSG_ERROR([support for EBCDIC and UTF-8/16 cannot be enabled at the same time])
375      fi
376    
377      if test "x$enable_ebcdic_nl25" = "xno"; then
378        case "$ac_pcre_newline_value" in
379          10)   ac_pcre_newline_value=21 ;;
380          3338) ac_pcre_newline_value=3349 ;;
381        esac
382      else
383        case "$ac_pcre_newline_value" in
384          10)   ac_pcre_newline_value=37 ;;
385          3338) ac_pcre_newline_value=3365 ;;
386        esac
387      fi
388    fi
389    
390  # Check argument to --with-link-size  # Check argument to --with-link-size
391  case "$with_link_size" in  case "$with_link_size" in
392    2|3|4) ;;    2|3|4) ;;
# Line 294  for flag in "-alias,__ZN7pcrecpp2RE6no_a Line 437  for flag in "-alias,__ZN7pcrecpp2RE6no_a
437    LDFLAGS="$OLD_LDFLAGS -Wl,$flag"    LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
438    # 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,
439    # we give up and remove the new flag from LDFLAGS.    # we give up and remove the new flag from LDFLAGS.
440    AC_LINK_IFELSE(AC_LANG_PROGRAM([namespace pcrecpp {    AC_LINK_IFELSE([AC_LANG_PROGRAM([namespace pcrecpp {
441                                      class RE { static int no_arg; };                                      class RE { static int no_arg; };
442                                      int RE::no_arg;                                      int RE::no_arg;
443                                    }],                                    }],
444                                   []),                                   [])],
445                   [AC_MSG_RESULT([yes]);                   [AC_MSG_RESULT([yes]);
446                    EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";                    EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
447                    break;],                    break;],
# Line 316  AC_CHECK_HEADERS(bits/type_traits.h, [pc Line 459  AC_CHECK_HEADERS(bits/type_traits.h, [pc
459  AC_CHECK_HEADERS(type_traits.h, [pcre_have_type_traits="1"],  AC_CHECK_HEADERS(type_traits.h, [pcre_have_type_traits="1"],
460                                  [pcre_have_type_traits="0"])                                  [pcre_have_type_traits="0"])
461    
462    # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
463    # in a c++ context.  This matters becuase strtoimax is C99 and may not
464    # be supported by the C++ compiler.)
465    # Figure out how to create a longlong from a string: strtoll and
466    # equiv.  It's not enough to call AC_CHECK_FUNCS: hpux has a
467    # strtoll, for instance, but it only takes 2 args instead of 3!
468    # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
469    AH_TEMPLATE(HAVE_STRTOQ, [Define to 1 if you have `strtoq'.])
470    AH_TEMPLATE(HAVE_STRTOLL, [Define to 1 if you have `strtoll'.])
471    AH_TEMPLATE(HAVE__STRTOI64, [Define to 1 if you have `_strtoi64'.])
472    AH_TEMPLATE(HAVE_STRTOIMAX, [Define to 1 if you have `strtoimax'.])
473    have_strto_fn=0
474    for fn in strtoq strtoll _strtoi64 strtoimax; do
475      AC_MSG_CHECKING([for $fn])
476      if test "$fn" = strtoimax; then
477        include=stdint.h
478      else
479        include=stdlib.h
480      fi
481      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <$include>],
482                                        [char* e; return $fn("100", &e, 10)])],
483                        [AC_MSG_RESULT(yes)
484                         AC_DEFINE_UNQUOTED(HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`, 1,
485                                            [Define to 1 if you have `$fn'.])
486                         have_strto_fn=1
487                         break],
488                        [AC_MSG_RESULT(no)])
489    done
490    
491    if test "$have_strto_fn" = 1; then
492      AC_CHECK_TYPES([long long],
493                     [pcre_have_long_long="1"],
494                     [pcre_have_long_long="0"])
495      AC_CHECK_TYPES([unsigned long long],
496                     [pcre_have_ulong_long="1"],
497                     [pcre_have_ulong_long="0"])
498    else
499      pcre_have_long_long="0"
500      pcre_have_ulong_long="0"
501    fi
502    AC_SUBST(pcre_have_long_long)
503    AC_SUBST(pcre_have_ulong_long)
504    
505  AC_LANG_POP  AC_LANG_POP
506  fi  fi
507  # Using AC_SUBST eliminates the need to include config.h in a public .h file  # Using AC_SUBST eliminates the need to include config.h in a public .h file
# Line 323  AC_SUBST(pcre_have_type_traits) Line 509  AC_SUBST(pcre_have_type_traits)
509  AC_SUBST(pcre_have_bits_type_traits)  AC_SUBST(pcre_have_bits_type_traits)
510    
511  # Conditional compilation  # Conditional compilation
512    AM_CONDITIONAL(WITH_PCRE8, test "x$enable_pcre8" = "xyes")
513    AM_CONDITIONAL(WITH_PCRE16, test "x$enable_pcre16" = "xyes")
514  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")  AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes")
515  AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")  AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes")
516    AM_CONDITIONAL(WITH_JIT, test "x$enable_jit" = "xyes")
517    AM_CONDITIONAL(WITH_UTF, test "x$enable_utf" = "xyes")
518    
519  # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
520    
521  AC_C_CONST  AC_C_CONST
522  AC_TYPE_SIZE_T  AC_TYPE_SIZE_T
523    
 pcre_have_strotolonglong=0  
 AC_CHECK_FUNCS(strtoq strtoll _strtoi64, [pcre_have_strotolonglong="1"; break])  
 # If we can't convert a string to a long long, pretend we don't even  
 # have a long long.  
 if test $pcre_have_strotolonglong = "0"; then  
    pcre_have_long_long="0"  
    pcre_have_ulong_long="0"  
 else  
   AC_CHECK_TYPES([long long],  
                  [pcre_have_long_long="1"],  
                  [pcre_have_long_long="0"])  
   AC_CHECK_TYPES([unsigned long long],  
                  [pcre_have_ulong_long="1"],  
                  [pcre_have_ulong_long="0"])  
 fi  
 AC_SUBST(pcre_have_long_long)  
 AC_SUBST(pcre_have_ulong_long)  
   
524  # Checks for library functions.  # Checks for library functions.
525    
526  AC_CHECK_FUNCS(bcopy memmove strerror)  AC_CHECK_FUNCS(bcopy memmove strerror)
# Line 358  AC_CHECK_FUNCS(bcopy memmove strerror) Line 530  AC_CHECK_FUNCS(bcopy memmove strerror)
530  AC_CHECK_HEADERS([zlib.h], [HAVE_ZLIB_H=1])  AC_CHECK_HEADERS([zlib.h], [HAVE_ZLIB_H=1])
531  AC_CHECK_LIB([z], [gzopen], [HAVE_LIBZ=1])  AC_CHECK_LIB([z], [gzopen], [HAVE_LIBZ=1])
532    
533  # Check for the availability of libbz2  # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
534    # as for libz. However, this had the following problem, diagnosed and fixed by
535    # a user:
536    #
537    #   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
538    #     under Win32.
539    #   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
540    #     therefore missing the function definition.
541    #   - The compiler thus generates a "C" signature for the test function.
542    #   - The linker fails to find the "C" function.
543    #   - PCRE fails to configure if asked to do so against libbz2.
544    #
545    # Solution:
546    #
547    #   - Replace the AC_CHECK_LIB test with a custom test.
548    
549  AC_CHECK_HEADERS([bzlib.h], [HAVE_BZLIB_H=1])  AC_CHECK_HEADERS([bzlib.h], [HAVE_BZLIB_H=1])
550  AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])  # Original test
551    # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
552    #
553    # Custom test follows
554    
555    AC_MSG_CHECKING([for libbz2])
556    OLD_LIBS="$LIBS"
557    LIBS="$LIBS -lbz2"
558    AC_LINK_IFELSE([AC_LANG_PROGRAM([[
559    #ifdef HAVE_BZLIB_H
560    #include <bzlib.h>
561    #endif]],
562    [[return (int)BZ2_bzopen("conftest", "rb");]])],
563    [AC_MSG_RESULT([yes]);HAVE_LIBBZ2=1; break;],
564    AC_MSG_RESULT([no]))
565    LIBS="$OLD_LIBS"
566    
567  # Check for the availabiity of libreadline  # Check for the availabiity of libreadline
568    
569  AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_H=1])  if test "$enable_pcretest_libreadline" = "yes"; then
570  AC_CHECK_HEADERS([readline/history.h], [HAVE_HISTORY_H=1])   AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_H=1])
571  AC_CHECK_LIB([readline], [readline], [HAVE_LIB_READLINE=1])   AC_CHECK_HEADERS([readline/history.h], [HAVE_HISTORY_H=1])
572     AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lreadline"],
573       [unset ac_cv_lib_readline_readline;
574        AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-ltinfo"],
575         [unset ac_cv_lib_readline_readline;
576          AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lcurses"],
577           [unset ac_cv_lib_readline_readline;
578            AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lncurses"],
579             [unset ac_cv_lib_readline_readline;
580              AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-lncursesw"],
581               [unset ac_cv_lib_readline_readline;
582                AC_CHECK_LIB([readline], [readline], [LIBREADLINE="-ltermcap"],
583                 [LIBREADLINE=""],
584                 [-ltermcap])],
585               [-lncursesw])],
586             [-lncurses])],
587           [-lcurses])],
588         [-ltinfo])])
589     AC_SUBST(LIBREADLINE)
590     if test -n "$LIBREADLINE"; then
591       if test "$LIBREADLINE" != "-lreadline"; then
592         echo "-lreadline needs $LIBREADLINE"
593         LIBREADLINE="-lreadline $LIBREADLINE"
594       fi
595     fi
596    fi
597    
598    
599    # Check for the availability of libedit. Different distributions put its
600    # headers in different places. Try to cover the most common ones.
601    
602    if test "$enable_pcretest_libedit" = "yes"; then
603      AC_CHECK_HEADERS([editline/readline.h], [HAVE_EDITLINE_READLINE_H=1],
604        [AC_CHECK_HEADERS([edit/readline/readline.h], [HAVE_READLINE_READLINE_H=1],
605          [AC_CHECK_HEADERS([readline/readline.h], [HAVE_READLINE_READLINE_H=1])])])
606      AC_CHECK_LIB([edit], [readline], [LIBEDIT="-ledit"])
607    fi
608    
609  # This facilitates -ansi builds under Linux  # This facilitates -ansi builds under Linux
610  dnl AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions in glibc])  dnl AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions in glibc])
611    
612    PCRE_STATIC_CFLAG=""
613  if test "x$enable_shared" = "xno" ; then  if test "x$enable_shared" = "xno" ; then
614    AC_DEFINE([PCRE_STATIC], [1], [    AC_DEFINE([PCRE_STATIC], [1], [
615      Define if linking statically (TODO: make nice with Libtool)])      Define to any value if linking statically (TODO: make nice with Libtool)])
616      PCRE_STATIC_CFLAG="-DPCRE_STATIC"
617  fi  fi
618    AC_SUBST(PCRE_STATIC_CFLAG)
619    
620  # Here is where pcre specific defines are handled  # Here is where pcre specific defines are handled
621    
622  if test "$enable_utf8" = "yes"; then  if test "$enable_pcre8" = "yes"; then
623    AC_DEFINE([SUPPORT_UTF8], [], [    AC_DEFINE([SUPPORT_PCRE8], [], [
624      Define to enable support for the UTF-8 Unicode encoding.])      Define to any value to enable the 8 bit PCRE library.])
625    fi
626    
627    if test "$enable_pcre16" = "yes"; then
628      AC_DEFINE([SUPPORT_PCRE16], [], [
629        Define to any value to enable the 16 bit PCRE library.])
630    fi
631    
632    if test "$enable_jit" = "yes"; then
633      AX_PTHREAD([], [AC_MSG_ERROR([JIT support requires pthreads])])
634      CC="$PTHREAD_CC"
635      CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
636      LIBS="$PTHREAD_LIBS $LIBS"
637      AC_DEFINE([SUPPORT_JIT], [], [
638        Define to any value to enable support for Just-In-Time compiling.])
639    else
640      enable_pcregrep_jit="no"
641    fi
642    
643    if test "$enable_pcregrep_jit" = "yes"; then
644      AC_DEFINE([SUPPORT_PCREGREP_JIT], [], [
645        Define to any value to enable JIT support in pcregrep.])
646    fi
647    
648    if test "$enable_utf" = "yes"; then
649      AC_DEFINE([SUPPORT_UTF], [], [
650        Define to any value to enable support for the UTF-8/16 Unicode encoding.
651        This will work even in an EBCDIC environment, but it is incompatible
652        with the EBCDIC macro. That is, PCRE can support *either* EBCDIC
653        code *or* ASCII/UTF-8/16, but not both at once.])
654  fi  fi
655    
656  if test "$enable_unicode_properties" = "yes"; then  if test "$enable_unicode_properties" = "yes"; then
657    AC_DEFINE([SUPPORT_UCP], [], [    AC_DEFINE([SUPPORT_UCP], [], [
658      Define to enable support for Unicode properties])      Define to any value to enable support for Unicode properties.])
659  fi  fi
660    
661  if test "$enable_stack_for_recursion" = "no"; then  if test "$enable_stack_for_recursion" = "no"; then
662    AC_DEFINE([NO_RECURSE], [], [    AC_DEFINE([NO_RECURSE], [], [
663      PCRE uses recursive function calls to handle backtracking while      PCRE uses recursive function calls to handle backtracking while
664      matching. This can sometimes be a problem on systems that have      matching. This can sometimes be a problem on systems that have
665      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
666      doesn't use recursion in the match() function; instead it creates      version that doesn't use recursion in the match() function; instead
667      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
668      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
669      just above the match() function. On systems that support it,      just above the match() function. On systems that support it, "configure"
670      "configure" can be used to set this in the Makefile      can be used to set this in the Makefile (use
671      (use --disable-stack-for-recursion).])      --disable-stack-for-recursion).])
672  fi  fi
673    
674  if test "$enable_pcregrep_libz" = "yes"; then  if test "$enable_pcregrep_libz" = "yes"; then
675    AC_DEFINE([SUPPORT_LIBZ], [], [    AC_DEFINE([SUPPORT_LIBZ], [], [
676      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
677      able to handle .gz files.])      able to handle .gz files.])
678  fi  fi
679    
680  if test "$enable_pcregrep_libbz2" = "yes"; then  if test "$enable_pcregrep_libbz2" = "yes"; then
681    AC_DEFINE([SUPPORT_LIBBZ2], [], [    AC_DEFINE([SUPPORT_LIBBZ2], [], [
682      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
683      able to handle .bz2 files.])      is able to handle .bz2 files.])
684  fi  fi
685    
686  if test "$enable_pcretest_libreadline" = "yes"; then  if test $with_pcregrep_bufsize -lt 8192 ; then
687      with_pcregrep_bufsize="8192"
688    fi
689    
690    AC_DEFINE_UNQUOTED([PCREGREP_BUFSIZE], [$with_pcregrep_bufsize], [
691      The value of PCREGREP_BUFSIZE determines the size of buffer used by
692      pcregrep to hold parts of the file it is searching. On systems that
693      support it, "configure" can be used to override the default, which is
694      20K. This is also the minimum value. The actual amount of memory used by
695      pcregrep is three times this number, because it allows for the buffering of
696      "before" and "after" lines.])
697    
698    if test "$enable_pcretest_libedit" = "yes"; then
699      AC_DEFINE([SUPPORT_LIBEDIT], [], [
700        Define to any value to allow pcretest to be linked with libedit.])
701      LIBREADLINE="$LIBEDIT"
702    elif test "$enable_pcretest_libreadline" = "yes"; then
703    AC_DEFINE([SUPPORT_LIBREADLINE], [], [    AC_DEFINE([SUPPORT_LIBREADLINE], [], [
704      Define to allow pcretest to be linked with libreadline.])      Define to any value to allow pcretest to be linked with libreadline.])
705  fi  fi
706    
707  AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [  AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [
708    The value of NEWLINE determines the newline character sequence. On    The value of NEWLINE determines the newline character sequence. On
709    systems that support it, "configure" can be used to override the    systems that support it, "configure" can be used to override the
710    default, which is 10. The possible values are 10 (LF), 13 (CR),    default, which is LF. In ASCII environments, the value can be 10 (LF),
711    3338 (CRLF), -1 (ANY), or -2 (ANYCRLF).])    13 (CR), or 3338 (CRLF); in EBCDIC environments the value can be 21 or 37
712      (LF), 13 (CR), or 3349 or 3365 (CRLF) because there are two alternative
713      codepoints (0x15 and 0x25) that are used as the NL line terminator that is
714      equivalent to ASCII LF. In both ASCII and EBCDIC environments the value can
715      also be -1 (ANY), or -2 (ANYCRLF).])
716    
717  if test "$enable_bsr_anycrlf" = "yes"; then  if test "$enable_bsr_anycrlf" = "yes"; then
718    AC_DEFINE([BSR_ANYCRLF], [], [    AC_DEFINE([BSR_ANYCRLF], [], [
719      By default, the \R escape sequence matches any Unicode line ending      By default, the \R escape sequence matches any Unicode line ending
720      character or sequence of characters. If BSR_ANYCRLF is defined, this is      character or sequence of characters. If BSR_ANYCRLF is defined (to any
721      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.
722      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.
723      systems that support it, "configure" can be used to override the      On systems that support it, "configure" can be used to override the
724      default.])      default.])
725  fi  fi
726    
# Line 490  AH_VERBATIM([PCRE_EXP_DEFN], [ Line 779  AH_VERBATIM([PCRE_EXP_DEFN], [
779  /* 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
780     Win32, and it needs some magic to be inserted before the definition     Win32, and it needs some magic to be inserted before the definition
781     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
782     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
783     defaults to "extern" for a C compiler and "extern C" for a C++      __declspec value is used for Windows systems; in other environments
784     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.
785     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
786     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"
787     which are internal to the library. */     in the C sense, but which are internal to the library. */
788  #undef PCRE_EXP_DEFN])  #undef PCRE_EXP_DEFN])
789    
790  if test "$enable_ebcdic" = "yes"; then  if test "$enable_ebcdic" = "yes"; then
791    AC_DEFINE_UNQUOTED([EBCDIC], [], [    AC_DEFINE_UNQUOTED([EBCDIC], [], [
792      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
793      character codes, define this macro as 1. On systems that can use      character codes, define this macro to any value. On systems that can
794      "configure", this can be done via --enable-ebcdic.])      use "configure", this can be done via --enable-ebcdic. PCRE will then
795        assume that all input strings are in EBCDIC. If you do not define
796        this macro, PCRE will assume input strings are ASCII or UTF-8/16
797        Unicode. It is not possible to build a version of PCRE that
798        supports both EBCDIC and UTF-8/16.])
799  fi  fi
800    
801    if test "$enable_ebcdic_nl25" = "yes"; then
802      AC_DEFINE_UNQUOTED([EBCDIC_NL25], [], [
803        In an EBCDIC environment, define this macro to any value to arrange for
804        the NL character to be 0x25 instead of the default 0x15. NL plays the role
805        that LF does in an ASCII/Unicode environment.])
806    fi
807    
808  # Platform specific issues  # Platform specific issues
809  NO_UNDEFINED=  NO_UNDEFINED=
810  EXPORT_ALL_SYMBOLS=  EXPORT_ALL_SYMBOLS=
# Line 523  esac Line 823  esac
823  EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \  EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
824                         $NO_UNDEFINED -version-info libpcre_version"                         $NO_UNDEFINED -version-info libpcre_version"
825    
826    EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
827                           $NO_UNDEFINED -version-info libpcre16_version"
828    
829  EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \  EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
830                              $NO_UNDEFINED -version-info libpcreposix_version"                              $NO_UNDEFINED -version-info libpcreposix_version"
831    
# Line 531  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRE Line 834  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRE
834                            $EXPORT_ALL_SYMBOLS"                            $EXPORT_ALL_SYMBOLS"
835    
836  AC_SUBST(EXTRA_LIBPCRE_LDFLAGS)  AC_SUBST(EXTRA_LIBPCRE_LDFLAGS)
837    AC_SUBST(EXTRA_LIBPCRE16_LDFLAGS)
838  AC_SUBST(EXTRA_LIBPCREPOSIX_LDFLAGS)  AC_SUBST(EXTRA_LIBPCREPOSIX_LDFLAGS)
839  AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS)  AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS)
840    
841  # When we run 'make distcheck', use these arguments.  # When we run 'make distcheck', use these arguments. Turning off compiler
842  DISTCHECK_CONFIGURE_FLAGS="--enable-cpp --enable-unicode-properties"  # optimization makes it run faster.
843    DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-jit --enable-cpp --enable-unicode-properties"
844  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)  AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
845    
846  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is  # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
847  # specified, the relevant library is available. If so, add it to LIBS.  # specified, the relevant library is available.
848    
849  if test "$enable_pcregrep_libz" = "yes"; then  if test "$enable_pcregrep_libz" = "yes"; then
850    if test "$HAVE_ZLIB_H" != "1"; then    if test "$HAVE_ZLIB_H" != "1"; then
# Line 550  if test "$enable_pcregrep_libz" = "yes"; Line 855  if test "$enable_pcregrep_libz" = "yes";
855      echo "** Cannot --enable-pcregrep-libz because libz was not found"      echo "** Cannot --enable-pcregrep-libz because libz was not found"
856      exit 1      exit 1
857    fi    fi
858    if test "$LIBS" = ""; then LIBS=-lz; else LIBS="$LIBS -lz"; fi    LIBZ="-lz"
859  fi  fi
860    AC_SUBST(LIBZ)
861    
862  if test "$enable_pcregrep_libbz2" = "yes"; then  if test "$enable_pcregrep_libbz2" = "yes"; then
863    if test "$HAVE_BZLIB_H" != "1"; then    if test "$HAVE_BZLIB_H" != "1"; then
# Line 562  if test "$enable_pcregrep_libbz2" = "yes Line 868  if test "$enable_pcregrep_libbz2" = "yes
868      echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"      echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
869      exit 1      exit 1
870    fi    fi
871    if test "$LIBS" = ""; then LIBS=-lbz2; else LIBS="$LIBS -lbz2"; fi    LIBBZ2="-lbz2"
872  fi  fi
873    AC_SUBST(LIBBZ2)
874    
875  # Similarly for --enable-pcretest-readline  # Similarly for --enable-pcretest-readline
876    
877    if test "$enable_pcretest_libedit" = "yes"; then
878      if test "$enable_pcretest_libreadline" = "yes"; then
879        echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
880        exit 1
881      fi
882      if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
883              "$HAVE_READLINE_READLINE_H" != "1"; then
884        echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
885        echo "** nor readline/readline.h was found."
886        exit 1
887      fi
888      if test -z "$LIBEDIT"; then
889        echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
890        exit 1
891      fi
892    fi
893    
894  if test "$enable_pcretest_libreadline" = "yes"; then  if test "$enable_pcretest_libreadline" = "yes"; then
895    if test "$HAVE_READLINE_H" != "1"; then    if test "$HAVE_READLINE_H" != "1"; then
896      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 576  if test "$enable_pcretest_libreadline" = Line 900  if test "$enable_pcretest_libreadline" =
900      echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."      echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
901      exit 1      exit 1
902    fi    fi
903    if test "$LIBS" = ""; then LIBS=-lreadline; else LIBS="$LIBS -lreadline"; fi    if test -z "$LIBREADLINE"; then
904        echo "** Cannot --enable-pcretest-readline because readline library was not found."
905        exit 1
906      fi
907  fi  fi
908    
909  # Produce these files, in addition to config.h.  # Produce these files, in addition to config.h.
910  AC_CONFIG_FILES(  AC_CONFIG_FILES(
911          Makefile          Makefile
912          libpcre.pc          libpcre.pc
913            libpcre16.pc
914            libpcreposix.pc
915          libpcrecpp.pc          libpcrecpp.pc
916          pcre-config          pcre-config
917          pcre.h          pcre.h
# Line 599  AC_CONFIG_COMMANDS([delete-old-chartable Line 928  AC_CONFIG_COMMANDS([delete-old-chartable
928    
929  AC_OUTPUT  AC_OUTPUT
930    
931  # Print out a nice little message after configure is run displaying your  # Print out a nice little message after configure is run displaying the
932  # chosen options.  # chosen options.
933    
934    ebcdic_nl_code=n/a
935    if test "$enable_ebcdic_nl25" = "yes"; then
936      ebcdic_nl_code=0x25
937    elif test "$enable_ebcdic" = "yes"; then
938      ebcdic_nl_code=0x15
939    fi
940    
941  cat <<EOF  cat <<EOF
942    
943  $PACKAGE-$VERSION configuration summary:  $PACKAGE-$VERSION configuration summary:
# Line 618  $PACKAGE-$VERSION configuration summary: Line 954  $PACKAGE-$VERSION configuration summary:
954      Linker flags .................... : ${LDFLAGS}      Linker flags .................... : ${LDFLAGS}
955      Extra libraries ................. : ${LIBS}      Extra libraries ................. : ${LIBS}
956    
957        Build 8 bit pcre library ........ : ${enable_pcre8}
958        Build 16 bit pcre library ....... : ${enable_pcre16}
959      Build C++ library ............... : ${enable_cpp}      Build C++ library ............... : ${enable_cpp}
960      Enable UTF-8 support ............ : ${enable_utf8}      Enable JIT compiling support .... : ${enable_jit}
961        Enable UTF-8/16 support ......... : ${enable_utf}
962      Unicode properties .............. : ${enable_unicode_properties}      Unicode properties .............. : ${enable_unicode_properties}
963      Newline char/sequence ........... : ${enable_newline}      Newline char/sequence ........... : ${enable_newline}
964      \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}      \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
965      EBCDIC coding ................... : ${enable_ebcdic}      EBCDIC coding ................... : ${enable_ebcdic}
966        EBCDIC code for NL .............. : ${ebcdic_nl_code}
967      Rebuild char tables ............. : ${enable_rebuild_chartables}      Rebuild char tables ............. : ${enable_rebuild_chartables}
968      Use stack recursion ............. : ${enable_stack_for_recursion}      Use stack recursion ............. : ${enable_stack_for_recursion}
969      POSIX mem threshold ............. : ${with_posix_malloc_threshold}      POSIX mem threshold ............. : ${with_posix_malloc_threshold}
# Line 632  $PACKAGE-$VERSION configuration summary: Line 972  $PACKAGE-$VERSION configuration summary:
972      Match limit recursion ........... : ${with_match_limit_recursion}      Match limit recursion ........... : ${with_match_limit_recursion}
973      Build shared libs ............... : ${enable_shared}      Build shared libs ............... : ${enable_shared}
974      Build static libs ............... : ${enable_static}      Build static libs ............... : ${enable_static}
975        Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
976        Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
977      Link pcregrep with libz ......... : ${enable_pcregrep_libz}      Link pcregrep with libz ......... : ${enable_pcregrep_libz}
978      Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}      Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
979        Link pcretest with libedit ...... : ${enable_pcretest_libedit}
980      Link pcretest with libreadline .. : ${enable_pcretest_libreadline}      Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
981    
982  EOF  EOF

Legend:
Removed from v.367  
changed lines
  Added in v.1028

  ViewVC Help
Powered by ViewVC 1.1.5