This repository has been archived by the owner on Jan 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
configure.ac
77 lines (46 loc) · 1.53 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
dn1 Process this file with autoconf to produce a configure script.
AC_INIT([libcsv], [3.0.2], [[email protected]],
[libcsv], [http://sourceforge.net/projects/libcsv/])
# Must come before AM_INIT_AUTOMAKE.
AC_CONFIG_MACRO_DIR([m4])
# Minimum Autoconf version required.
AC_PREREQ([2.65])
AM_INIT_AUTOMAKE([1.11 -Wall foreign])
AC_PROG_CC
AC_PROG_CC_STDC # check for ISO/C99 options for the compilers, if available. Be hip, don't be square.
LT_INIT
AC_CONFIG_SRCDIR([libcsv.c])
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# Checks for library functions.
AC_CHECK_FUNCS([strerror])
AC_FUNC_MALLOC
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
dnl Print configuration summary
cat <<EOF
Configuration summary
=====================
$PACKAGE_NAME (version $PACKAGE_VERSION) is now configured as follows:
* Compilation environment
CC = $CC
CFLAGS = $CFLAGS
CPP = $CPP
CPPFLAGS = $CPPFLAGS
LD = $LD
LDFLAGS = $LDFLAGS
LIBS = $LIBS
INSTALLFLAGS = $INSTALLFLAGS
BINDIR = $BIN_PATH
-----------------------------------------------------------------------
Congratulations, your $PACKAGE_NAME $PACKAGE_VERSION is configured now.
You can now build and install $PACKAGE_NAME using the Makefile, by calling
\$ make
Before running
\$ make install
you may wish to test the newly built binary by running
\$ make check
Any unacceptable mistakes will be reported and cause the 'check' run to
abort.
EOF