From cdbe3d3d8067a5ad0ad823f20b86151bfe9359cc Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 19 Sep 2011 14:02:10 -0400 Subject: [PATCH 1/1] 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 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2