summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-07 05:03:36 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-07 05:03:36 +0000
commit25f2a37f87dad66788b5fd89eb382c2d737bec57 (patch)
treeeb63456071da2a98251a72abd0d7086f53d87c67 /llvm
parent133bb529d368509478d57b957a7eaa3844a4bad5 (diff)
downloadbcm5719-llvm-25f2a37f87dad66788b5fd89eb382c2d737bec57.tar.gz
bcm5719-llvm-25f2a37f87dad66788b5fd89eb382c2d737bec57.zip
Don't abort if dlopen cannot be found; it's not like it's going to break
everything. llvm-svn: 8916
Diffstat (limited to 'llvm')
-rw-r--r--llvm/autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index a004dc4a4b0..650ac10501a 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -405,8 +405,8 @@ dnl **************************************************************************
dnl libelf is for sparc only; we can ignore it if we don't have it
AC_CHECK_LIB(elf, elf_begin)
-dnl dlopen() is required. If we don't find it, quit.
-AC_SEARCH_LIBS(dlopen,dl,,AC_MSG_ERROR([dlopen() required but not found]))
+dnl dlopen() is required for plugin support.
+AC_SEARCH_LIBS(dlopen,dl,AC_DEFINE([HAVE_DLOPEN],[1]),AC_MSG_WARN([dlopen() not found - disabling plugin support]))
dnl mallinfo is optional; the code can compile (minus features) without it
AC_SEARCH_LIBS(mallinfo,malloc,AC_DEFINE([HAVE_MALLINFO],[1]))
OpenPOWER on IntegriCloud