OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/configure.ac versions 1.23 and 1.24
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/configure.ac 1.23 -> 1.24

--- configure.ac 2002/01/30 14:22:23     1.23
+++ configure.ac 2002/02/13 13:18:25     1.24
@@ -128,6 +128,17 @@
                  LIBS_EXTRA="$LIBS_EXTRA -lpopt"])
 AC_SUBST(SUBDIR_POPT)
 
+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"
+                 LDFLAGS="$LDFLAGS -Llib_pcre/.libs"
+                 LIBS_EXTRA="$LIBS_EXTRA -lpcre"])
+AC_SUBST(SUBDIR_PCRE)
+
 dnl #   check for external Dmalloc library
 AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))
 
@@ -138,7 +149,7 @@
 export enable_shared
 enable_headline=no
 export enable_headline
-AC_CONFIG_SUBDIRS([$SUBDIR_EX $SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA $SUBDIR_VAR $SUBDIR_VAL $SUBDIR_POPT])
+AC_CONFIG_SUBDIRS([$SUBDIR_EX $SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA $SUBDIR_VAR $SUBDIR_VAL $SUBDIR_POPT $SUBDIR_PCRE])
 
 dnl #   standard output generation
 AC_CONFIG_HEADERS(config.h)

CVSTrac 2.0.1