10 |
dnl it should be seeing, to verify it is in the same directory. |
dnl it should be seeing, to verify it is in the same directory. |
11 |
|
|
12 |
AC_INIT(dftables.c) |
AC_INIT(dftables.c) |
13 |
|
AC_CONFIG_SRCDIR([pcre.h]) |
14 |
|
|
15 |
dnl A safety precaution |
dnl A safety precaution |
16 |
|
|
34 |
dnl Find the PCRE version from the pcre.h file. The PCRE_VERSION variable is |
dnl Find the PCRE version from the pcre.h file. The PCRE_VERSION variable is |
35 |
dnl substituted in pcre-config.in. |
dnl substituted in pcre-config.in. |
36 |
|
|
37 |
PCRE_MAJOR=`grep '#define PCRE_MAJOR' ./pcre.h | cut -c 29-` |
PCRE_MAJOR=`grep '#define PCRE_MAJOR' ${srcdir}/pcre.h | cut -c 29-` |
38 |
PCRE_MINOR=`grep '#define PCRE_MINOR' ./pcre.h | cut -c 29-` |
PCRE_MINOR=`grep '#define PCRE_MINOR' ${srcdir}/pcre.h | cut -c 29-` |
39 |
PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ./pcre.h | cut -c 29-` |
PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ${srcdir}/pcre.h | cut -c 29-` |
40 |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE} |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE} |
41 |
|
|
42 |
dnl Handle --disable-cpp |
dnl Handle --disable-cpp |