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