# Store build artifacts in this directory to keep the house clean.
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz tar-ustar])
-AC_CONFIG_FILES([Makefile src/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile src/libadacl.pc])
AC_CONFIG_SRCDIR([src/apply-default-acl.c])
AC_CONFIG_MACRO_DIRS([m4])
# Not used, but keeps the build log clean.
AC_CONFIG_HEADERS([config.h])
+# Adds --with-pkgconfigdir to the ./configure script and defines
+# the @pkgconfigdir@ variable to be used elsewhere.
+PKG_INSTALLDIR
+
# Checks for programs.
AC_PROG_CC
AM_PROG_AR
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libadacl
+Description: The library implementing the @PACKAGE_NAME@ algorithm
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -ladacl
+Cflags: -I${includedir}