]>
Commit | Line | Data |
---|---|---|
1 | # -*- Autoconf -*- | |
2 | # Process this file with autoconf to produce a configure script. | |
3 | ||
4 | AC_INIT([lxc], [0.3.0]) | |
5 | ||
6 | AC_CONFIG_SRCDIR([configure.in]) | |
7 | AC_CONFIG_AUX_DIR([config]) | |
8 | AM_CONFIG_HEADER([src/config.h]) | |
9 | AM_INIT_AUTOMAKE([-Wno-portability]) | |
10 | AC_CANONICAL_HOST | |
11 | AC_PROG_RANLIB | |
12 | AM_PROG_CC_C_O | |
13 | AC_GNU_SOURCE | |
14 | AC_PROG_LIBTOOL | |
15 | AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],, AC_MSG_ERROR([netlink headers not found]), [[]]) | |
16 | AC_PROG_GCC_TRADITIONAL | |
17 | ||
18 | if test "x$GCC" = "xyes"; then | |
19 | CFLAGS="$CFLAGS -Wall" | |
20 | fi | |
21 | ||
22 | AC_CONFIG_FILES([ | |
23 | Makefile | |
24 | lxc.spec | |
25 | config/Makefile | |
26 | src/Makefile | |
27 | src/lxc/Makefile | |
28 | src/lxc/lxc-ps | |
29 | etc/Makefile | |
30 | etc/lxc-macvlan.conf | |
31 | etc/lxc-no-netns.conf | |
32 | etc/lxc-empty-netns.conf | |
33 | etc/lxc-phys.conf | |
34 | etc/lxc-veth.conf | |
35 | etc/lxc-complex-config | |
36 | test/Makefile | |
37 | ]) | |
38 | AC_CONFIG_COMMANDS([default],[[]],[[]]) | |
39 | AC_OUTPUT |