Revision f00b46bc configure.ac
b/configure.ac | ||
---|---|---|
17 | 17 |
# --with-export-dir=... |
18 | 18 |
AC_ARG_WITH([export-dir], |
19 | 19 |
[AS_HELP_STRING([--with-export-dir=DIR], |
20 |
[directory to use by default for instance image exports (default is /srv/ganeti/export)] |
|
20 |
[directory to use by default for instance image] |
|
21 |
[ exports (default is /srv/ganeti/export)] |
|
21 | 22 |
)], |
22 | 23 |
[export_dir="$withval"], |
23 | 24 |
[export_dir="/srv/ganeti/export"]) |
... | ... | |
27 | 28 |
# do a bit of black sed magic to for quoting of the strings in the list |
28 | 29 |
AC_ARG_WITH([os-search-path], |
29 | 30 |
[AS_HELP_STRING([--with-os-search-path=LIST], |
30 |
[comma separated list of directories to search for OS images (default is /srv/ganeti/os)] |
|
31 |
[comma separated list of directories to] |
|
32 |
[ search for OS images (default is /srv/ganeti/os)] |
|
31 | 33 |
)], |
32 | 34 |
[os_search_path=`echo -n "$withval" | sed -e "s/\([[^,]]*\)/'\1'/g"`], |
33 | 35 |
[os_search_path="'/srv/ganeti/os'"]) |
34 | 36 |
AC_SUBST(OS_SEARCH_PATH, $os_search_path) |
35 | 37 |
|
38 |
# --with-xen-kernel=... |
|
39 |
AC_ARG_WITH([xen-kernel], |
|
40 |
[AS_HELP_STRING([--with-xen-kernel=PATH], |
|
41 |
[DomU kernel image for Xen hypervisor (default is /boot/vmlinuz-2.6-xenU)] |
|
42 |
)], |
|
43 |
[xen_kernel="$withval"], |
|
44 |
[xen_kernel="/boot/vmlinuz-2.6-xenU"]) |
|
45 |
AC_SUBST(XEN_KERNEL, $xen_kernel) |
|
46 |
|
|
47 |
# --with-xen-initrd=... |
|
48 |
AC_ARG_WITH([xen-initrd], |
|
49 |
[AS_HELP_STRING([--with-xen-initrd=PATH], |
|
50 |
[DomU initrd image for Xen hypervisor (default is /boot/initrd-2.6-xenU)] |
|
51 |
)], |
|
52 |
[xen_initrd="$withval"], |
|
53 |
[xen_initrd="/boot/initrd-2.6-xenU"]) |
|
54 |
AC_SUBST(XEN_INITRD, $xen_initrd) |
|
55 |
|
|
36 | 56 |
# Check common programs |
37 | 57 |
AC_PROG_INSTALL |
38 | 58 |
AC_PROG_LN_S |
Also available in: Unified diff