[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] Adjust helptext in m4/systemd.m4



commit 4346115bee9b75d6a8d28c4d65642368b572cbf9
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Fri Oct 10 09:19:48 2014 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Tue Oct 14 10:23:55 2014 +0100

    Adjust helptext in m4/systemd.m4
    
    Use AS_HELP_STRING for proper formating, mention both options take a
    directory, mention the default value, quote the arguments in brackets.
    
    Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
    Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
    Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
    [ijc -- ran autogen.sh as requested]
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 m4/systemd.m4   |   12 ++++++++----
 tools/configure |    7 +++++--
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/m4/systemd.m4 b/m4/systemd.m4
index 760bbad..629d202 100644
--- a/m4/systemd.m4
+++ b/m4/systemd.m4
@@ -18,12 +18,16 @@
 
 dnl Some optional path options
 AC_DEFUN([AX_SYSTEMD_OPTIONS], [
-       AC_ARG_WITH(systemd, [  --with-systemd          set directory for 
systemd service files],
-               SYSTEMD_DIR="$withval", SYSTEMD_DIR="")
+       AC_ARG_WITH(systemd,
+               AS_HELP_STRING([--with-systemd=DIR],
+               [set directory for systemd service files 
[PREFIX/lib/systemd/system]]),
+               [SYSTEMD_DIR="$withval"],[SYSTEMD_DIR=""])
        AC_SUBST(SYSTEMD_DIR)
 
-       AC_ARG_WITH(systemd, [  --with-systemd-modules-load          set 
directory for systemd modules load files],
-               SYSTEMD_MODULES_LOAD="$withval", SYSTEMD_MODULES_LOAD="")
+       AC_ARG_WITH(systemd,
+               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=""])
        AC_SUBST(SYSTEMD_MODULES_LOAD)
 ])
 
diff --git a/tools/configure b/tools/configure
index 2c76cb1..491864f 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1509,8 +1509,11 @@ Optional Packages:
                           dependencies resolved we'll enable the C xenstored
                           for you. If you ask for oxenstored we'll complain
                           until you resolve those dependencies
-  --with-systemd          set directory for systemd service files
-  --with-systemd-modules-load          set directory for systemd modules load 
files
+  --with-systemd=DIR      set directory for systemd service files
+                          [PREFIX/lib/systemd/system]
+  --with-systemd-modules-load=DIR
+                          set directory for systemd modules load files
+                          [PREFIX/lib/modules-load.d/]
 
 Some influential environment variables:
   CC          C compiler command
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.