diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-01-18 23:28:14 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-01-18 23:28:14 -0500 |
commit | 90742e38c6b932d3c8182785f164c9ca282ea57e (patch) | |
tree | 3853404af5c9eb4e2cff428e7476185c473c8b19 | |
parent | 3ae49e0a0b4bf22f137ec9a85f147815c972fdf0 (diff) | |
download | acl-90742e38c6b932d3c8182785f164c9ca282ea57e.tar.gz |
build: ship a pkgconfig file for libacl
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libacl.pc.in | 10 |
4 files changed, 14 insertions, 0 deletions
@@ -3,6 +3,7 @@ *.lo *.mo *.o +*.pc .dirstamp .deps/ .libs/ diff --git a/Makefile.am b/Makefile.am index 915ab2a..47d2a4e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,8 +10,10 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/include \ -DLOCALEDIR=\"$(localedir)\" +pkgconfdir = $(libdir)/pkgconfig sysincludedir = $(includedir)/sys +pkgconf_DATA = libacl.pc pkginclude_HEADERS = sysinclude_HEADERS = bin_PROGRAMS = diff --git a/configure.ac b/configure.ac index 27ea05d..2182e81 100644 --- a/configure.ac +++ b/configure.ac @@ -59,6 +59,7 @@ AC_CONFIG_COMMANDS([include/sys], $as_ln_s "$ac_abs_top_srcdir/include" include/sys ]) AC_CONFIG_FILES([ + libacl.pc Makefile po/Makefile.in ]) diff --git a/libacl.pc.in b/libacl.pc.in new file mode 100644 index 0000000..707a887 --- /dev/null +++ b/libacl.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libacl +Description: A library for POSIX Access Control Lists +Version: @PACKAGE_VERSION@ +Cflags: -I${includedir} +Libs: -L${libdir} -lacl |