| 7 |
dnl empty. |
dnl empty. |
| 8 |
|
|
| 9 |
m4_define(pcre_major, [7]) |
m4_define(pcre_major, [7]) |
| 10 |
m4_define(pcre_minor, [8]) |
m4_define(pcre_minor, [9]) |
| 11 |
m4_define(pcre_prerelease, []) |
m4_define(pcre_prerelease, [-RC1]) |
| 12 |
m4_define(pcre_date, [2008-09-05]) |
m4_define(pcre_date, [2009-02-27]) |
| 13 |
|
|
| 14 |
# Libtool shared library interface versions (current:revision:age) |
# Libtool shared library interface versions (current:revision:age) |
| 15 |
m4_define(libpcre_version, [0:1:0]) |
m4_define(libpcre_version, [0:1:0]) |
| 539 |
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) |
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) |
| 540 |
|
|
| 541 |
# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is |
# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is |
| 542 |
# specified, the relevant library is available. If so, add it to LIBS. |
# specified, the relevant library is available. |
| 543 |
|
|
| 544 |
if test "$enable_pcregrep_libz" = "yes"; then |
if test "$enable_pcregrep_libz" = "yes"; then |
| 545 |
if test "$HAVE_ZLIB_H" != "1"; then |
if test "$HAVE_ZLIB_H" != "1"; then |
| 550 |
echo "** Cannot --enable-pcregrep-libz because libz was not found" |
echo "** Cannot --enable-pcregrep-libz because libz was not found" |
| 551 |
exit 1 |
exit 1 |
| 552 |
fi |
fi |
| 553 |
if test "$LIBS" = ""; then LIBS=-lz; else LIBS="$LIBS -lz"; fi |
LIBZ="-lz" |
| 554 |
fi |
fi |
| 555 |
|
AC_SUBST(LIBZ) |
| 556 |
|
|
| 557 |
if test "$enable_pcregrep_libbz2" = "yes"; then |
if test "$enable_pcregrep_libbz2" = "yes"; then |
| 558 |
if test "$HAVE_BZLIB_H" != "1"; then |
if test "$HAVE_BZLIB_H" != "1"; then |
| 563 |
echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found" |
echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found" |
| 564 |
exit 1 |
exit 1 |
| 565 |
fi |
fi |
| 566 |
if test "$LIBS" = ""; then LIBS=-lbz2; else LIBS="$LIBS -lbz2"; fi |
LIBBZ2="-lbz2" |
| 567 |
fi |
fi |
| 568 |
|
AC_SUBST(LIBBZ2) |
| 569 |
|
|
| 570 |
# Similarly for --enable-pcretest-readline |
# Similarly for --enable-pcretest-readline |
| 571 |
|
|
| 578 |
echo "** Cannot --enable-pcretest-readline because readline/history.h was not found." |
echo "** Cannot --enable-pcretest-readline because readline/history.h was not found." |
| 579 |
exit 1 |
exit 1 |
| 580 |
fi |
fi |
| 581 |
if test "$LIBS" = ""; then LIBS=-lreadline; else LIBS="$LIBS -lreadline"; fi |
LIBREADLINE="-lreadline" |
| 582 |
fi |
fi |
| 583 |
|
AC_SUBST(LIBREADLINE) |
| 584 |
|
|
| 585 |
# Produce these files, in addition to config.h. |
# Produce these files, in addition to config.h. |
| 586 |
AC_CONFIG_FILES( |
AC_CONFIG_FILES( |