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: debian/1%1.2.5-1~11^2~16 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=cdbe3d3d8067a5ad0ad823f20b86151bfe9359cc;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)