From 8156f15e8282e9efe7e3595a5380e5eca3253a65 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 18 Dec 2017 22:57:33 +0100 Subject: [PATCH] build: install libuv.pc unconditionally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was requested and I can't see a reason not to. Fixes: https://github.com/libuv/libuv/issues/1684 PR-URL: https://github.com/libuv/libuv/pull/1685 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno Reviewed-By: Saúl Ibarra Corretgé --- Makefile.am | 2 -- configure.ac | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 68dd8ae3..ae9d96bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -464,7 +464,5 @@ libuv_la_SOURCES += src/unix/pthread-fixes.c \ src/unix/proctitle.c endif -if HAVE_PKG_CONFIG pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = @PACKAGE_NAME@.pc -endif diff --git a/configure.ac b/configure.ac index 7eb1674d..ecc45881 100644 --- a/configure.ac +++ b/configure.ac @@ -68,10 +68,5 @@ AS_CASE([$host_os],[mingw*], [ ]) AS_CASE([$host_os], [netbsd*], [AC_CHECK_LIB([kvm], [kvm_open])]) AC_CHECK_HEADERS([sys/ahafs_evProds.h]) -AC_CHECK_PROG(PKG_CONFIG, pkg-config, yes) -AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"]) -AS_IF([test "x$PKG_CONFIG" != "x"], [ - AC_CONFIG_FILES([libuv.pc]) -]) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile libuv.pc]) AC_OUTPUT