[llvm-commits] CVS: llvm/autoconf/configure.ac

Brian Gaeke gaeke at cs.uiuc.edu
Tue Oct 7 00:04:14 PDT 2003


Changes in directory llvm/autoconf:

configure.ac updated: 1.33 -> 1.34

---
Log message:

Don't abort if dlopen cannot be found; it's not like it's going to break
everything.


---
Diffs of the changes:  (+0 -0)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.33 llvm/autoconf/configure.ac:1.34
--- llvm/autoconf/configure.ac:1.33	Mon Oct  6 22:56:29 2003
+++ llvm/autoconf/configure.ac	Tue Oct  7 00:03:36 2003
@@ -405,8 +405,8 @@
 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]))





More information about the llvm-commits mailing list