aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Mazo <mazo@telum.ru>2014-02-24 14:56:46 +0400
committerStephen Hemminger <stephen@networkplumber.org>2014-02-28 10:15:59 -0800
commit76f97da7584a13bf52a0ca59ca748b3b36dab601 (patch)
tree9eda5e11e1c9e1752c453a352fe007b78c1b8941
parent2ccf7b1b596f242f76c0486c675e9b60913102dd (diff)
downloadbridge-utils-76f97da7584a13bf52a0ca59ca748b3b36dab601.tar.gz
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@telum.ru>
-rw-r--r--configure.ac7
1 files 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