From afe644207a2422d3fbbd85207be0618c2fbee855 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Mon, 14 Nov 2011 17:37:39 +0700 Subject: [PATCH] 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 --- libtoolize.m4sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) 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" -- 2.47.2