ossp-pkg/fsl/configure.ac 1.2 -> 1.3
--- configure.ac 2002/07/10 09:08:51 1.2
+++ configure.ac 2002/07/12 17:26:23 1.3
@@ -67,9 +67,19 @@
LIB_DEPS="$LIB_DEPS lib_cfg/*.lo"])
AC_SUBST(SUBDIR_CFG)
+dnl # check for OSSP pcre library
+AC_CHECK_EXTLIB([OSSP pcre],
+ pcre, pcre_compile, pcre.h,
+ [SUBDIR_PCRE=""],
+ [SUBDIR_PCRE="lib_pcre"
+ CPPFLAGS="$CPPFLAGS -Ilib_pcre"
+ CFLAGS="$CFLAGS -Ilib_pcre"
+ LIB_DEPS="$LIB_DEPS lib_pcre/*.lo"])
+AC_SUBST(SUBDIR_PCRE)
+
dnl # post-processing for subdirs
AC_SUBST(LIB_DEPS)
-AC_CONFIG_SUBDIRS([$SUBDIR_L2 $SUBDIR_CFG])
+AC_CONFIG_SUBDIRS([$SUBDIR_L2 $SUBDIR_CFG $SUBDIR_PCRE])
AC_MSG_CHECKING(for configuration directory)
AC_ARG_WITH(cfgdir,dnl
|
|