mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
* libtool.m4 (AM_SYS_NM_PARSE): while we are at it, we may well
cache the value of ac_cv_sys_symbol_underscore
This commit is contained in:
parent
35f45d7e2e
commit
2487d7fccc
@ -1,7 +1,11 @@
|
||||
1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* libtool.m4 (AM_SYS_NM_PARSE): while we are at it, we may well
|
||||
cache the value of ac_cv_sys_symbol_underscore
|
||||
|
||||
* libtool.m4 (AM_SYS_NM_PARSE): need for underscore prefix is now
|
||||
auto-detected, by trying first without, then with it
|
||||
auto-detected, by trying first without, then with it.
|
||||
|
||||
* ltconfig.in: ditto
|
||||
|
||||
1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
9
libtool.m4
vendored
9
libtool.m4
vendored
@ -380,7 +380,9 @@ changequote([,])dnl
|
||||
for ac_symprfx in "" "_"; do
|
||||
|
||||
# Write the raw and C identifiers.
|
||||
ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* $ac_symcode $ac_symprfx$ac_sympat$/$ac_symxfrm/p'"
|
||||
# Unlike in ltconfig.in, we need $ac_symprfx before $ac_symxfrm here,
|
||||
# otherwise AM_SYS_SYMBOL_UNDERSCORE will always be false
|
||||
ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* $ac_symcode $ac_symprfx$ac_sympat$/$ac_symprfx$ac_symxfrm/p'"
|
||||
|
||||
# Check to see that the pipe works correctly.
|
||||
ac_pipe_works=no
|
||||
@ -486,6 +488,11 @@ EOF
|
||||
|
||||
# Do not use the global_symbol_pipe unless it works.
|
||||
if test "$ac_pipe_works" = yes; then
|
||||
if test x"$ac_symprfx" = x"_"; then
|
||||
ac_cv_sys_symbol_underscore=yes
|
||||
else
|
||||
ac_cv_sys_symbol_underscore=no
|
||||
fi
|
||||
break
|
||||
else
|
||||
ac_cv_sys_global_symbol_pipe=
|
||||
|
Loading…
Reference in New Issue
Block a user