From b4501c381d78e9cfdafde3ce97b5ca4016b50b9e Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 16 Mar 2005 17:27:35 +0000 Subject: [PATCH] * config/general.m4sh: unconditionally set IFS, and set it to the one true right sequence: space, tab, newline. * m4/libtool.m4: remove IFS setting and as_* namespace infringement. --- ChangeLog | 4 ++++ config/general.m4sh | 5 +++-- m4/libtool.m4 | 6 ------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index d7b2ab91..e12beb8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-03-16 Ralf Wildenhues + * config/general.m4sh: unconditionally set IFS, and set it + to the one true right sequence: space, tab, newline. + * m4/libtool.m4: remove IFS setting and as_* namespace infringement. + * m4/libtool.m4 (_LT_CONFIG): Reset IFS to fix failure with ash. * configure.ac, libltdl/configure.ac: s/##/dnl/ for comments diff --git a/config/general.m4sh b/config/general.m4sh index 8a43ee77..534d7b47 100644 --- a/config/general.m4sh +++ b/config/general.m4sh @@ -48,8 +48,9 @@ EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default -: ${IFS=" - "} +lt_nl=' +' +IFS=" $lt_nl" dirname="s,/[[^/]]*$,," basename="s,^.*/,," diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 357ad58f..157f4dc3 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -518,12 +518,6 @@ _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH