Revision 5293052e configure.ac
b/configure.ac | ||
---|---|---|
10 | 10 |
AC_ARG_WITH([os-dir], |
11 | 11 |
[AS_HELP_STRING([--with-os-dir=DIR], |
12 | 12 |
[top-level OS directory under which to install] |
13 |
[ (default is $datadir/ganeti/os)]
|
|
13 |
[ [DATADIR/ganeti/os]]
|
|
14 | 14 |
)], |
15 | 15 |
[os_dir="$withval"], |
16 | 16 |
[os_dir="$datadir/ganeti/os"]) |
17 |
AC_SUBST(OS_DIR, $os_dir)
|
|
17 |
AC_SUBST(osdir, $os_dir)
|
|
18 | 18 |
|
19 | 19 |
# --with-os-name=... |
20 | 20 |
AC_ARG_WITH([os-name], |
21 | 21 |
[AS_HELP_STRING([--with-os-name=OSNAME], |
22 | 22 |
[the name of the OS provider which will be the directory to install its files] |
23 |
[ (default is image)]
|
|
23 |
[ [image]]
|
|
24 | 24 |
)], |
25 | 25 |
[os_name="$withval"], |
26 | 26 |
[os_name="image"]) |
27 |
AC_SUBST(OS_NAME, $os_name)
|
|
27 |
AC_SUBST(osname, $os_name)
|
|
28 | 28 |
|
29 | 29 |
# --with-default-dir=... |
30 | 30 |
AC_ARG_WITH([default-dir], |
31 | 31 |
[AS_HELP_STRING([--with-default-dir=DIR], |
32 | 32 |
[top-level default config directory under which to install] |
33 |
[ (default is $sysconfdir/default)]
|
|
33 |
[ [SYSCONFDIR/default]]
|
|
34 | 34 |
)], |
35 | 35 |
[default_dir="$withval"], |
36 | 36 |
[default_dir="$sysconfdir/default"]) |
... | ... | |
69 | 69 |
|
70 | 70 |
AC_CONFIG_FILES([ |
71 | 71 |
Makefile |
72 |
common.sh |
|
73 | 72 |
]) |
74 | 73 |
|
75 | 74 |
AC_OUTPUT |
Also available in: Unified diff