-
Notifications
You must be signed in to change notification settings - Fork 23
/
configure.ac
56 lines (47 loc) · 920 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
AC_INIT([flock],
[0.4.0],
[https://github.com/josephholsten/flock])
AC_PREREQ([2.69])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
dnl AC_USE_SYSTEM_EXTENSIONS must be called before any macros that run
dnl the compiler (like AC_PROG_LIBTOOL) to avoid autoconf errors.
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign 1.15 tar-pax dist-xz subdir-objects])
AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR([src/flock.c])
AC_REQUIRE_AUX_FILE([tap-driver.sh])
AC_PROG_AWK
AC_PROG_CC_STDC
AC_CANONICAL_HOST
AC_C_CONST
AC_C_VOLATILE
AC_C_BIGENDIAN
AC_CHECK_HEADERS([ \
err.h \
errno.h \
fcntl.h \
locale.h \
signal.h \
stdio.h \
stdlib.h \
string.h \
sys/file.h \
sys/time.h \
sysexits.h \
unistd.h \
])
AC_CHECK_FUNCS([ \
err \
errx \
warn \
warnx \
flock \
])
LIBS=""
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile \
])
AC_OUTPUT