* configure.ac: Define @CAPLIBS@ to link in -lcap if we are using

capabilities.
This commit is contained in:
David Shaw 2003-03-04 16:12:53 +00:00
parent 909f6a0637
commit e84c4ca606
2 changed files with 6 additions and 1 deletions

View File

@ -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

View 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