[pulseaudio-commits] r2114 - in /trunk: configure.ac src/daemon/ltdl-bind-now.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sun Mar 9 05:54:46 PDT 2008


Author: flameeyes
Date: Sun Mar  9 13:54:45 2008
New Revision: 2114

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2114&root=pulseaudio&view=rev
Log:
Test for _struct_ lt_user_dlloader, otherwise it won't be found.

Modified:
    trunk/configure.ac
    trunk/src/daemon/ltdl-bind-now.c

Modified: trunk/configure.ac
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/configure.ac?rev=2114&root=pulseaudio&r1=2113&r2=2114&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Sun Mar  9 13:54:45 2008
@@ -176,7 +176,7 @@
 LIBS="$LIBS $LIBLTDL"
 AC_CHECK_FUNCS([lt_dlmutex_register])
 LIBS=$old_LIBS
-AC_CHECK_TYPES([lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
+AC_CHECK_TYPES([struct lt_user_dlloader, lt_dladvise], , , [#include <ltdl.h>])
 
 if test "x$enable_ltdl_install" = "xno" && test "x$ac_cv_lib_ltdl_lt_dlinit" = "xno" ; then
     AC_MSG_ERROR([[

Modified: trunk/src/daemon/ltdl-bind-now.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/daemon/ltdl-bind-now.c?rev=2114&root=pulseaudio&r1=2113&r2=2114&view=diff
==============================================================================
--- trunk/src/daemon/ltdl-bind-now.c (original)
+++ trunk/src/daemon/ltdl-bind-now.c Sun Mar  9 13:54:45 2008
@@ -138,7 +138,7 @@
 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 @@
 #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);




More information about the pulseaudio-commits mailing list