mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
* libtool.m4 (AC_CHECK_LIBM): Search for a real symbol in
the math library rather than 'main', it causes problems for C++ compilers with certain Auto* tools. (AC_LIBLTDL_INSTALLABLE): ditto.
This commit is contained in:
parent
306c939a38
commit
e3c603ee55
@ -1,3 +1,10 @@
|
||||
2003-02-05 Robert Boehne <rboehne@gnu.org>
|
||||
|
||||
* libtool.m4 (AC_CHECK_LIBM): Search for a real symbol in
|
||||
the math library rather than 'main', it causes problems for
|
||||
C++ compilers with certain Auto* tools.
|
||||
(AC_LIBLTDL_INSTALLABLE): ditto.
|
||||
|
||||
2003-02-05 Christian Cornelssen <ccorn@cs.tu-berlin.de>
|
||||
|
||||
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG)
|
||||
|
6
libtool.m4
vendored
6
libtool.m4
vendored
@ -2246,10 +2246,10 @@ case $host in
|
||||
;;
|
||||
*-ncr-sysv4.3*)
|
||||
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
|
||||
AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
|
||||
AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB(m, main, LIBM="-lm")
|
||||
AC_CHECK_LIB(m, cos, LIBM="-lm")
|
||||
;;
|
||||
esac
|
||||
])# AC_CHECK_LIBM
|
||||
@ -2294,7 +2294,7 @@ AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
|
||||
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
|
||||
AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
|
||||
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
|
||||
AC_CHECK_LIB(ltdl, main,
|
||||
AC_CHECK_LIB(ltdl, lt_dlinit,
|
||||
[test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
|
||||
[if test x"$enable_ltdl_install" = xno; then
|
||||
AC_MSG_WARN([libltdl not installed, but installation disabled])
|
||||
|
Loading…
Reference in New Issue
Block a user