ossp-pkg/lmtp2nntp/configure.ac 1.12 -> 1.13
--- configure.ac 2001/09/13 14:24:49 1.12
+++ configure.ac 2001/10/02 13:36:33 1.13
@@ -68,6 +68,17 @@
LIBS_EXTRA="$LIBS_EXTRA -ll2"])
AC_SUBST(SUBDIR_L2)
+dnl # check for SA library
+AC_CHECK_EXTLIB([OSSP SA],
+ sa, sa_create, sa.h,
+ [SUBDIR_SA=""],
+ [SUBDIR_SA="sa"
+ CPPFLAGS="$CPPFLAGS -Isa"
+ CFLAGS="$CFLAGS -Isa"
+ LDFLAGS="$LDFLAGS -Lsa"
+ LIBS_EXTRA="$LIBS_EXTRA -lsa"])
+AC_SUBST(SUBDIR_SA)
+
dnl # check for external Dmalloc library
AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))
@@ -78,7 +89,7 @@
export enable_shared
enable_headline=no
export enable_headline
-AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2])
+AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA])
dnl # standard output generation
AC_CONFIG_HEADERS(config.h)
|
|