summaryrefslogtreecommitdiff
path: root/m4/include-exclude-prog.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-07-14 10:02:57 +0200
committerJim Meyering <jim@meyering.net>2007-07-14 10:05:23 +0200
commit78adb282a743a326ccfb137c537fcc793e1ebb08 (patch)
tree8348418aba9789740183891f4ebb324f107195f8 /m4/include-exclude-prog.m4
parent1ff9e235e7413c7f945cc87cb3d4fe9ab0464d3b (diff)
downloadcoreutils-78adb282a743a326ccfb137c537fcc793e1ebb08.tar.xz
Change interface: make 2nd param _space_-separated, not comma-separated
* m4/include-exclude-prog.m4 (gl_INCLUDE_EXCLUDE_PROG): Remove now- unnecessary use of tr. Improve comments. * configure.ac: Adjust caller, as well as the code that ensures the 2nd parameter stays in sync with the list in src/Makefile.am.
Diffstat (limited to 'm4/include-exclude-prog.m4')
-rw-r--r--m4/include-exclude-prog.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/include-exclude-prog.m4 b/m4/include-exclude-prog.m4
index 32447f592..e5612c69f 100644
--- a/m4/include-exclude-prog.m4
+++ b/m4/include-exclude-prog.m4
@@ -24,13 +24,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 "don't-install" and
+# programs, modify the former variable to reflect "no-install" and
# "do-install" requests.
#
-# Usage: gl_INCLUDE_EXCLUDE_PROG([prog_list_var_name], [NI_prog1])
+# Usage: gl_INCLUDE_EXCLUDE_PROG([prog_list_var_name], [no_inst_prog_list])
AC_DEFUN([gl_INCLUDE_EXCLUDE_PROG],
[{
- gl_no_install_progs_default=`echo "$2"|tr -s , ' '`
+ gl_no_install_progs_default='$2'
AC_ARG_ENABLE([install-program],
[AS_HELP_STRING([--enable-install-program=PROG_LIST],
[install the programs in PROG_LIST (comma-separated,