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)
[[#define _GNU_SOURCE
#include <fcntl.h>]])
+# 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