summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorEric Blossom2010-12-22 16:49:05 -0800
committerEric Blossom2010-12-22 16:49:05 -0800
commit272971a25cbd777634331a8777d2fbab2bb10ab7 (patch)
treed94b7d53aa833c49c19de20763dc2bcc1ecfc0c5 /config
parent75b650ef2506fe5c607517a3d5188b0705f60fde (diff)
downloadgnuradio-272971a25cbd777634331a8777d2fbab2bb10ab7.tar.gz
gnuradio-272971a25cbd777634331a8777d2fbab2bb10ab7.tar.bz2
gnuradio-272971a25cbd777634331a8777d2fbab2bb10ab7.zip
Check for lt_dladvise_global and fall back to using lt_dlopenext if not found.
Diffstat (limited to 'config')
-rw-r--r--config/gr_guile.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/config/gr_guile.m4 b/config/gr_guile.m4
index 15ed9adb3..c5268169f 100644
--- a/config/gr_guile.m4
+++ b/config/gr_guile.m4
@@ -44,6 +44,12 @@ AC_DEFUN([GUILE_DEVEL],[
AC_SUBST(GUILE_PKLIBDIR)
AC_SUBST(GUILE_PKDATADIR)
AC_SUBST(GUILE_LIBS)
+
+ dnl see if we've got lt_dladvise_global (libtool-2.*)
+ AC_SEARCH_LIBS([lt_dladvise_global],[ltdl],
+ [AC_DEFINE([HAVE_LT_DLADVISE_GLOBAL], [1],
+ [Define if lt_dladvise_global exists.])],
+ [],[])
])
# GUILE_CHECK_MODULE