--- code/trunk/configure.in 2007/02/24 21:39:29 47 +++ code/trunk/configure.in 2007/02/24 21:39:37 51 @@ -17,8 +17,8 @@ dnl that many releases anyway. PCRE_MAJOR=3 -PCRE_MINOR=2 -PCRE_DATE=12-May-2000 +PCRE_MINOR=4 +PCRE_DATE=22-Aug-2000 PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} dnl Provide versioning information for libtool shared libraries that @@ -58,12 +58,22 @@ fi ) +dnl Handle --enable-utf8 + +AC_ARG_ENABLE(utf8, +[ --enable-utf8 enable UTF8 support (incomplete)], +if test "$enableval" = "yes"; then + UTF8=-DSUPPORT_UTF8 +fi +) + dnl "Export" these variables AC_SUBST(HAVE_MEMMOVE) AC_SUBST(HAVE_STRERROR) AC_SUBST(LIBTOOL) AC_SUBST(LIBSUFFIX) +AC_SUBST(UTF8) AC_SUBST(PCRE_MAJOR) AC_SUBST(PCRE_MINOR) AC_SUBST(PCRE_DATE) @@ -72,4 +82,4 @@ AC_SUBST(PCRE_POSIXLIB_VERSION) dnl This must be last; it determines what files are written -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])