* configure.ac: Define @CAPLIBS@ to link in -lcap if we are using
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 4 Mar 2003 16:12:53 +0000 (16:12 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 4 Mar 2003 16:12:53 +0000 (16:12 +0000)
capabilities.

ChangeLog
configure.ac

index 1ada7a6..5cf8b3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-04  David Shaw  <dshaw@jabberwocky.com>
+
+       * configure.ac: Define @CAPLIBS@ to link in -lcap if we are using
+       capabilities.
+
 2003-02-22  David Shaw  <dshaw@jabberwocky.com>
 
        * configure.ac: Add --disable-idea for IDEA.  Note that disabling
index 3ca85b2..888db1e 100644 (file)
@@ -738,7 +738,7 @@ if test "$ac_cv_header_sys_capability_h" = "yes" ; then
   if test "$ac_cv_lib_cap_cap_init" = "yes"; then
      AC_DEFINE(USE_CAPABILITIES,1,
                [define if capabilities should be used])
-     LIBS="$LIBS -lcap"
+     AC_SUBST(CAPLIBS,"-lcap")
      use_capabilities=yes
   fi
 fi