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, [-RC1]) |
m4_define(pcre_prerelease, [-RC1]) |
12 |
m4_define(pcre_date, [2007-03-05]) |
m4_define(pcre_date, [2007-03-12]) |
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]) |
172 |
Standard C, but there are a few non-standard things it can cope with, allowing |
Standard C, but there are a few non-standard things it can cope with, allowing |
173 |
it to run on SunOS4 and other "close to standard" systems. |
it to run on SunOS4 and other "close to standard" systems. |
174 |
|
|
175 |
On a system without "configure" you should use the distributed config.h, and |
If you are going to build PCRE "by hand" on a system without "configure" you |
176 |
set up the macros the way you need them. |
should copy the distributed config.h.generic to config.h, and then set up the |
177 |
|
macros the way you need them. Alternatively, you can avoid editing by using -D |
178 |
If your system has bcopy() and not memmove(), change the definitions of |
on the compiler command line to set the macro values. |
179 |
HAVE_BCOPY and HAVE_MEMMOVE. If your system has neither bcopy() nor memmove(), |
|
180 |
leave them both undefined; an emulation function will be used. */]) |
PCRE uses memmove() if HAVE_MEMMOVE is set to 1; otherwise it uses bcopy() if |
181 |
|
HAVE_BCOPY is set to 1. If your system has neither bcopy() nor memmove(), set |
182 |
|
them both to 0; an emulation function will be used. */]) |
183 |
|
|
184 |
# Checks for header files. |
# Checks for header files. |
185 |
AC_HEADER_STDC |
AC_HEADER_STDC |
262 |
fi |
fi |
263 |
|
|
264 |
AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [ |
AC_DEFINE_UNQUOTED([NEWLINE], [$ac_pcre_newline_value], [ |
265 |
The value of NEWLINE determines the newline character sequence. On |
The value of NEWLINE determines the newline character sequence. On |
266 |
Unix-like systems, "configure" can be used to override the default, |
Unix-like systems, "configure" can be used to override the default, |
267 |
which is 10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), |
which is 10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), |
268 |
or -1 (ANY).]) |
or -1 (ANY).]) |
269 |
|
|
270 |
AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ |
AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ |
304 |
NO_RECURSE is defined) that is used. The value of |
NO_RECURSE is defined) that is used. The value of |
305 |
MATCH_LIMIT_RECURSION applies only to recursive calls of match(). To |
MATCH_LIMIT_RECURSION applies only to recursive calls of match(). To |
306 |
have any useful effect, it must be less than the value of |
have any useful effect, it must be less than the value of |
307 |
MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. |
MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. |
308 |
There is a runtime method for setting a different limit. On systems |
There is a runtime method for setting a different limit. On systems |
309 |
that support it, "configure" can be used to override the default.]) |
that support it, "configure" can be used to override the default.]) |
310 |
|
|
311 |
AC_DEFINE([MAX_NAME_SIZE], [32], [ |
AC_DEFINE([MAX_NAME_SIZE], [32], [ |
342 |
"configure", this can be done via --enable-ebcdic.]) |
"configure", this can be done via --enable-ebcdic.]) |
343 |
fi |
fi |
344 |
|
|
|
# Here is where pcre specific substs are handled |
|
|
# These 3 are only used by RunTest.in. |
|
|
# TODO: remove once RunTest uses pcretest -C instead. |
|
|
AC_SUBST(LINK_SIZE, $with_link_size) |
|
|
AC_SUBST(UTF8, $enable_utf8) |
|
|
AC_SUBST(UCP, $enable_unicode_properties) |
|
|
|
|
345 |
# Platform specific issues |
# Platform specific issues |
346 |
NO_UNDEFINED= |
NO_UNDEFINED= |
347 |
EXPORT_ALL_SYMBOLS= |
EXPORT_ALL_SYMBOLS= |