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, [-RC4]) |
m4_define(pcre_prerelease, [-RC5]) |
12 |
m4_define(pcre_date, [2007-04-04]) |
m4_define(pcre_date, [2007-04-16]) |
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]) |
71 |
# Handle --enable-newline=NL |
# Handle --enable-newline=NL |
72 |
dnl AC_ARG_ENABLE(newline, |
dnl AC_ARG_ENABLE(newline, |
73 |
dnl AS_HELP_STRING([--enable-newline=NL], |
dnl AS_HELP_STRING([--enable-newline=NL], |
74 |
dnl [use NL as newline (lf, cr, crlf, any; default=lf)]), |
dnl [use NL as newline (lf, cr, crlf, anycrlf, any; default=lf)]), |
75 |
dnl , enable_newline=lf) |
dnl , enable_newline=lf) |
76 |
|
|
77 |
# Separate newline options |
# Separate newline options |
88 |
AS_HELP_STRING([--enable-newline-is-crlf], |
AS_HELP_STRING([--enable-newline-is-crlf], |
89 |
[use CRLF as newline sequence]), |
[use CRLF as newline sequence]), |
90 |
ac_pcre_newline=crlf) |
ac_pcre_newline=crlf) |
91 |
|
AC_ARG_ENABLE(newline-is-anycrlf, |
92 |
|
AS_HELP_STRING([--enable-newline-is-anycrlf], |
93 |
|
[use CR, LF, or CRLF as newline sequence]), |
94 |
|
ac_pcre_newline=anycrlf) |
95 |
AC_ARG_ENABLE(newline-is-any, |
AC_ARG_ENABLE(newline-is-any, |
96 |
AS_HELP_STRING([--enable-newline-is-any], |
AS_HELP_STRING([--enable-newline-is-any], |
97 |
[use any valid Unicode newline sequence]), |
[use any valid Unicode newline sequence]), |
167 |
|
|
168 |
# Convert the newline identifier into the appropriate integer value. |
# Convert the newline identifier into the appropriate integer value. |
169 |
case "$enable_newline" in |
case "$enable_newline" in |
170 |
lf) ac_pcre_newline_value=10 ;; |
lf) ac_pcre_newline_value=10 ;; |
171 |
cr) ac_pcre_newline_value=13 ;; |
cr) ac_pcre_newline_value=13 ;; |
172 |
crlf) ac_pcre_newline_value=3338 ;; |
crlf) ac_pcre_newline_value=3338 ;; |
173 |
any) ac_pcre_newline_value=-1 ;; |
anycrlf) ac_pcre_newline_value=-2 ;; |
174 |
|
any) ac_pcre_newline_value=-1 ;; |
175 |
*) |
*) |
176 |
AC_MSG_ERROR([invalid argument \"$enable_newline\" to --enable-newline option]) |
AC_MSG_ERROR([invalid argument \"$enable_newline\" to --enable-newline option]) |
177 |
;; |
;; |
285 |
The value of NEWLINE determines the newline character sequence. On |
The value of NEWLINE determines the newline character sequence. On |
286 |
Unix-like systems, "configure" can be used to override the default, |
Unix-like systems, "configure" can be used to override the default, |
287 |
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), |
288 |
or -1 (ANY).]) |
-1 (ANY), or -2 (ANYCRLF).]) |
289 |
|
|
290 |
AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ |
AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ |
291 |
The value of LINK_SIZE determines the number of bytes used to store |
The value of LINK_SIZE determines the number of bytes used to store |