17 |
dnl that many releases anyway. |
dnl that many releases anyway. |
18 |
|
|
19 |
PCRE_MAJOR=3 |
PCRE_MAJOR=3 |
20 |
PCRE_MINOR=2 |
PCRE_MINOR=3 |
21 |
PCRE_DATE=12-May-2000 |
PCRE_DATE=01-Aug-2000 |
22 |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
23 |
|
|
24 |
dnl Provide versioning information for libtool shared libraries that |
dnl Provide versioning information for libtool shared libraries that |
58 |
fi |
fi |
59 |
) |
) |
60 |
|
|
61 |
|
dnl Handle --enable-utf8 |
62 |
|
|
63 |
|
AC_ARG_ENABLE(utf8, |
64 |
|
[ --enable-utf8 enable UTF8 support (incomplete)], |
65 |
|
if test "$enableval" = "yes"; then |
66 |
|
UTF8=-DSUPPORT_UTF8 |
67 |
|
fi |
68 |
|
) |
69 |
|
|
70 |
dnl "Export" these variables |
dnl "Export" these variables |
71 |
|
|
72 |
AC_SUBST(HAVE_MEMMOVE) |
AC_SUBST(HAVE_MEMMOVE) |
73 |
AC_SUBST(HAVE_STRERROR) |
AC_SUBST(HAVE_STRERROR) |
74 |
AC_SUBST(LIBTOOL) |
AC_SUBST(LIBTOOL) |
75 |
AC_SUBST(LIBSUFFIX) |
AC_SUBST(LIBSUFFIX) |
76 |
|
AC_SUBST(UTF8) |
77 |
AC_SUBST(PCRE_MAJOR) |
AC_SUBST(PCRE_MAJOR) |
78 |
AC_SUBST(PCRE_MINOR) |
AC_SUBST(PCRE_MINOR) |
79 |
AC_SUBST(PCRE_DATE) |
AC_SUBST(PCRE_DATE) |
82 |
AC_SUBST(PCRE_POSIXLIB_VERSION) |
AC_SUBST(PCRE_POSIXLIB_VERSION) |
83 |
|
|
84 |
dnl This must be last; it determines what files are written |
dnl This must be last; it determines what files are written |
85 |
AC_OUTPUT(Makefile pcre.h:pcre.in pcre-config,[chmod a+x pcre-config]) |
AC_OUTPUT(Makefile pcre.h:pcre.in pcre-config:pcre-config.in RunTest:RunTest.in,[chmod a+x RunTest pcre-config]) |