aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-02-07 07:46:59 -0800
committerPaul Eggert2016-02-07 07:47:48 -0800
commit67fcd5addcd91169f79dc5d51d0a71eb2b486aed (patch)
tree4130ef79fc2a4a05928421bf9152a62706ce87b8
parent9dc77e37aa84c6df9b3ddb4609f3c09201b0580e (diff)
downloademacs-67fcd5addcd91169f79dc5d51d0a71eb2b486aed.tar.gz
emacs-67fcd5addcd91169f79dc5d51d0a71eb2b486aed.zip
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.
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 57bde94d854..1ff9c493586 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3360,7 +3360,7 @@ if test "${with_modules}" != "no"; then
3360 else 3360 else
3361 SAVE_LIBS=$LIBS 3361 SAVE_LIBS=$LIBS
3362 LIBS="$LIBS $LIBMODULES" 3362 LIBS="$LIBS $LIBMODULES"
3363 AC_CHECK_FUNCS([dlfunc]) 3363 AC_CHECK_FUNCS([dladdr dlfunc])
3364 LIBS=$SAVE_LIBS 3364 LIBS=$SAVE_LIBS
3365 fi 3365 fi
3366fi 3366fi
@@ -3373,7 +3373,6 @@ if test "${HAVE_MODULES}" = yes; then
3373fi 3373fi
3374AC_SUBST(MODULES_OBJ) 3374AC_SUBST(MODULES_OBJ)
3375AC_SUBST(LIBMODULES) 3375AC_SUBST(LIBMODULES)
3376AC_CHECK_FUNCS(dladdr)
3377 3376
3378### Use -lpng if available, unless '--with-png=no'. 3377### Use -lpng if available, unless '--with-png=no'.
3379HAVE_PNG=no 3378HAVE_PNG=no