21 |
dnl that many releases anyway. |
dnl that many releases anyway. |
22 |
|
|
23 |
PCRE_MAJOR=4 |
PCRE_MAJOR=4 |
24 |
PCRE_MINOR=3 |
PCRE_MINOR=4 |
25 |
PCRE_DATE=21-May-2003 |
PCRE_DATE=21-August-2003 |
26 |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
27 |
|
|
28 |
dnl Default values for miscellaneous macros |
dnl Default values for miscellaneous macros |
146 |
AC_SUBST(POSIX_MALLOC_THRESHOLD) |
AC_SUBST(POSIX_MALLOC_THRESHOLD) |
147 |
AC_SUBST(UTF8) |
AC_SUBST(UTF8) |
148 |
|
|
149 |
dnl Stuff to make Win32 work better |
dnl Stuff to make MinGW work better. Special treatment is no longer |
150 |
|
dnl needed for Cygwin. |
151 |
|
|
152 |
case $host_os in |
case $host_os in |
153 |
mingw* ) |
mingw* ) |
158 |
NOT_ON_WINDOWS="#" |
NOT_ON_WINDOWS="#" |
159 |
WIN_PREFIX= |
WIN_PREFIX= |
160 |
;; |
;; |
|
cygwin* ) |
|
|
ON_WINDOWS= |
|
|
POSIX_OBJ=pcreposix.o |
|
|
POSIX_LOBJ=pcreposix.lo |
|
|
POSIX_LIB= |
|
|
WIN_PREFIX=cyg |
|
|
NOT_ON_WINDOWS="#" |
|
|
;; |
|
161 |
* ) |
* ) |
162 |
ON_WINDOWS="#" |
ON_WINDOWS="#" |
163 |
NOT_ON_WINDOWS= |
NOT_ON_WINDOWS= |
175 |
AC_SUBST(POSIX_LIB) |
AC_SUBST(POSIX_LIB) |
176 |
|
|
177 |
if test "x$enable_shared" = "xno" ; then |
if test "x$enable_shared" = "xno" ; then |
178 |
AC_DEFINE(PCRE_STATIC,1) |
AC_DEFINE([PCRE_STATIC],[1],[to link statically]) |
179 |
fi |
fi |
180 |
|
|
181 |
dnl This must be last; it determines what files are written as well as config.h |
dnl This must be last; it determines what files are written as well as config.h |