]>
Commit | Line | Data |
---|---|---|
765b17bc MT |
1 | # This file is part of libsmooth. |
2 | # | |
3 | # libsmooth is free software; you can redistribute it and/or modify it | |
4 | # under the terms of the GNU Lesser General Public License as published by | |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
6 | # (at your option) any later version. | |
7 | ||
8 | AC_PREREQ([2.64]) | |
9 | ||
10 | AC_INIT([libsmooth], | |
11 | [001], | |
12 | [], | |
13 | [libsmooth], | |
14 | [http://git.ipfire.org/?p=ipfire-2.x.git;a=summary]) | |
15 | ||
16 | AC_CONFIG_MACRO_DIR([m4]) | |
17 | AC_CONFIG_HEADERS([config.h]) | |
18 | AC_CONFIG_AUX_DIR([build-aux]) | |
19 | ||
20 | AM_INIT_AUTOMAKE([ | |
21 | foreign | |
22 | 1.11 | |
23 | -Wall | |
24 | -Wno-portability | |
25 | silent-rules | |
26 | tar-pax | |
27 | no-dist-gzip | |
28 | dist-xz | |
29 | subdir-objects | |
30 | ]) | |
31 | AM_SILENT_RULES([yes]) | |
32 | ||
33 | LT_PREREQ(2.2) | |
34 | LT_INIT([disable-static]) | |
35 | ||
36 | AC_PROG_SED | |
37 | ||
38 | AC_PROG_CC | |
39 | AC_PROG_CC_C99 | |
40 | AC_PROG_CC_C_O | |
41 | ||
42 | AC_PATH_PROG([M4], [m4]) | |
43 | ||
44 | # This makes sure pkg.m4 is available. | |
45 | m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) | |
46 | ||
47 | AC_CONFIG_FILES([ | |
48 | Makefile | |
49 | ]) | |
50 | ||
51 | AC_OUTPUT | |
52 | AC_MSG_RESULT([ | |
53 | $PACKAGE_NAME $VERSION | |
54 | ||
55 | CFLAGS: ${OUR_CFLAGS} ${CFLAGS} | |
56 | CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS} | |
57 | LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS} | |
58 | ]) |