OSSP CVS Repository

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

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

--- configure.ac 2002/01/30 08:38:23     1.22
+++ configure.ac 2002/01/30 14:22:23     1.23
@@ -117,6 +117,17 @@
                  LIBS_EXTRA="$LIBS_EXTRA -lval"])
 AC_SUBST(SUBDIR_VAL)
 
+dnl #   check for OSSP popt library
+AC_CHECK_EXTLIB([OSSP popt], 
+                popt, popt_getcontext, popt.h, 
+                [SUBDIR_POPT=""], 
+                [SUBDIR_POPT="lib_popt"
+                 CPPFLAGS="$CPPFLAGS -Ilib_popt"
+                 CFLAGS="$CFLAGS -Ilib_popt"
+                 LDFLAGS="$LDFLAGS -Llib_popt/.libs"
+                 LIBS_EXTRA="$LIBS_EXTRA -lpopt"])
+AC_SUBST(SUBDIR_POPT)
+
 dnl #   check for external Dmalloc library
 AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))
 
@@ -127,7 +138,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])
+AC_CONFIG_SUBDIRS([$SUBDIR_EX $SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA $SUBDIR_VAR $SUBDIR_VAL $SUBDIR_POPT])
 
 dnl #   standard output generation
 AC_CONFIG_HEADERS(config.h)

CVSTrac 2.0.1