[Bridge] [PATCH 4/4] bridge-utils: Pretty print configure help
Andrey Mazo
mazo at telum.ru
Fri Feb 21 12:58:41 UTC 2014
Use special AS_HELP_STRING() macro to correctly format configure --help
output.
Before the change:
"""
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-linux-headers Location of the linux headers to use
"""
After the change:
"""
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-linux-headers location of the linux headers to use
"""
Signed-off-by: Andrey Mazo <mazo at telum.ru>
---
configure.ac | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 096f017..6b24e9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,8 +2,11 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT([bridge-utils],[1.5])
AC_CONFIG_HEADERS(libbridge/config.h)
-AC_ARG_WITH( linux-headers, [ --with-linux-headers Location of the linux headers to use],
- KERNEL_HEADERS=$withval, KERNEL_HEADERS="/usr/src/linux/include")
+AC_ARG_WITH([linux-headers],
+ [AS_HELP_STRING([--with-linux-headers], [location of the linux headers to use])],
+ [KERNEL_HEADERS=$withval],
+ [KERNEL_HEADERS="/usr/src/linux/include"]
+)
dnl Checks for programs.
AC_PROG_CC
--
1.8.4.5
More information about the Bridge
mailing list