X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=configure.ac;h=80f678dce14fe57f9f1f94e0ff98cbf8115507da;hb=d8b55a1ea987e0ac8915bd5b2597d85f2d81c85d;hp=e4742341dc04e8cccf74f4b2addbc9ed9a63629f;hpb=d1736ff4b531360a1bfd1993159cc8835da55911;p=apply-default-acl.git diff --git a/configure.ac b/configure.ac index e474234..80f678d 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,6 @@ AC_HEADER_REQUIRE(acl/libacl.h) AC_HEADER_REQUIRE(fcntl.h) AC_HEADER_REQUIRE(getopt.h) AC_HEADER_REQUIRE(libgen.h) -AC_HEADER_REQUIRE(limits.h) AC_HEADER_REQUIRE(linux/xattr.h) AC_HEADER_REQUIRE(sys/acl.h) AC_HEADER_REQUIRE(unistd.h) @@ -44,5 +43,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