summaryrefslogtreecommitdiff
path: root/m4/include-exclude-prog.m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-12-20 17:38:57 +0100
committerJim Meyering <meyering@redhat.com>2007-12-20 17:38:57 +0100
commitc3cac089b1e6cc5c8f29ddad5c52002ac5bf34c8 (patch)
tree70afb961f7c2354dc5c2dc8d90d23b8f3010f9d0 /m4/include-exclude-prog.m4
parent2fc00bda8c6aaab5d0478cc54cf78260090ba74c (diff)
downloadcoreutils-c3cac089b1e6cc5c8f29ddad5c52002ac5bf34c8.tar.xz
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.
Diffstat (limited to 'm4/include-exclude-prog.m4')
-rw-r--r--m4/include-exclude-prog.m45
1 files changed, 3 insertions, 2 deletions
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,