]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
configure.ac: Fix help string for --with-statedir= option
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Sep 2011 18:02:10 +0000 (14:02 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 20 Sep 2011 11:33:02 +0000 (07:33 -0400)
The help string for --with-statedir attempts to show "/var/lib/nfs" in
square brackets, but they don't appear on my system (Fedora 13).  Use
the AC_HELP_STRING macro to display the help string properly, like all
the other "with" and "enable" options specified in our configure.ac.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index 1a28f8a4cd50367397d478e64626027ef35c4ca3..3132fe4f29f4d113fc900f36982f59e453e4d9f0 100644 (file)
@@ -18,7 +18,8 @@ AC_ARG_WITH(release,
        RELEASE=1)
        AC_SUBST(RELEASE)
 AC_ARG_WITH(statedir,
-       [  --with-statedir=/foo    use state dir /foo [/var/lib/nfs]],
+       [AC_HELP_STRING([--with-statedir=/foo],
+                       [use state dir /foo @<:@default=/var/lib/nfs@:>@])],
        statedir=$withval,
        statedir=/var/lib/nfs)
        AC_SUBST(statedir)