From c3cac089b1e6cc5c8f29ddad5c52002ac5bf34c8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 20 Dec 2007 17:38:57 +0100 Subject: Use comma-separated list in ./configure --help output. * configure.ac: Map commas to spaces in excluded-program list. Use a comma-separated list, not a space-separated one. * m4/include-exclude-prog.m4 (gl_INCLUDE_EXCLUDE_PROG): Expect list of program names to be comma-separated. Reported by Jan Bauke Douma. --- m4/include-exclude-prog.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/include-exclude-prog.m4 b/m4/include-exclude-prog.m4 index c5e31d9a1..cf11c7835 100644 --- a/m4/include-exclude-prog.m4 +++ b/m4/include-exclude-prog.m4 @@ -27,12 +27,13 @@ AC_DEFUN([gl_REMOVE_PROG], # Given the name of a variable containing a space-separated list of # install-by-default programs and the list of do-not-install-by-default # programs, modify the former variable to reflect "no-install" and -# "do-install" requests. +# "do-install" requests. The names in the latter list should be comma- +# separated. # # Usage: gl_INCLUDE_EXCLUDE_PROG([prog_list_var_name], [no_inst_prog_list]) AC_DEFUN([gl_INCLUDE_EXCLUDE_PROG], [{ - gl_no_install_progs_default='$2' + gl_no_install_progs_default=`echo '$2'|sed 's/,/ /g'` AC_ARG_ENABLE([install-program], [AS_HELP_STRING([--enable-install-program=PROG_LIST], [install the programs in PROG_LIST (comma-separated, -- cgit v1.2.3-54-g00ecf