From: Gary V. Vaughan Date: Mon, 14 Nov 2011 10:37:39 +0000 (+0700) Subject: libtoolize: remove NL2SP and initialisation. X-Git-Tag: v2.4.2.418~272 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afe644207a2422d3fbbd85207be0618c2fbee855;p=thirdparty%2Flibtool.git libtoolize: remove NL2SP and initialisation. There's only a single use of NL2SP, and that is redundant. * libtoolize.m4sh (func_serial_update): Factor away use of NL2SP. (NL2SP, SP2NL): Remove initialisation. Signed-off-by: Gary V. Vaughan --- diff --git a/libtoolize.m4sh b/libtoolize.m4sh index c920248b8..53494dd3f 100644 --- a/libtoolize.m4sh +++ b/libtoolize.m4sh @@ -657,7 +657,7 @@ func_serial_update () # it has `m4_include([DESTFILE])', so the copy effectively already # updated `aclocal.m4'. my_included_files=`func_included_files aclocal.m4` - case `echo " $my_included_files " | $NL2SP` in + case `echo " "$my_included_files" "` in # Skip included files: *" $my_destfile "*) ;; @@ -1648,19 +1648,6 @@ func_require_seen_libtool () pkgltdldir=@pkgdatadir@ aclocaldir=@aclocaldir@ - # test EBCDIC or ASCII - case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - SP2NL='tr \040 \012' - NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - SP2NL='tr \100 \n' - NL2SP='tr \r\n \100\100' - ;; - esac - # Allow the user to override the master libtoolize repository: if test -n "$_lt_pkgdatadir"; then pkgltdldir="$_lt_pkgdatadir/libltdl"