build: install libuv.pc unconditionally

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 <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
Ben Noordhuis 2017-12-18 22:57:33 +01:00
parent 2b32e77bb6
commit 8156f15e82
2 changed files with 1 additions and 8 deletions

View File

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

View File

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