aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
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
commit4c42378ec0d2db6e4800d2d2ec26074190739dd0 (patch)
tree1b058fcc73402a7ec78f2a61014a329113285e40 /autoconf
parenta6e91d6fe7cb22d8fbf7d6a2f6c6e56247180a48 (diff)
downloadexternal_llvm-4c42378ec0d2db6e4800d2d2ec26074190739dd0.zip
external_llvm-4c42378ec0d2db6e4800d2d2ec26074190739dd0.tar.gz
external_llvm-4c42378ec0d2db6e4800d2d2ec26074190739dd0.tar.bz2
Don't abort if dlopen cannot be found; it's not like it's going to break
everything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index a004dc4..650ac10 100644
--- a/autoconf/configure.ac
+++ b/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]))