8 |
|
|
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, [-RC3]) |
m4_define(pcre_prerelease, [-RC4]) |
12 |
m4_define(pcre_date, [2007-03-26]) |
m4_define(pcre_date, [2007-04-04]) |
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]) |
26 |
AC_PROG_INSTALL |
AC_PROG_INSTALL |
27 |
AC_LIBTOOL_WIN32_DLL |
AC_LIBTOOL_WIN32_DLL |
28 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
29 |
|
AC_PROG_LN_S |
30 |
|
|
31 |
PCRE_MAJOR="pcre_major" |
PCRE_MAJOR="pcre_major" |
32 |
PCRE_MINOR="pcre_minor" |
PCRE_MINOR="pcre_minor" |
156 |
|
|
157 |
# Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled. |
# Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled. |
158 |
# |
# |
159 |
if test "x$enable_ebcdie" = "xyes" |
if test "x$enable_ebcdic" = "xyes" |
160 |
then |
then |
161 |
enable_rebuild_chartables=yes |
enable_rebuild_chartables=yes |
162 |
fi |
fi |
338 |
change it. Care must be taken if it is increased, because it guards |
change it. Care must be taken if it is increased, because it guards |
339 |
against integer overflow caused by enormously large patterns.]) |
against integer overflow caused by enormously large patterns.]) |
340 |
|
|
341 |
AH_VERBATIM([PCRE_DATA_SCOPE], [ |
AH_VERBATIM([PCRE_EXP_DEFN], [ |
342 |
/* 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 |
343 |
Win32, and it needs some magic to be inserted before the definition |
Win32, and it needs some magic to be inserted before the definition |
344 |
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 |
348 |
every exported function that is part of the external API. It does |
every exported function that is part of the external API. It does |
349 |
not appear on functions that are "external" in the C sense, but |
not appear on functions that are "external" in the C sense, but |
350 |
which are internal to the library. */ |
which are internal to the library. */ |
351 |
#undef PCRE_DATA_SCOPE]) |
#undef PCRE_EXP_DEFN]) |
352 |
|
|
353 |
if test "$enable_ebcdic" = "yes"; then |
if test "$enable_ebcdic" = "yes"; then |
354 |
AC_DEFINE_UNQUOTED([EBCDIC], [], [ |
AC_DEFINE_UNQUOTED([EBCDIC], [], [ |
389 |
# Produce these files, in addition to config.h. |
# Produce these files, in addition to config.h. |
390 |
AC_CONFIG_FILES( |
AC_CONFIG_FILES( |
391 |
Makefile |
Makefile |
|
RunGrepTest |
|
|
RunTest |
|
392 |
libpcre.pc |
libpcre.pc |
393 |
libpcrecpp.pc |
libpcrecpp.pc |
394 |
pcre-config |
pcre-config |
398 |
) |
) |
399 |
|
|
400 |
# Make the generated script files executable. |
# Make the generated script files executable. |
401 |
AC_CONFIG_COMMANDS([script-chmod], [chmod a+x RunTest RunGrepTest pcre-config]) |
AC_CONFIG_COMMANDS([script-chmod], [chmod a+x pcre-config]) |
|
|
|
|
AC_OUTPUT |
|
402 |
|
|
403 |
# Make sure that pcre_chartables.c is removed in case the method for |
# Make sure that pcre_chartables.c is removed in case the method for |
404 |
# creating it was changed by reconfiguration. |
# creating it was changed by reconfiguration. |
405 |
|
AC_CONFIG_COMMANDS([delete-old-chartables], [rm -f pcre_chartables.c]) |
406 |
|
|
407 |
rm -f pcre_chartables.c |
AC_OUTPUT |
408 |
|
|
409 |
# Print out a nice little message after configure is run displaying your |
# Print out a nice little message after configure is run displaying your |
410 |
# chosen options. |
# chosen options. |