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

Reid Spencer reid at x10sys.com
Tue Dec 28 23:08:08 PST 2004



Changes in directory llvm/autoconf:

configure.ac updated: 1.158 -> 1.159
---
Log message:

* Fix a bug in an m4 macro that used an incorrect test operator
* Add CAN_DLOPEN_SELF so we can determine if dlopen(0) will open the 
  program or not.
* Correct a warning messages to be a little more specific on what it checks


---
Diffs of the changes:  (+6 -1)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.158 llvm/autoconf/configure.ac:1.159
--- llvm/autoconf/configure.ac:1.158	Tue Dec 28 01:56:14 2004
+++ llvm/autoconf/configure.ac	Wed Dec 29 01:07:57 2004
@@ -297,6 +297,11 @@
 AC_LIB_LTDL
 AC_PROG_LIBTOOL
 
+if test "$lt_cv_dlopen_self" = "yes" ; then
+  AC_DEFINE([CAN_DLOPEN_SELF],[1],
+              [Define if dlopen(0) will open the symbols of the program])
+fi
+
 dnl Check if we know how to tell etags we are using C++:
 etags_version=`$ETAGS --version 2>&1`
 case "$etags_version" in
@@ -465,7 +470,7 @@
 
 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
 then
-  AC_MSG_WARN([mmap() required but not found])
+  AC_MSG_WARN([mmap() of a fixed address required but not supported])
 fi
 if test "$ac_cv_func_mmap_file" = "no"
 then






More information about the llvm-commits mailing list