From: Diego Petteno Date: Sun, 9 Mar 2008 12:54:45 +0000 (+0000) Subject: Test for _struct_ lt_user_dlloader, otherwise it won't be found. X-Git-Tag: submit/2.0-panda/20130828.192557~2989 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30e2a773d4e92ebe93ac1a21f481de9631fcc2a1;p=profile%2Fivi%2Fpulseaudio-panda.git Test for _struct_ lt_user_dlloader, otherwise it won't be found. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2114 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/configure.ac b/configure.ac index d2b2bc0..ba8f2c9 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,7 @@ old_LIBS=$LIBS LIBS="$LIBS $LIBLTDL" AC_CHECK_FUNCS([lt_dlmutex_register]) LIBS=$old_LIBS -AC_CHECK_TYPES([lt_user_dlloader, lt_dladvise], , , [#include ]) +AC_CHECK_TYPES([struct lt_user_dlloader, lt_dladvise], , , [#include ]) if test "x$enable_ltdl_install" = "xno" && test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then AC_MSG_ERROR([[ diff --git a/src/daemon/ltdl-bind-now.c b/src/daemon/ltdl-bind-now.c index d569fea..ea46593 100644 --- a/src/daemon/ltdl-bind-now.c +++ b/src/daemon/ltdl-bind-now.c @@ -138,7 +138,7 @@ static lt_ptr bind_now_find_sym(lt_user_data d, lt_module m, const char *symbol) void pa_ltdl_init(void) { #ifdef PA_BIND_NOW -# ifdef HAVE_LT_USER_DLLOADER +# ifdef HAVE_STRUCT_LT_USER_DLLOADER lt_dlloader *place; static const struct lt_user_dlloader loader = { .module_open = bind_now_open, @@ -158,7 +158,7 @@ void pa_ltdl_init(void) { #endif #ifdef PA_BIND_NOW -# ifdef HAVE_LT_USER_DLLOADER +# ifdef HAVE_STRUCT_LT_USER_DLLOADER if (!(place = lt_dlloader_find("dlopen"))) place = lt_dlloader_next(NULL);