From 0d922856778e23da51832a197dcf4f5e450a3c62 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 23 Apr 2000 13:08:05 +0000 Subject: Check for -lrpm and its dependency libs. On success, define HAVE_RPM and 2000-04-23 Martin Baulig * configure.in: Check for -lrpm and its dependency libs. On success, define HAVE_RPM and AC_SUBST(RPM_LIBS). Added BUILD_RPMVIEW_COMPONENT automake conditional. * acconfig.h (HAVE_RPM): Added. * components/Makefile.am: Conditionally compile rpmview. * components/rpmview/Makefile.am: Use $(RPM_LIBS) rather than -lrpm so we get the correct dependency libs such as -lgz2. --- components/rpmview/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/rpmview') diff --git a/components/rpmview/Makefile.am b/components/rpmview/Makefile.am index 89ec5e11f..ef0bf9186 100644 --- a/components/rpmview/Makefile.am +++ b/components/rpmview/Makefile.am @@ -32,7 +32,7 @@ nautilus_rpm_view_LDFLAGS = \ $(BONOBO_LIBS) \ $(GNOMEUI_LIBS) \ $(GCONF_LIBS) \ - -lrpm \ + $(RPM_LIBS) \ $(VFS_LIBS) \ $(OAF_LIBS) -- cgit v1.2.1