ossp-pkg/lmtp2nntp/configure.ac 1.9 -> 1.10
--- configure.ac 2001/09/05 09:10:28 1.9
+++ configure.ac 2001/09/11 10:24:54 1.10
@@ -52,7 +52,7 @@
CPPFLAGS="$CPPFLAGS -Istr"
CFLAGS="$CFLAGS -Istr"
LDFLAGS="$LDFLAGS -Lstr/.libs"
- LIBS="$LIBS -lstr"])
+ LIBS_EXTRA="$LIBS_EXTRA -lstr"])
AC_SUBST(SUBDIR_STR)
dnl # check for L2 library
@@ -63,15 +63,18 @@
CPPFLAGS="$CPPFLAGS -Il2"
CFLAGS="$CFLAGS -Il2"
LDFLAGS="$LDFLAGS -Ll2/.libs"
- LIBS="$LIBS -ll2"])
+ LIBS_EXTRA="$LIBS_EXTRA -ll2"])
AC_SUBST(SUBDIR_L2)
dnl # check for external Dmalloc library
AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(DMALLOC))
+dnl # post-processing for LIBS_EXTRA
+LIBS="$LIBS $LIBS_EXTRA"
+
enable_shared=no
export enable_shared
-AC_CONFIG_SUBDIRS($SUBDIR_STR $SUBDIR_L2)
+AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_L2])
dnl # standard output generation
AC_CONFIG_HEADERS(config.h)
|
|