]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - configure.ac
configure.ac,src/libadacl.pc.in: new pkg-config file.
[apply-default-acl.git] / configure.ac
index 83729dc544abccc1735c8b2c78721b6965d77c58..3213494fd73e63e53b547c81b574500f846fa4f3 100644 (file)
@@ -1,10 +1,19 @@
 AC_PREREQ([2.68])
 AC_INIT([apply-default-acl], [0.4.2], [michael@orlitzky.com])
+# 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
@@ -50,5 +59,5 @@ AC_CHECK_FUNC(asprintf,
               [],
               AC_MSG_ERROR(missing required asprintf function))
 
-LT_INIT
+LT_INIT([disable-static])
 AC_OUTPUT