From: Ralf Wildenhues Date: Wed, 16 Mar 2005 17:29:47 +0000 (+0000) Subject: * config/general.m4sh: unconditionally set IFS, and set it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60f01ad866de6068a906bd123adc3d6b9ecddfe2;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 8b9ab3f2d..f339db9f8 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 9fcb9faab..9339553de 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,^.*/,,g" diff --git a/m4/libtool.m4 b/m4/libtool.m4 index ace5bf6cb..71e625638 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -517,12 +517,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