Revision deaae996 configure.ac
b/configure.ac | ||
---|---|---|
17 | 17 |
AC_ARG_WITH([os-dir], |
18 | 18 |
[AS_HELP_STRING([--with-os-dir=DIR], |
19 | 19 |
[top-level OS directory under which to install] |
20 |
[ (default is $datadir/ganeti/os)]
|
|
20 |
[ [DATADIR/ganeti/os]]
|
|
21 | 21 |
)], |
22 | 22 |
[os_dir="$withval"], |
23 | 23 |
[os_dir="$datadir/ganeti/os"]) |
24 |
AC_SUBST(OS_DIR, $os_dir)
|
|
24 |
AC_SUBST(osdir, $os_dir)
|
|
25 | 25 |
|
26 | 26 |
# --with-os-name=... |
27 | 27 |
AC_ARG_WITH([os-name], |
28 | 28 |
[AS_HELP_STRING([--with-os-name=OSNAME], |
29 | 29 |
[the name of the OS provider which will be the directory to install its files] |
30 |
[ (default is image)]
|
|
30 |
[ [image]]
|
|
31 | 31 |
)], |
32 | 32 |
[os_name="$withval"], |
33 | 33 |
[os_name="image"]) |
34 |
AC_SUBST(OS_NAME, $os_name)
|
|
34 |
AC_SUBST(osname, $os_name)
|
|
35 | 35 |
|
36 | 36 |
# --with-default-dir=... |
37 | 37 |
AC_ARG_WITH([default-dir], |
38 | 38 |
[AS_HELP_STRING([--with-default-dir=DIR], |
39 | 39 |
[top-level default config directory under which to install] |
40 |
[ (default is $sysconfdir/default)]
|
|
40 |
[ [SYSCONFDIR/default]]
|
|
41 | 41 |
)], |
42 | 42 |
[default_dir="$withval"], |
43 | 43 |
[default_dir="$sysconfdir/default"]) |
... | ... | |
110 | 110 |
|
111 | 111 |
AC_CONFIG_FILES([ |
112 | 112 |
Makefile |
113 |
common.sh |
|
114 | 113 |
]) |
115 | 114 |
|
116 | 115 |
AC_OUTPUT |
Also available in: Unified diff