aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/configure.in
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2015-07-12 01:52:29 +0200
committerUlrich Sibiller <uli42@gmx.de>2015-07-12 02:11:25 +0200
commit00cec4924157db9498d56e5c1fbde852e8eb3717 (patch)
treec9c6928aeac3183ea888bf68b2a31bc68ff7302a /nxcomp/configure.in
parentf4c07c07760c33bf7bc908e2d45aee4c4f73f088 (diff)
downloadnx-libs-00cec4924157db9498d56e5c1fbde852e8eb3717.tar.gz
nx-libs-00cec4924157db9498d56e5c1fbde852e8eb3717.tar.bz2
nx-libs-00cec4924157db9498d56e5c1fbde852e8eb3717.zip
Add pkg-config support to nxcomp, nxcompext and nxcompshad
Diffstat (limited to 'nxcomp/configure.in')
-rw-r--r--nxcomp/configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/nxcomp/configure.in b/nxcomp/configure.in
index 43b51573a..206df2ec7 100644
--- a/nxcomp/configure.in
+++ b/nxcomp/configure.in
@@ -5,6 +5,9 @@ dnl Prolog
AC_INIT(NX.h)
AC_PREREQ(2.13)
+pkgconfigdir=${libdir}/pkgconfig
+AC_SUBST(pkgconfigdir)
+
dnl Set our default compilation flags.
CXXFLAGS="$CXXFLAGS -O3 -fno-rtti -fno-exceptions"
@@ -387,4 +390,4 @@ else
ALL="\$(LIBFULL) \$(LIBLOAD) \$(LIBSHARED) \$(LIBARCHIVE)"
fi
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile nxcomp.pc)