mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
* NEWS: updated
* libtool.m4: check for main in libm instead of cos * ltmain.in: cosmetic fixes, don't try to link libraries only once (although it's not necessary on many platforms and looks ugly...),
This commit is contained in:
parent
f97db5092d
commit
7f3aca95c1
@ -1,3 +1,10 @@
|
|||||||
|
1999-04-03 Thomas Tanner <tanner@gmx.de>
|
||||||
|
|
||||||
|
* NEWS: updated
|
||||||
|
* libtool.m4: check for main in libm instead of cos
|
||||||
|
* ltmain.in: cosmetic fixes, don't try to link libraries only once
|
||||||
|
(although it's not necessary on many platforms and looks ugly...),
|
||||||
|
|
||||||
1999-04-02 Alexandre Oliva <oliva@dcc.unicamp.br>
|
1999-04-02 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||||
|
|
||||||
* ltmain.in (convenience): fixed race condition when more than one
|
* ltmain.in (convenience): fixed race condition when more than one
|
||||||
|
9
NEWS
9
NEWS
@ -8,10 +8,17 @@ New in 1.3b: 1999-??-??; CVS version 1.3a, Libtool team:
|
|||||||
* New demos and tests
|
* New demos and tests
|
||||||
* Various bugfixes
|
* Various bugfixes
|
||||||
|
|
||||||
New in 1.3: 1999-03-??; CVS version 1.2g, Libtool team:
|
New in 1.3: 1999-04-??; CVS version 1.2g, Libtool team:
|
||||||
|
* AM_PROG_LIBTOOL is smaller and faster
|
||||||
|
* Shared libraries on AmigaOS up to version 4 are now disabled
|
||||||
|
since they don't meet libtool's requirements for shared libraries
|
||||||
|
* -L supports now relative directories
|
||||||
|
* Libltdl has a new license: LGPL with a special exception
|
||||||
|
* Libltdl can be used as stand-alone package
|
||||||
* dlopen support for BeOS
|
* dlopen support for BeOS
|
||||||
* Improved support for BeOS and Cygwin
|
* Improved support for BeOS and Cygwin
|
||||||
* Documentation updates
|
* Documentation updates
|
||||||
|
* New tests
|
||||||
* Bugfixes
|
* Bugfixes
|
||||||
|
|
||||||
New in 1.2f: 1999-03-15; CVS version 1.2e, Libtool team:
|
New in 1.2f: 1999-03-15; CVS version 1.2e, Libtool team:
|
||||||
|
4
libtool.m4
vendored
4
libtool.m4
vendored
@ -359,10 +359,10 @@ case "$host" in
|
|||||||
;;
|
;;
|
||||||
*-ncr-sysv4.3*)
|
*-ncr-sysv4.3*)
|
||||||
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
|
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
|
||||||
AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
|
AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_LIB(m, cos, LIBM="-lm")
|
AC_CHECK_LIB(m, main, LIBM="-lm")
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
@ -1163,7 +1163,7 @@ else
|
|||||||
if test "$with_gcc" = yes; then
|
if test "$with_gcc" = yes; then
|
||||||
collect2name=`${CC} -print-prog-name=collect2`
|
collect2name=`${CC} -print-prog-name=collect2`
|
||||||
if test -f "$collect2name" && \
|
if test -f "$collect2name" && \
|
||||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||||
then
|
then
|
||||||
# We have reworked collect2
|
# We have reworked collect2
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
|
37
ltmain.in
37
ltmain.in
@ -1046,7 +1046,7 @@ compiler."
|
|||||||
module=yes
|
module=yes
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-no-undefined)
|
-no-undefined)
|
||||||
allow_undefined=no
|
allow_undefined=no
|
||||||
continue
|
continue
|
||||||
@ -2431,7 +2431,6 @@ EOF
|
|||||||
# Find libtool libraries and add their dependencies
|
# Find libtool libraries and add their dependencies
|
||||||
old_deplibs="$deplibs"
|
old_deplibs="$deplibs"
|
||||||
deplibs=
|
deplibs=
|
||||||
absdeplibs=
|
|
||||||
newdependency_libs=
|
newdependency_libs=
|
||||||
new_lib_search_path=
|
new_lib_search_path=
|
||||||
for deplib in $old_deplibs; do
|
for deplib in $old_deplibs; do
|
||||||
@ -2439,7 +2438,6 @@ EOF
|
|||||||
case "$deplib" in
|
case "$deplib" in
|
||||||
-L*)
|
-L*)
|
||||||
deplibs="$deplibs $deplib"
|
deplibs="$deplibs $deplib"
|
||||||
absdeplibs="$absdeplibs $deplib"
|
|
||||||
new_lib_search_path="$new_lib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
|
new_lib_search_path="$new_lib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
@ -2456,7 +2454,6 @@ EOF
|
|||||||
done
|
done
|
||||||
if test "$found" != yes; then
|
if test "$found" != yes; then
|
||||||
deplibs="$deplibs $deplib"
|
deplibs="$deplibs $deplib"
|
||||||
absdeplibs="$absdeplibs $deplib"
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@ -2502,25 +2499,8 @@ EOF
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
|
|
||||||
test "X$ladir" = "X$lib" && ladir="."
|
|
||||||
# We need an absolute path.
|
|
||||||
case "$ladir" in
|
|
||||||
/* | [A-Za-z]:[/\\]*) ;;
|
|
||||||
*)
|
|
||||||
abs_ladir=`cd "$ladir" && pwd`
|
|
||||||
if test -z "$abs_ladir"; then
|
|
||||||
$echo "$modename: cannot determine absolute directory name of \`$ladir'" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
ladir="$abs_ladir"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
|
|
||||||
new_lib_search_path="$new_lib_search_path `$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`"
|
new_lib_search_path="$new_lib_search_path `$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`"
|
||||||
|
|
||||||
deplibs="$deplibs $lib"
|
deplibs="$deplibs $lib"
|
||||||
absdeplibs="$absdeplibs $ladir/$laname"
|
|
||||||
|
|
||||||
for deplib in $dependency_libs; do
|
for deplib in $dependency_libs; do
|
||||||
case "$deplib" in
|
case "$deplib" in
|
||||||
@ -2530,24 +2510,15 @@ EOF
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$link_all_deplibs" != no || \
|
if test "$link_all_deplibs" != no || \
|
||||||
test "$fast_install" = yes || \
|
test "$fast_install" != no || \
|
||||||
test "$build_libtool_libs" = no || \
|
test "$build_libtool_libs" = no || \
|
||||||
test -z "$library_names"; then
|
test -z "$library_names"; then
|
||||||
# Need to link against all dependency_libs
|
# Need to link against all dependency_libs
|
||||||
case "$absdeplibs " in
|
deplibs="$deplibs $deplib"
|
||||||
*" $deplib "*) ;;
|
|
||||||
*)
|
|
||||||
deplibs="$deplibs $deplib"
|
|
||||||
absdeplibs="$absdeplibs $deplib"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
else
|
else
|
||||||
# Need to hardcode shared library paths
|
# Need to hardcode shared library paths
|
||||||
# or/and link against static libraries
|
# or/and link against static libraries
|
||||||
case "$newdependency_libs " in
|
newdependency_libs="$newdependency_libs $deplib"
|
||||||
*" $deplib "*) ;;
|
|
||||||
*) newdependency_libs="$newdependency_libs $deplib" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user