* 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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19184 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index c8732b5..e8c00a4 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -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