summaryrefslogtreecommitdiff
path: root/m4/dpkg-libs.m4
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-03-05 02:33:59 +0100
committerGuillem Jover <guillem@debian.org>2016-04-01 00:58:14 +0200
commita7f0f2c6e0551f16142b249ccd6f6f1485256dd9 (patch)
tree2bce0b2fa692f7bc714290869d38a7b56f429dce /m4/dpkg-libs.m4
parent11d243dc17e2c55418af79f6af997e30a57bd099 (diff)
downloaddpkg-a7f0f2c6e0551f16142b249ccd6f6f1485256dd9.tar.gz
build: Set have_libfoo for required libraries detected
Diffstat (limited to 'm4/dpkg-libs.m4')
-rw-r--r--m4/dpkg-libs.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/dpkg-libs.m4 b/m4/dpkg-libs.m4
index 95f365295..9fc37201e 100644
--- a/m4/dpkg-libs.m4
+++ b/m4/dpkg-libs.m4
@@ -163,6 +163,7 @@ fi
if test "x$have_curses_header" != "xyes"; then
AC_MSG_FAILURE([curses header not found])
fi
+have_libcurses=yes
])# DPKG_LIB_CURSES
# DPKG_LIB_PS
@@ -172,6 +173,7 @@ AC_DEFUN([DPKG_LIB_PS], [
AC_ARG_VAR([PS_LIBS], [linker flags for ps library])dnl
AC_CHECK_LIB([ps], [proc_stat_list_create], [
PS_LIBS="-lps"
+ have_libps=yes
])
])# DPKG_LIB_PS
@@ -182,5 +184,6 @@ AC_DEFUN([DPKG_LIB_KVM], [
AC_ARG_VAR([KVM_LIBS], [linker flags for kvm library])dnl
AC_CHECK_LIB([kvm], [kvm_openfiles], [
KVM_LIBS="-lkvm"
+ have_libkvm=yes
])
])# DPKG_LIB_KVM