diff -urNp -x '*.orig' systemtap-3.3.org/configure.ac systemtap-3.3/configure.ac --- systemtap-3.3.org/configure.ac 2018-06-09 00:28:59.000000000 +0200 +++ systemtap-3.3/configure.ac 2023-12-31 20:29:34.779094763 +0100 @@ -957,6 +957,9 @@ AS_IF([test "x$have_http_support" = "xye [Define to 1 if the base client code is needed.]) ]) +CPPFLAGS="${CPPFLAGS} -I/usr/include/rpm" +LIBS="${LIBS} -lrpmdb" + dnl This is here mainly to make sure that configure --prefix=... changes dnl the config.h files so files depending on it are recompiled dnl prefix is passed through indirectly in the Makefile.am AM_CPPFLAGS.