17 |
dnl that many releases anyway. |
dnl that many releases anyway. |
18 |
|
|
19 |
PCRE_MAJOR=4 |
PCRE_MAJOR=4 |
20 |
PCRE_MINOR=0 |
PCRE_MINOR=1 |
21 |
PCRE_DATE=17-Feb-2003 |
PCRE_DATE=12-Mar-2003 |
22 |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
23 |
|
|
24 |
dnl Default values for miscellaneous macros |
dnl Default values for miscellaneous macros |
25 |
|
|
26 |
POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 |
POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 |
|
HOST_CC=${HOST_CC:-'$(CC)'} |
|
|
HOST_CFLAGS=${HOST_CFLAGS:-'$(CFLAGS)'} |
|
27 |
|
|
28 |
dnl Provide versioning information for libtool shared libraries that |
dnl Provide versioning information for libtool shared libraries that |
29 |
dnl are built by default on Unix systems. |
dnl are built by default on Unix systems. |
38 |
AC_LIBTOOL_WIN32_DLL |
AC_LIBTOOL_WIN32_DLL |
39 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
40 |
|
|
41 |
|
dnl This is the compiler for compiling a program to run on the local host |
42 |
|
dnl while building. It needs to be different from CC when cross-compiling. |
43 |
|
dnl There is a macro called AC_PROG_CC_FOR_BUILD in the GNU archive for |
44 |
|
dnl figuring this out automatically, but I could not get it to work and I |
45 |
|
dnl ran out of time. Therefore, these values will have to be set manually |
46 |
|
dnl by people who are cross-compiling. |
47 |
|
|
48 |
|
CC_FOR_BUILD=${CC_FOR_BUILD:-'$(CC)'} |
49 |
|
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:-'$(CFLAGS)'} |
50 |
|
|
51 |
dnl Checks for header files. |
dnl Checks for header files. |
52 |
|
|
53 |
AC_HEADER_STDC |
AC_HEADER_STDC |
120 |
|
|
121 |
dnl "Export" these variables |
dnl "Export" these variables |
122 |
|
|
123 |
|
AC_SUBST(CC_FOR_BUILD) |
124 |
|
AC_SUBST(CFLAGS_FOR_BUILD) |
125 |
AC_SUBST(HAVE_MEMMOVE) |
AC_SUBST(HAVE_MEMMOVE) |
126 |
AC_SUBST(HAVE_STRERROR) |
AC_SUBST(HAVE_STRERROR) |
|
AC_SUBST(HOST_CC) |
|
|
AC_SUBST(HOST_CFLAGS) |
|
|
AC_SUBST(NEWLINE) |
|
127 |
AC_SUBST(LINK_SIZE) |
AC_SUBST(LINK_SIZE) |
128 |
AC_SUBST(MATCH_LIMIT) |
AC_SUBST(MATCH_LIMIT) |
129 |
AC_SUBST(UTF8) |
AC_SUBST(NEWLINE) |
130 |
AC_SUBST(PCRE_MAJOR) |
AC_SUBST(PCRE_MAJOR) |
131 |
AC_SUBST(PCRE_MINOR) |
AC_SUBST(PCRE_MINOR) |
132 |
AC_SUBST(PCRE_DATE) |
AC_SUBST(PCRE_DATE) |
134 |
AC_SUBST(PCRE_LIB_VERSION) |
AC_SUBST(PCRE_LIB_VERSION) |
135 |
AC_SUBST(PCRE_POSIXLIB_VERSION) |
AC_SUBST(PCRE_POSIXLIB_VERSION) |
136 |
AC_SUBST(POSIX_MALLOC_THRESHOLD) |
AC_SUBST(POSIX_MALLOC_THRESHOLD) |
137 |
|
AC_SUBST(UTF8) |
138 |
|
|
139 |
dnl Stuff to make Win32 work better |
dnl Stuff to make Win32 work better |
140 |
|
|