* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).

* ltmain.in: Add support for EBCDIC based systems.
This commit is contained in:
Jean-Frederic Clere 2002-04-14 21:34:04 +00:00 committed by Robert Boehne
parent d79b26bdb7
commit dc2fdec4f4
3 changed files with 43 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2002-04-14 Jean-Frederic Clere <jfrederic.clere@fujitsu-siemens.com>
* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
* ltmain.in: Add support for EBCDIC based systems.
2002-04-07 Robert Boehne <rboehne@gnu.org>
* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory

39
libtool.m4 vendored
View File

@ -1396,6 +1396,12 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
case $host_vendor in
sni)
shlibpath_overrides_runpath=no
need_lib_prefix=no
export_dynamic_flag_spec='${wl}-Blargedynsym'
runpath_var=LD_RUN_PATH
;;
siemens)
need_lib_prefix=no
;;
motorola)
need_lib_prefix=no
@ -2028,6 +2034,9 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
lt_cv_file_magic_test_file=/lib/libc.so
;;
siemens)
lt_cv_deplibs_check_method=pass_all
;;
esac
;;
@ -4294,11 +4303,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
;;
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
if test "x$host_vendor" = xsni; then
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-LD'
else
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
fi
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
@ -5021,13 +5026,23 @@ EOF
;;
sysv4)
if test "x$host_vendor" = xsni; then
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
else
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
fi
case $host_vendor in
sni)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
;;
siemens)
## LD is ld it makes a PLAMLIB
## CC just makes a GrossModule.
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
_LT_AC_TAGVAR(hardcode_direct, $1)=no
;;
motorola)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
;;
esac
runpath_var='LD_RUN_PATH'
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;

View File

@ -69,8 +69,17 @@ rm="rm -f"
# metacharacters that are still active within double-quoted strings.
Xsed="${SED}"' -e 1s/^X//'
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
SP2NL='tr \040 \012'
NL2SP='tr \015\012 \040\040'
# test EBCDIC or ASCII
case `echo A|od -x` in
*[Cc]1*) # EBCDIC based system
SP2NL="tr '\100' '\n'"
NL2SP="tr '\r\n' '\100\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.