From 1c1c492f8747da4c088a5e2ab84aaba6cb45f8cc Mon Sep 17 00:00:00 2001 From: "bryner%netscape.com" Date: Fri, 7 Mar 2003 21:36:06 +0000 Subject: [PATCH] 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. --- configure.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 2496f82366b9..b8041da1fda4 100644 --- a/configure.in +++ b/configure.in @@ -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