From: Chuck Lever Date: Mon, 19 Sep 2011 18:02:10 +0000 (-0400) Subject: configure.ac: Fix help string for --with-statedir= option X-Git-Tag: nfs-utils-1-2-5-rc3~11 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=cae84d3a8aecbce0d0115382441f18fd62798f9a;p=nfs-utils.git configure.ac: Fix help string for --with-statedir= option 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 Signed-off-by: Steve Dickson --- diff --git a/configure.ac b/configure.ac index 1a28f8a..3132fe4 100644 --- a/configure.ac +++ b/configure.ac @@ -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)