]> git.proxmox.com Git - mirror_lxcfs.git/blame - configure.ac
configure.ac: release v0.12
[mirror_lxcfs.git] / configure.ac
CommitLineData
2183082c
SH
1# Process this file with autoconf to produce a configure script.
2
3AC_PREREQ(2.61)
805b1fbe 4AC_INIT([lxcfs], [0.12], [lxc-devel@lists.linuxcontainers.org])
7456f3b5
SG
5AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
6AC_CONFIG_MACRO_DIR([m4])
2183082c
SH
7
8AC_GNU_SOURCE
9AC_CONFIG_HEADERS([config.h])
10AC_CONFIG_FILES([
c1f9bbee 11 Makefile
7456f3b5
SG
12 share/Makefile
13 share/00-lxcfs.conf
14 share/lxc.mount.hook
5d6df2dd 15 share/lxc.reboot.hook
c1f9bbee 16 tests/Makefile ])
2183082c
SH
17
18AM_INIT_AUTOMAKE
19
20LT_INIT
21AC_PROG_CC
22
23AC_PROG_CC_C99
24
2c51f8dd
SH
25AC_CHECK_LIB(pthread, main)
26
2183082c
SH
27PKG_CHECK_MODULES(FUSE, fuse)
28
29AC_PATH_PROG(HELP2MAN, help2man, false // No help2man //)
d85bd3de 30AM_CONDITIONAL([HAVE_HELP2MAN], [test "x$HELP2MAN" != "xfalse // No help2man //" ])
2183082c 31
35482f91
SH
32AC_ARG_WITH([runtime-path],
33 [AC_HELP_STRING(
34 [--with-runtime-path=dir],
35 [runtime directory (default: /run)]
36 )], [], [with_runtime_path=['/run']])
37
38AS_AC_EXPAND(RUNTIME_PATH, "$with_runtime_path")
7456f3b5 39AS_AC_EXPAND(LXCFSSHAREDIR, "$datarootdir/lxcfs")
b4851b56 40AS_AC_EXPAND(LXCCONFDIR, "$datarootdir/lxc/config/common.conf.d")
7456f3b5
SG
41AS_AC_EXPAND(LXCFSTARGETDIR, "$localstatedir/lib/lxcfs")
42
2183082c 43AC_OUTPUT