mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
empty parentheses as in 's/x()/1/'. (_LT_COMPILER_PIC) [unicos*]: wl=-Wl,. * tests/sh.test: Not all sed's like '/.*n.*/' (Unicos 9 sed loops endlessly).
This commit is contained in:
parent
c9d4e5ec5c
commit
62fae08f57
@ -1,5 +1,11 @@
|
||||
2005-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
|
||||
empty parentheses as in 's/x\(\)/\1/'.
|
||||
(_LT_COMPILER_PIC) [unicos*]: wl=-Wl,.
|
||||
* tests/sh.test: Not all sed's like '/.*\n.*/' (Unicos 9 sed
|
||||
loops endlessly).
|
||||
|
||||
* tests/quote.test: Match link quoting against `"$wl"', not `-Wl,'.
|
||||
|
||||
* tests/quote.test: Check for `--no-reexec' in $1 to avoid one reexec.
|
||||
|
13
m4/libtool.m4
vendored
13
m4/libtool.m4
vendored
@ -2775,9 +2775,6 @@ symcode='[[BCDEGRST]]'
|
||||
# Regexp to match symbols that can be accessed directly from C.
|
||||
sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
|
||||
|
||||
# Transform the above into a raw symbol and a C symbol.
|
||||
symxfrm='\1 \2\3 \3'
|
||||
|
||||
# Define system-specific variables.
|
||||
case $host_os in
|
||||
aix*)
|
||||
@ -2830,8 +2827,11 @@ esac
|
||||
# Try without a prefix underscore, then with it.
|
||||
for ac_symprfx in "" "_"; do
|
||||
|
||||
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
|
||||
symxfrm="\\1 $ac_symprfx\\2 \\2"
|
||||
|
||||
# Write the raw and C identifiers.
|
||||
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
|
||||
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
||||
|
||||
# Check to see that the pipe works correctly.
|
||||
pipe_works=no
|
||||
@ -3433,6 +3433,11 @@ m4_if([$1], [CXX], [
|
||||
fi
|
||||
;;
|
||||
|
||||
unicos*)
|
||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||
_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
|
||||
;;
|
||||
|
||||
uts4*)
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
|
||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||
|
@ -84,7 +84,7 @@ fi
|
||||
# Check for using shift after set dummy (same or following line).
|
||||
for s in $scripts
|
||||
do
|
||||
if $SED -n '/set[ ][ ]*dummy/{/set.*dummy.*;.*shift/d;N;/set.*dummy.*\n.*shift/D;p;}' "$s" |
|
||||
if $SED -n '/set[ ][ ]*dummy/{/set.*dummy.*;.*shift/d;N;/\n.*shift/D;p;}' "$s" |
|
||||
$EGREP .; then
|
||||
echo "use \`shift' after \`set dummy' in $s"
|
||||
status=$EXIT_FAILURE
|
||||
|
Loading…
Reference in New Issue
Block a user