From f23ababfb2160f3189c19898c1ae5a987be1ba47 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 25 Jul 2010 16:16:42 +0200 Subject: build: Use AS_HELP_STRING macro to format the ./configure --help better Signed-off-by: Sylvain Munaut --- configure.in | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e3e178c0..140fdc2f 100644 --- a/configure.in +++ b/configure.in @@ -35,22 +35,34 @@ dnl Generate the output AM_CONFIG_HEADER(config.h) AC_ARG_ENABLE(talloc, - [ --disable-talloc Disable building talloc memory allocator ], + [AS_HELP_STRING( + [--disable-talloc], + [Disable building talloc memory allocator] + )], [enable_talloc=0], [enable_talloc=1]) AM_CONDITIONAL(ENABLE_TALLOC, test "x$enable_talloc" = "x1") AC_ARG_ENABLE(plugin, - [ --disable-plugin Disable support for dlopen plugins ], + [AS_HELP_STRING( + [--disable-plugin], + [Disable support for dlopen plugins], + )], [enable_plugin=0], [enable_plugin=1]) AM_CONDITIONAL(ENABLE_PLUGIN, test "x$enable_plugin" = "x1") AC_ARG_ENABLE(tests, - [ --disable-tests Disable building test programs ], + [AS_HELP_STRING( + [--disable-tests], + [Disable building test programs] + )], [enable_tests=0], [enable_tests=1]) AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "x1") AC_ARG_ENABLE(vty, - [ --disable-vty Disable building VTY telnet interface ], + [AS_HELP_STRING( + [--disable-vty], + [Disable building VTY telnet interface] + )], [enable_vty=0], [enable_vty=1]) AM_CONDITIONAL(ENABLE_VTY, test "x$enable_vty" = "x1") -- cgit v1.2.3