Don't link with libdl even if it's present on OS X, since it's not used and it's not present on most systems. Bug 196115, r=cls.

This commit is contained in:
bryner%netscape.com 2003-03-07 21:36:06 +00:00
Родитель 53f7a62d8f
Коммит 1c1c492f87
1 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -1792,7 +1792,17 @@ case $target in
;;
esac
AC_CHECK_LIB(m, atan)
AC_CHECK_LIB(dl, dlopen)
dnl We don't want to link with libdl even if it's present on OS X, since
dnl it's not used and not part of the default installation.
case $target in
*-darwin*)
;;
*)
AC_CHECK_LIB(dl, dlopen)
;;
esac
if test ! "$GNU_CXX"; then
case $target in