[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 67fcd5a: Fix test for dladdr
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-25 67fcd5a: Fix test for dladdr |
Date: |
Sun, 07 Feb 2016 15:47:56 +0000 |
branch: emacs-25
commit 67fcd5addcd91169f79dc5d51d0a71eb2b486aed
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Fix test for dladdr
Problem reported by Andreas Schwab in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
* configure.ac (dladdr): Link with LIBMODULES when checking for
this function.
---
configure.ac | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 57bde94..1ff9c49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3360,7 +3360,7 @@ if test "${with_modules}" != "no"; then
else
SAVE_LIBS=$LIBS
LIBS="$LIBS $LIBMODULES"
- AC_CHECK_FUNCS([dlfunc])
+ AC_CHECK_FUNCS([dladdr dlfunc])
LIBS=$SAVE_LIBS
fi
fi
@@ -3373,7 +3373,6 @@ if test "${HAVE_MODULES}" = yes; then
fi
AC_SUBST(MODULES_OBJ)
AC_SUBST(LIBMODULES)
-AC_CHECK_FUNCS(dladdr)
### Use -lpng if available, unless '--with-png=no'.
HAVE_PNG=no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 67fcd5a: Fix test for dladdr,
Paul Eggert <=