diff options
author | Stan Cox <scox@redhat.com> | 2010-02-26 16:07:27 -0500 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2010-02-26 16:07:27 -0500 |
commit | 7f9ad862adbbc75b5e7501173db702ef09ac18ce (patch) | |
tree | 7fafbbd7696ea362fcacd272080fe7e62c63880f /configure.ac | |
parent | be709d4c778321de3efc4aadd18af6033ebb932f (diff) | |
download | systemtap-steved-7f9ad862adbbc75b5e7501173db702ef09ac18ce.tar.gz systemtap-steved-7f9ad862adbbc75b5e7501173db702ef09ac18ce.tar.xz systemtap-steved-7f9ad862adbbc75b5e7501173db702ef09ac18ce.zip |
Add package check for librpm
* configure (have_librpm): Move to AC_CHECK_LIB
* configure.ac: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
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 |