1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-28 22:21:15 -07:00
libsodium/Makefile.am
Christian Wiese 2f64b991b6 build: changed to only generate/install .pc file if pkg-config is found
This change improves the pkg-config support to only generate/install a .pc
file if pkg-config is found, assuming it is part of the build toolchain.

Note:

The minimal version set for pkg-config is 0.25, because this is the oldest
version I am able to test at the moment.
2013-08-12 15:16:23 -07:00

17 lines
214 B
Makefile

ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
autogen.sh \
LICENSE \
README.markdown \
THANKS
SUBDIRS = \
src \
test
if HAVE_PKG_CONFIG
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @PACKAGE_NAME@.pc
endif