]> gitweb.michael.orlitzky.com - apply-default-acl.git/blob - configure.ac
Print an error if any targets do not exist.
[apply-default-acl.git] / configure.ac
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.68])
5 AC_INIT([apply-default-acl], [0.0.5], [michael@orlitzky.com])
6 AM_INIT_AUTOMAKE
7 AC_CONFIG_SRCDIR([src/apply-default-acl.c])
8 AC_CONFIG_FILES([Makefile src/Makefile])
9
10 # Checks for programs.
11 AC_PROG_CC
12
13 # Predefined header checks.
14 AC_HEADER_STAT # sys/stat.h
15 AC_HEADER_STDBOOL # stdbool.h
16 AC_HEADER_STDC # stdlib.h string.h (implied: errno.h limits.h stdio.h)
17 AC_TYPE_MODE_T
18
19 # Check for header files not covered by the predefined macros above.
20 AC_CHECK_HEADERS([ fcntl.h ftw.h getopt.h libgen.h sys/acl.h sys/libacl.h ])
21 AC_CHECK_HEADERS([ sys/types.h unistd.h ])
22
23 AC_OUTPUT