root / configure.ac @ 79224631
History | View | Annotate | Download (564 Bytes)
1 |
AC_PREREQ(2.59) |
---|---|
2 |
AC_INIT(ganeti-instance-debootstrap, 0.7, ganeti@googlegroups.com) |
3 |
|
4 |
AC_CONFIG_AUX_DIR(autotools) |
5 |
AC_CONFIG_SRCDIR(configure) |
6 |
|
7 |
AM_INIT_AUTOMAKE([1.9 foreign tar-ustar -Wall -Wno-portability]) |
8 |
|
9 |
# --with-os-dir=... |
10 |
AC_ARG_WITH([os-dir], |
11 |
[AS_HELP_STRING([--with-os-dir=DIR], |
12 |
[top-level OS directory under which to install] |
13 |
[ (default is $datadir/ganeti/os)] |
14 |
)], |
15 |
[os_dir="$withval"], |
16 |
[os_dir="$datadir/ganeti/os"]) |
17 |
AC_SUBST(OS_DIR, $os_dir) |
18 |
|
19 |
# Check common programs |
20 |
AC_PROG_INSTALL |
21 |
AC_PROG_LN_S |
22 |
|
23 |
AC_CONFIG_FILES([ Makefile ]) |
24 |
|
25 |
AC_OUTPUT |