ossp-pkg/lmtp2nntp/configure.ac 1.15 -> 1.16
--- configure.ac 2001/10/12 13:51:59 1.15
+++ configure.ac 2001/12/11 12:02:26 1.16
@@ -81,6 +81,17 @@
LIBS_EXTRA="$LIBS_EXTRA -lsa"])
AC_SUBST(SUBDIR_SA)
+dnl # check for VAR library
+AC_CHECK_EXTLIB([OSSP VAR],
+ var, var_expand, var.h,
+ [SUBDIR_VAR=""],
+ [SUBDIR_VAR="var"
+ CPPFLAGS="$CPPFLAGS -Ivar"
+ CFLAGS="$CFLAGS -Ivar"
+ LDFLAGS="$LDFLAGS -Lvar/.libs"
+ LIBS_EXTRA="$LIBS_EXTRA -lvar"])
+AC_SUBST(SUBDIR_VAR)
+
dnl # check for external Dmalloc library
AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))
@@ -91,7 +102,7 @@
export enable_shared
enable_headline=no
export enable_headline
-AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA])
+AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2 $SUBDIR_SA $SUBDIR_VAR])
dnl # standard output generation
AC_CONFIG_HEADERS(config.h)
|
|