Always install the .pc file even if pkg-config is not available.

And make sure that "make uninstall" gets rid of it, too.
This commit is contained in:
Frank Denis 2014-07-05 15:10:36 -07:00
parent fbc3b606f8
commit c7059e88ec
2 changed files with 2 additions and 6 deletions

View File

@ -15,7 +15,7 @@ SUBDIRS = \
src \
test
if HAVE_PKG_CONFIG
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @PACKAGE_NAME@.pc
endif
DISTCLEANFILES = $(pkgconfig_DATA)

View File

@ -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