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:
parent
fbc3b606f8
commit
c7059e88ec
@ -15,7 +15,7 @@ SUBDIRS = \
|
||||
src \
|
||||
test
|
||||
|
||||
if HAVE_PKG_CONFIG
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = @PACKAGE_NAME@.pc
|
||||
endif
|
||||
DISTCLEANFILES = $(pkgconfig_DATA)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user