mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
Add check for dladdr()
Original commit message from CVS: Add check for dladdr()
This commit is contained in:
parent
869763cfdd
commit
4b13be22f0
1 changed files with 8 additions and 0 deletions
|
@ -395,6 +395,14 @@ AC_CHECK_FUNC(sigaction,
|
|||
AC_DEFINE(HAVE_SIGACTION, 1,
|
||||
[Defined if we have sigaction ()]))
|
||||
|
||||
dnl test if we have dladdr(); we use it for debugging
|
||||
save_cflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||
AC_CHECK_LIB(dl, dladdr,
|
||||
AC_DEFINE(HAVE_DLADDR, 1,
|
||||
[Defined if we have dladdr ()]))
|
||||
CFLAGS="$save_cflags"
|
||||
|
||||
if test "x$PLUGINS_USE_BUILDDIR" = xyes; then
|
||||
AC_DEFINE(PLUGINS_USE_BUILDDIR, 1, [Define if plugins should be loaded from the build tree - only developers should use this])
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue