X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=configure.ac;h=c2db54d0286e9f0d8ea34f75f9c55093dee19251;hb=2537b1a95dfac45a8514b946cd9753efa05eb92a;hp=130b10c8a0539d1ed2be3c608099b25a60423bfe;hpb=d806ef795948c87e614cb2a4cfb80ec96a07d256;p=apply-default-acl.git diff --git a/configure.ac b/configure.ac index 130b10c..c2db54d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,6 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. - AC_PREREQ([2.68]) -AC_INIT([apply-default-acl], [0.0.6], [michael@orlitzky.com]) -AM_INIT_AUTOMAKE([foreign]) # don't bug me a bout README, NEWS, etc. +AC_INIT([apply-default-acl], [0.1.3], [michael@orlitzky.com]) +AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz]) AC_CONFIG_SRCDIR([src/apply-default-acl.c]) AC_CONFIG_FILES([Makefile src/Makefile]) @@ -25,11 +22,14 @@ AC_CHECK_HEADERS([ sys/libacl.h sys/types.h unistd.h ]) # can't operate securely; I would rather refuse to be built. AC_CHECK_FUNC(openat, [], - AC_MSG_ERROR(missing required openat function)) + AC_MSG_ERROR(missing required openat function)) +AC_CHECK_DECLS([O_DIRECTORY], + [], + [AC_MSG_ERROR(missing required O_DIRECTORY flag in fcntl.h)], + [[#include ]]) AC_CHECK_DECLS([O_NOFOLLOW], [], - [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)], - [[#include ]]) - + [AC_MSG_ERROR(missing required O_NOFOLLOW flag in fcntl.h)], + [[#include ]]) LT_INIT AC_OUTPUT