From c7059e88ec0cf01486eeb23a4d19d7a26166f8aa Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 5 Jul 2014 15:10:36 -0700 Subject: [PATCH] Always install the .pc file even if pkg-config is not available. And make sure that "make uninstall" gets rid of it, too. --- Makefile.am | 4 ++-- configure.ac | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index d73bc53b..ee794b07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,7 +15,7 @@ SUBDIRS = \ src \ test -if HAVE_PKG_CONFIG pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = @PACKAGE_NAME@.pc -endif +DISTCLEANFILES = $(pkgconfig_DATA) + diff --git a/configure.ac b/configure.ac index beab71ec..9888fc17 100644 --- a/configure.ac +++ b/configure.ac @@ -119,10 +119,6 @@ AC_SUBST([MAINT]) dnl Checks -PKG_PROG_PKG_CONFIG([0.23]) -AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"]) -AC_SUBST(HAVE_PKG_CONFIG) - AC_PROG_CC_C99 AM_PROG_AS AC_USE_SYSTEM_EXTENSIONS