at v192 13 lines 478 B view raw
1diff --git a/configure.ac b/configure.ac 2index 3c71472..71b5c3d 100644 3--- a/configure.ac 4+++ b/configure.ac 5@@ -620,6 +620,8 @@ AC_ARG_WITH([caps], 6 7 if test "x${with_caps}" != "xno"; then 8 AC_SEARCH_LIBS([cap_init], [cap], [], []) 9+ AS_IF([test "x${with_caps}" != "xyes" -a "x${with_caps}" != "x"], 10+ LIBS="-L${with_caps}/lib $LIBS") 11 12 # Only give an error on hosts that we know could support capabilities 13 AC_CHECK_HEADERS([sys/capability.h], [], [