Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=a3647dea1de... Commit: a3647dea1dedb9b4ecf9d7b6de24d990d7f7d915 Parent: 05cec12283b7652144a57460166a8147cf3e5144 Author: Andrew Price anprice@redhat.com AuthorDate: Sat Nov 1 14:20:22 2014 +0000 Committer: Andrew Price anprice@redhat.com CommitterDate: Sat Nov 1 14:20:22 2014 +0000
gfs2-utils configure: Use AC_HELP_STRING in help messages
This makes it easier to keep text alignment in ./configure --help. Also re-word an error message.
Signed-off-by: Andrew Price anprice@redhat.com --- configure.ac | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac index e70409c..2341730 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,7 @@ esac
# check stolen from gnulib/m4/gnu-make.m4 if ! ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1; then - AC_MSG_ERROR([you don't seem to have GNU make; it is required]) + AC_MSG_ERROR([GNU make was not found but is required.]) fi
AC_PROG_CC @@ -87,11 +87,11 @@ check_lib_no_libs() {
# local options AC_ARG_ENABLE([debug], - [ --enable-debug enable debug build. ], - [ default="no" ]) + AC_HELP_STRING([--enable-debug],[enable debug build [default=no]]), + [default="no"]) AC_ARG_ENABLE([gcov], - [ --enable-gcov enable coverage instrumentation.], - [ default="no" ]) + AC_HELP_STRING([--enable-gcov],[enable coverage instrumentation [default=no]]), + [default="no"])
# We use the Check framework for unit tests PKG_CHECK_MODULES([check], [check >= 0.9.8],
cluster-commits@lists.fedorahosted.org