summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to '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,