mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix configure --with-systemd-modules-load=DIR
Currently --with-systemd=DIR1 --with-systemd-modules-load=DIR2 will set both XEN_SYSTEMD_DIR and XEN_SYSTEMD_MODULES_LOAD to DIR1. The reason is that both AC_ARG_WITH() use 'systemd' as the name for the internal variable. As a result the value of the first option is also use as the value for the second option. Fix this by using another variable name. Signed-off-by: Olaf Hering <olaf@aepfle.de> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> [ijc -- ran autogen.sh as requested]
This commit is contained in:
1 parent
df8589760e
commit
59286be58a
2 files changed
+5
-4
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ AC_DEFUN([AX_SYSTEMD_OPTIONS], [
|
||||
[SYSTEMD_DIR="$withval"],[SYSTEMD_DIR=""])
|
||||
AC_SUBST(SYSTEMD_DIR)
|
||||
|
||||
AC_ARG_WITH(systemd,
|
||||
AC_ARG_WITH(systemd-modules-load,
|
||||
AS_HELP_STRING([--with-systemd-modules-load=DIR],
|
||||
[set directory for systemd modules load files [PREFIX/lib/modules-load.d/]]),
|
||||
[SYSTEMD_MODULES_LOAD="$withval"], [SYSTEMD_MODULES_LOAD=""])
|
||||
|
||||