From 7f9ad862adbbc75b5e7501173db702ef09ac18ce Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Fri, 26 Feb 2010 16:07:27 -0500 Subject: Add package check for librpm * configure (have_librpm): Move to AC_CHECK_LIB * configure.ac: Regenerate. --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d13255d6..b37429d8 100644 --- a/configure.ac +++ b/configure.ac @@ -377,9 +377,7 @@ AC_ARG_WITH([rpm], [AS_HELP_STRING([--with-rpm], [query rpm database for missing debuginfos])], [], [with_rpm="auto"]) if test "$with_rpm" != "no"; then - PKG_CHECK_MODULES([librpm], [rpm], - have_librpm="yes", have_librpm="no") - AC_CHECK_LIB(rpm, rpmtsInitIterator) + AC_CHECK_LIB(rpm, rpmtsInitIterator, have_librpm="yes", have_librpm="no") if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then AC_MSG_ERROR([cannot find librpm]) fi -- cgit