X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=configure.ac;h=83729dc544abccc1735c8b2c78721b6965d77c58;hb=31ad4413a85e4f826d52fa98ff19b4481e30d679;hp=54d03f7b3dc6975198311e98e4fc3d668810c779;hpb=1f498641f28241a016c7fce85fc586162421baee;p=apply-default-acl.git diff --git a/configure.ac b/configure.ac index 54d03f7..83729dc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ([2.68]) -AC_INIT([apply-default-acl], [0.3.0], [michael@orlitzky.com]) -AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz]) +AC_INIT([apply-default-acl], [0.4.2], [michael@orlitzky.com]) +AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz tar-ustar]) AC_CONFIG_FILES([Makefile src/Makefile]) AC_CONFIG_SRCDIR([src/apply-default-acl.c]) AC_CONFIG_MACRO_DIRS([m4]) @@ -13,7 +13,7 @@ AM_PROG_AR AC_HEADER_DIRENT # dirent.h AC_HEADER_STAT # sys/stat.h AC_HEADER_STDBOOL # stdbool.h -AC_HEADER_STDC # stdlib.h string.h (implied: errno.h limits.h stdio.h) +AC_HEADER_STDC # stdlib.h string.h (implied: errno.h stdio.h) # Check for header files not covered by the predefined macros above. AC_HEADER_REQUIRE(acl/libacl.h) @@ -44,5 +44,11 @@ AC_CHECK_DECLS([O_PATH], [[#define _GNU_SOURCE #include ]]) +# And check for the GNU/BSD extension asprintf(), which lets us avoid +# praying to the PATH_MAX gods while constructing long paths. +AC_CHECK_FUNC(asprintf, + [], + AC_MSG_ERROR(missing required asprintf function)) + LT_INIT AC_OUTPUT