mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-23 15:19:27 +08:00
* libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in
addition to space as separator, and allow more than one space between the symbol code and the symbol name; HP/UX's nm, for example, uses two spaces * ltconfig.in (global_symbol_pipe): ditto (bsdi4, deplibs_check_method): variable name was misspelled * libltdl/configure.in (libltdl_cv_preloaded_symbols): rewrite test, so as not to depend on the way global_symbol_pipe is initialized; the current test would get false positives, as global_symbol_pipe was initialized `x=""', not `x='
This commit is contained in:
parent
425940e0ab
commit
54ee3fb2b1
11
ChangeLog
11
ChangeLog
@ -1,5 +1,16 @@
|
||||
1999-02-04 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in
|
||||
addition to space as separator, and allow more than one space
|
||||
between the symbol code and the symbol name; HP/UX's nm, for
|
||||
example, uses two spaces
|
||||
* ltconfig.in (global_symbol_pipe): ditto
|
||||
(bsdi4, deplibs_check_method): variable name was misspelled
|
||||
* libltdl/configure.in (libltdl_cv_preloaded_symbols): rewrite
|
||||
test, so as not to depend on the way global_symbol_pipe is
|
||||
initialized; the current test would get false positives, as
|
||||
global_symbol_pipe was initialized `x=""', not `x='
|
||||
|
||||
* libltdl/ltdl.c (find_module): initialize filename if dir is NULL
|
||||
Reported by Godmar Back <gback@cs.utah.edu>
|
||||
|
||||
|
@ -84,11 +84,19 @@ AC_CHECK_FUNCS(strdup strchr strrchr index rindex)
|
||||
|
||||
AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
|
||||
libltdl_cv_preloaded_symbols, [dnl
|
||||
if grep '^global_symbol_pipe=..*$' ./libtool >/dev/null; then
|
||||
libltdl_cv_preloaded_symbols=yes
|
||||
else
|
||||
libltdl_cv_preloaded_symbols=no
|
||||
fi
|
||||
(
|
||||
rm -f conftest
|
||||
./libtool --config > conftest
|
||||
. ./conftest
|
||||
rm -f conftest
|
||||
if test -n "$global_symbol_pipe"; then
|
||||
echo yes > conftest
|
||||
else
|
||||
echo no > conftest
|
||||
fi
|
||||
)
|
||||
libltdl_cv_preloaded_symbols=`cat conftest`
|
||||
rm -f conftest
|
||||
])
|
||||
if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then
|
||||
AC_DEFINE(HAVE_PRELOADED_SYMBOLS)
|
||||
|
4
libtool.m4
vendored
4
libtool.m4
vendored
@ -21,7 +21,7 @@
|
||||
## configuration script generated by Autoconf, you may include it under
|
||||
## the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# serial 30 AC_PROG_LIBTOOL
|
||||
# serial 31 AC_PROG_LIBTOOL
|
||||
AC_DEFUN(AC_PROG_LIBTOOL,
|
||||
[AC_PREREQ(2.12.2)dnl
|
||||
AC_REQUIRE([AC_ENABLE_SHARED])dnl
|
||||
@ -381,7 +381,7 @@ for ac_symprfx in "" "_"; do
|
||||
# Write the raw and C identifiers.
|
||||
# Unlike in ltconfig.in, we need $ac_symprfx before $ac_symxfrm here,
|
||||
# otherwise AC_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'"
|
||||
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
|
||||
|
@ -1403,7 +1403,7 @@ fi
|
||||
for ac_symprfx in "" "_"; do
|
||||
|
||||
# Write the raw and C identifiers.
|
||||
global_symbol_pipe="sed -n -e 's/^.* $symcode $ac_symprfx$sympat$/$symxfrm/p'"
|
||||
global_symbol_pipe="sed -n -e 's/^.*[ ]$symcode[ ][ ]*$ac_symprfx$sympat$/$symxfrm/p'"
|
||||
|
||||
# Check to see that the pipe works correctly.
|
||||
pipe_works=no
|
||||
@ -1605,7 +1605,7 @@ bsdi4*)
|
||||
soname_spec='${libname}.so'
|
||||
finish_cmds='PATH="$PATH:/sbin" ldconfig $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
check_shared_deplibs_method='file_magic ELF 32-bit LSB shared object'
|
||||
deplibs_check_method='file_magic ELF 32-bit LSB shared object'
|
||||
sys_lib_search_path="/shlib /usr/lib /usr/local/lib"
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user