[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI [PATCH] libtoolize: remove NL2SP and initialisation.
From: |
Gary V. Vaughan |
Subject: |
FYI [PATCH] libtoolize: remove NL2SP and initialisation. |
Date: |
Tue, 15 Nov 2011 16:27:50 +0700 |
Cherry picked from my patch queue and applied as obvious.
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 <address@hidden>
---
libtoolize.m4sh | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index c920248..53494dd 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 ()
address@hidden@
address@hidden@
- # 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"
--
1.7.7.3
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI [PATCH] libtoolize: remove NL2SP and initialisation.,
Gary V. Vaughan <=