| 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, [13]) |
m4_define(pcre_minor, [20]) |
| 13 |
m4_define(pcre_prerelease, []) |
m4_define(pcre_prerelease, [-RC1]) |
| 14 |
m4_define(pcre_date, [2011-08-16]) |
m4_define(pcre_date, [2011-08-18]) |
| 15 |
|
|
| 16 |
# Libtool shared library interface versions (current:revision:age) |
# Libtool shared library interface versions (current:revision:age) |
| 17 |
m4_define(libpcre_version, [0:1:0]) |
m4_define(libpcre_version, [0:1:0]) |
| 112 |
, enable_cpp=yes) |
, enable_cpp=yes) |
| 113 |
AC_SUBST(enable_cpp) |
AC_SUBST(enable_cpp) |
| 114 |
|
|
| 115 |
|
# Handle --enable-jit (disabled by default) |
| 116 |
|
AC_ARG_ENABLE(jit, |
| 117 |
|
AS_HELP_STRING([--enable-jit], |
| 118 |
|
[enable Just-In-Time compiling support]), |
| 119 |
|
, enable_jit=no) |
| 120 |
|
|
| 121 |
# Handle --enable-rebuild-chartables |
# Handle --enable-rebuild-chartables |
| 122 |
AC_ARG_ENABLE(rebuild-chartables, |
AC_ARG_ENABLE(rebuild-chartables, |
| 123 |
AS_HELP_STRING([--enable-rebuild-chartables], |
AS_HELP_STRING([--enable-rebuild-chartables], |
| 406 |
# Conditional compilation |
# Conditional compilation |
| 407 |
AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes") |
AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes") |
| 408 |
AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes") |
AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes") |
| 409 |
|
AM_CONDITIONAL(WITH_JIT, test "x$enable_jit" = "xyes") |
| 410 |
|
|
| 411 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 412 |
|
|
| 475 |
|
|
| 476 |
# Here is where pcre specific defines are handled |
# Here is where pcre specific defines are handled |
| 477 |
|
|
| 478 |
|
if test "$enable_jit" = "yes"; then |
| 479 |
|
AC_DEFINE([SUPPORT_JIT], [], [ |
| 480 |
|
Define to enable support for Just-In-Time compiling.]) |
| 481 |
|
fi |
| 482 |
|
|
| 483 |
if test "$enable_utf8" = "yes"; then |
if test "$enable_utf8" = "yes"; then |
| 484 |
AC_DEFINE([SUPPORT_UTF8], [], [ |
AC_DEFINE([SUPPORT_UTF8], [], [ |
| 485 |
Define to enable support for the UTF-8 Unicode encoding. This will |
Define to enable support for the UTF-8 Unicode encoding. This will |
| 490 |
|
|
| 491 |
if test "$enable_unicode_properties" = "yes"; then |
if test "$enable_unicode_properties" = "yes"; then |
| 492 |
AC_DEFINE([SUPPORT_UCP], [], [ |
AC_DEFINE([SUPPORT_UCP], [], [ |
| 493 |
Define to enable support for Unicode properties]) |
Define to enable support for Unicode properties.]) |
| 494 |
fi |
fi |
| 495 |
|
|
| 496 |
if test "$enable_stack_for_recursion" = "no"; then |
if test "$enable_stack_for_recursion" = "no"; then |
| 655 |
AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS) |
AC_SUBST(EXTRA_LIBPCRECPP_LDFLAGS) |
| 656 |
|
|
| 657 |
# When we run 'make distcheck', use these arguments. |
# When we run 'make distcheck', use these arguments. |
| 658 |
DISTCHECK_CONFIGURE_FLAGS="--enable-cpp --enable-unicode-properties" |
DISTCHECK_CONFIGURE_FLAGS="--enable-jit --enable-cpp --enable-unicode-properties" |
| 659 |
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) |
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) |
| 660 |
|
|
| 661 |
# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is |
# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is |
| 743 |
Extra libraries ................. : ${LIBS} |
Extra libraries ................. : ${LIBS} |
| 744 |
|
|
| 745 |
Build C++ library ............... : ${enable_cpp} |
Build C++ library ............... : ${enable_cpp} |
| 746 |
|
Enable JIT compiling support .... : ${enable_jit} |
| 747 |
Enable UTF-8 support ............ : ${enable_utf8} |
Enable UTF-8 support ............ : ${enable_utf8} |
| 748 |
Unicode properties .............. : ${enable_unicode_properties} |
Unicode properties .............. : ${enable_unicode_properties} |
| 749 |
Newline char/sequence ........... : ${enable_newline} |
Newline char/sequence ........... : ${enable_newline} |