Gitweb:
http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=a1c46f99...
Commit: a1c46f990cff3c45164272fc0e720440b47a716c
Parent: 9dd8355b08582f4ee2028a093663d868a6a29c4a
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Sat Nov 1 14:20:22 2014 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Wed Apr 1 16:51:35 2015 +0100
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(a)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],