]> git.proxmox.com Git - mirror_lxc.git/blame - configure.in
Exit instead of returning in the child processes, otherwise the execution
[mirror_lxc.git] / configure.in
CommitLineData
5e97c3fc 1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
7f118a6c 4AC_INIT([lxc], [0.3.0])
5e97c3fc 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
c2cc9f0a 14AC_PROG_LIBTOOL
86f7d054 15AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink headers not found]),
69437d52 16[#include <linux/types.h>
17#include <bits/sockaddr.h>
18#include <linux/socket.h>])
5e97c3fc 19AC_PROG_GCC_TRADITIONAL
20
21if test "x$GCC" = "xyes"; then
8642237a 22 CFLAGS="$CFLAGS -Wall"
5e97c3fc 23fi
24
25AC_CONFIG_FILES([
26 Makefile
27 lxc.spec
28 config/Makefile
29 src/Makefile
5e97c3fc 30 src/lxc/Makefile
31 src/lxc/lxc-ps
6c5084ef 32 src/lxc/lxc-checkconfig
5e97c3fc 33 etc/Makefile
34 etc/lxc-macvlan.conf
35 etc/lxc-no-netns.conf
5f58350a 36 etc/lxc-empty-netns.conf
5e97c3fc 37 etc/lxc-phys.conf
38 etc/lxc-veth.conf
39 etc/lxc-complex-config
40 test/Makefile
41])
42AC_CONFIG_COMMANDS([default],[[]],[[]])
43AC_OUTPUT