ossp-pkg/fsl/configure.ac 1.18 -> 1.19
--- configure.ac 2004/03/19 22:36:08 1.18
+++ configure.ac 2004/04/22 09:32:50 1.19
@@ -86,7 +86,7 @@
pcre, pcre_compile, pcre.h,
[SUBDIR_PCRE=""],
[SUBDIR_PCRE="lib_pcre"
- CPPFLAGS="$CPPFLAGS -Ilib_pcre"
+ CPPFLAGS="$CPPFLAGS -Ilib_pcre -DPCRE_PREFIX=fsl_";
CFLAGS="$CFLAGS -Ilib_pcre"
LIB_DEPS="$LIB_DEPS lib_pcre/*.lo"])
AC_SUBST(SUBDIR_PCRE)
@@ -96,6 +96,8 @@
if test ".$SUBDIR_L2" != .; then AC_CONFIG_SUBDIRS(lib_l2) fi
if test ".$SUBDIR_CFG" != .; then AC_CONFIG_SUBDIRS(lib_cfg) fi
if test ".$SUBDIR_PCRE" != .; then AC_CONFIG_SUBDIRS(lib_pcre) fi
+dnl # export is a hack to pass CPPFLAGS down to subdirs (introduced for PCRE_PREFIX)
+export CPPFLAGS
dnl # output generation
AC_CONFIG_HEADERS(config.h)
|
|