-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.ac
41 lines (29 loc) · 848 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(bbe, 0.2.2, [email protected])
AC_CONFIG_SRCDIR(src/bbe.c)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE
dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
AC_CONFIG_HEADER(config.h)
AC_SUBST(VERSION)
ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)
AC_CANONICAL_HOST
dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC
AC_GNU_SOURCE
dnl Checks for libraries.
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(features.h error.h errno.h getopt.h)
AC_CHECK_FUNCS(getline getopt_long)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_SYS_LARGEFILE
AC_SYS_LONG_FILE_NAMES
AC_CHECK_TYPES(off_t)
AC_CHECK_TYPES(long long)
AC_C_INLINE
dnl Checks for library functions.
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
AC_OUTPUT