From 78adb282a743a326ccfb137c537fcc793e1ebb08 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 14 Jul 2007 10:02:57 +0200 Subject: 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. --- m4/include-exclude-prog.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'm4/include-exclude-prog.m4') 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, -- cgit v1.2.3-54-g00ecf