]> git.proxmox.com Git - mirror_lxc.git/blame - configure.in
Initial revision
[mirror_lxc.git] / configure.in
CommitLineData
5e97c3fc 1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_INIT([lxc], [0.1.0])
5
6AC_CONFIG_SRCDIR([configure.in])
7AC_CONFIG_AUX_DIR([config])
8AM_CONFIG_HEADER([src/config.h])
9AM_INIT_AUTOMAKE([-Wno-portability])
10AC_CANONICAL_HOST
11AC_PROG_RANLIB
12AM_PROG_CC_C_O
13AC_GNU_SOURCE
14AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],, AC_MSG_ERROR([netlink headers not found]), [[]])
15AC_PROG_GCC_TRADITIONAL
16
17if test "x$GCC" = "xyes"; then
18 CFLAGS="$CFLAGS -Wall -Werror"
19fi
20
21AC_CONFIG_FILES([
22 Makefile
23 lxc.spec
24 config/Makefile
25 src/Makefile
26 src/liblxc/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-phys.conf
33 etc/lxc-veth.conf
34 etc/lxc-complex-config
35 test/Makefile
36])
37AC_CONFIG_COMMANDS([default],[[]],[[]])
38AC_OUTPUT