diff options
author | Jim Meyering <jim@meyering.net> | 2007-07-14 10:02:57 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-14 10:05:23 +0200 |
commit | 78adb282a743a326ccfb137c537fcc793e1ebb08 (patch) | |
tree | 8348418aba9789740183891f4ebb324f107195f8 /m4 | |
parent | 1ff9e235e7413c7f945cc87cb3d4fe9ab0464d3b (diff) | |
download | coreutils-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')
-rw-r--r-- | m4/include-exclude-prog.m4 | 6 |
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, |