-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
42 lines (29 loc) · 937 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
# Process this file with autoconf to produce a configure script
# prelude
AC_PREREQ([2.69])
AC_INIT([QuickXor], [0.10], [[email protected]])
AM_PROG_AR
# unique source file --- primitive safety check
AC_CONFIG_SRCDIR([src/quickxor.c])
# place to put some extra build scripts installed
# AC_CONFIG_AUX_DIR([build-aux])
# fairly severe build strictness
# change foreign to gnu or gnits to comply with gnu standards
AM_INIT_AUTOMAKE([-Wall -Werror 1.11.2])
# checks for programs
AC_PROG_CC
LT_INIT
# checks for libraries
# PKG_CHECK_MODULES([REQUIRED], [])
PKG_CHECK_MODULES([TEST], [check >= 0.10.0])
AM_PROG_CC_C_O
# checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])
# checks for typedefs, structures, and compiler characteristics
# checks for library functions
# AC_FUNC_MALLOC
# output files
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile README.md])
AC_OUTPUT