9 |
m4_define(pcre_major, [7]) |
m4_define(pcre_major, [7]) |
10 |
m4_define(pcre_minor, [1]) |
m4_define(pcre_minor, [1]) |
11 |
m4_define(pcre_prerelease, [-RC2]) |
m4_define(pcre_prerelease, [-RC2]) |
12 |
m4_define(pcre_date, [2007-03-19]) |
m4_define(pcre_date, [2007-03-20]) |
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]) |
49 |
[disable C++ support]), |
[disable C++ support]), |
50 |
, enable_cpp=yes) |
, enable_cpp=yes) |
51 |
|
|
52 |
|
# Handle --enable-rebuild-chartables |
53 |
|
AC_ARG_ENABLE(rebuild-chartables, |
54 |
|
AS_HELP_STRING([--enable-rebuild-chartables], |
55 |
|
[rebuild character tables in current locale]), |
56 |
|
, enable_rebuild_chartables=no) |
57 |
|
|
58 |
# Handle --enable-utf8 (disabled by default) |
# Handle --enable-utf8 (disabled by default) |
59 |
AC_ARG_ENABLE(utf8, |
AC_ARG_ENABLE(utf8, |
60 |
AS_HELP_STRING([--enable-utf8], |
AS_HELP_STRING([--enable-utf8], |
96 |
# Handle --enable-ebcdic |
# Handle --enable-ebcdic |
97 |
AC_ARG_ENABLE(ebcdic, |
AC_ARG_ENABLE(ebcdic, |
98 |
AS_HELP_STRING([--enable-ebcdic], |
AS_HELP_STRING([--enable-ebcdic], |
99 |
[assume EBCDIC coding rather than ASCII]), |
[assume EBCDIC coding rather than ASCII (implies --enable-rebuild-chartables)]), |
100 |
, enable_ebcdic=no) |
, enable_ebcdic=no) |
101 |
|
|
102 |
# Handle --disable-stack-for-recursion |
# Handle --disable-stack-for-recursion |
153 |
enable_utf8=no |
enable_utf8=no |
154 |
fi |
fi |
155 |
|
|
156 |
|
# Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled. |
157 |
|
# |
158 |
|
if test "x$enable_ebcdie" = "xyes" |
159 |
|
then |
160 |
|
enable_rebuild_chartables=yes |
161 |
|
fi |
162 |
|
|
163 |
# Convert the newline identifier into the appropriate integer value. |
# Convert the newline identifier into the appropriate integer value. |
164 |
case "$enable_newline" in |
case "$enable_newline" in |
165 |
lf) ac_pcre_newline_value=10 ;; |
lf) ac_pcre_newline_value=10 ;; |
222 |
|
|
223 |
# Conditional compilation |
# Conditional compilation |
224 |
AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes") |
AM_CONDITIONAL(WITH_PCRE_CPP, test "x$enable_cpp" = "xyes") |
225 |
|
AM_CONDITIONAL(WITH_REBUILD_CHARTABLES, test "x$enable_rebuild_chartables" = "xyes") |
226 |
|
|
227 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
228 |
|
|
403 |
|
|
404 |
AC_OUTPUT |
AC_OUTPUT |
405 |
|
|
406 |
|
# Make sure that pcre_chartables.c is removed in case the method for |
407 |
|
# creating it was changed by reconfiguration. |
408 |
|
|
409 |
|
rm -f pcre_chartables.c |
410 |
|
|
411 |
# Print out a nice little message after configure is run displaying your |
# Print out a nice little message after configure is run displaying your |
412 |
# chosen options. |
# chosen options. |
413 |
# |
# |
432 |
Unicode properties ..... : ${enable_unicode_properties} |
Unicode properties ..... : ${enable_unicode_properties} |
433 |
Newline char/sequence .. : ${enable_newline} |
Newline char/sequence .. : ${enable_newline} |
434 |
EBCDIC coding .......... : ${enable_ebcdic} |
EBCDIC coding .......... : ${enable_ebcdic} |
435 |
|
Rebuild char tables .... : ${enable_rebuild_chartables} |
436 |
Use stack recursion .... : ${enable_stack_for_recursion} |
Use stack recursion .... : ${enable_stack_for_recursion} |
437 |
POSIX mem threshold .... : ${with_posix_malloc_threshold} |
POSIX mem threshold .... : ${with_posix_malloc_threshold} |
438 |
Internal link size ..... : ${with_link_size} |
Internal link size ..... : ${with_link_size} |