[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1393239406-8504-5-git-send-email-mazo@telum.ru>
Date: Mon, 24 Feb 2014 14:56:46 +0400
From: Andrey Mazo <mazo@...um.ru>
To: netdev@...r.kernel.org
Cc: Andrey Mazo <mazo@...um.ru>
Subject: [PATCH 4/4] bridge-utils: Pretty print configure help
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@...um.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists