[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libtool 1.4.2 and EBCDIC
From: |
Howard Chu |
Subject: |
Libtool 1.4.2 and EBCDIC |
Date: |
Tue, 24 Sep 2002 21:29:05 -0700 |
I don't recall if I submitted this patch already, but this will patch libtool
to properly deal with EndOfLine on EBCDIC systems:
*** ltmain.sh Fri Jun 7 16:35:33 2002
--- ../ldap/build/ltmain.sh Thu Sep 19 23:21:52 2002
***************
*** 69,76 ****
--- 74,90 ----
# metacharacters that are still active within double-quoted strings.
Xsed='sed -e 1s/^X//'
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
+ # test EBCDIC or ASCII
+ case `echo '' | od -x` in
+ *15*) # EBCDIC based system
+ SP2NL='tr \100 \025'
+ NL2SP='tr \025 \100'
+ ;;
+ *) # Assume ASCII based system
SP2NL='tr \040 \012'
NL2SP='tr \015\012 \040\040'
+ ;;
+ esac
# NLS nuisances.
# Only set LANG and LC_ALL to C if already set.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
- Libtool 1.4.2 and EBCDIC,
Howard Chu <=