Skip to content

Commit

Permalink
Always install the .pc file even if pkg-config is not available.
Browse files Browse the repository at this point in the history
And make sure that "make uninstall" gets rid of it, too.
  • Loading branch information
jedisct1 committed Jul 5, 2014
1 parent fbc3b60 commit c7059e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -15,7 +15,7 @@ SUBDIRS = \
src \
test

if HAVE_PKG_CONFIG
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @PACKAGE_NAME@.pc
endif
DISTCLEANFILES = $(pkgconfig_DATA)

4 changes: 0 additions & 4 deletions configure.ac
Expand Up @@ -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
Expand Down

0 comments on commit c7059e8

Please sign in to comment.