configure
changeset 10787 2a0bcfc4d35c
parent 10777 2883d23b5a28
child 10797 c23bdf7436b3
equal deleted inserted replaced
10786:602fec42fe09 10787:2a0bcfc4d35c
 18728 else
 18728 else
 18729   enable_libsamplerate_shared=yes
 18729   enable_libsamplerate_shared=yes
 18730 fi
 18730 fi
 18731 
 18731 
 18732 
 18732 
 18733             if test x$enable_libsamplerate_shared = xyes; then
 18733             samplerate_lib=`find_lib "libsamplerate.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`
 18734                 samplerate_lib=`find_lib "libsamplerate.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`
 18734 
 18735                 if test x$samplerate_lib != x; then
 18735             if test x$have_loadso != xyes && \
 18736                     echo "-- dynamic samplerate -> $samplerate_lib"
 18736                test x$enable_libsamplerate_shared = xyes; then
       
 18737                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You must have SDL_LoadObject() support for dynamic libsamplerate loading" >&5
       
 18738 $as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic libsamplerate loading" >&2;}
       
 18739             fi
       
 18740             if test x$have_loadso = xyes && \
       
 18741                test x$enable_libsamplerate_shared = xyes && test x$samplerate_lib != x; then
       
 18742                 echo "-- dynamic libsamplerate -> $samplerate_lib"
 18737 
 18743 
 18738 cat >>confdefs.h <<_ACEOF
 18744 cat >>confdefs.h <<_ACEOF
 18739 #define SDL_LIBSAMPLERATE_DYNAMIC "$samplerate_lib"
 18745 #define SDL_LIBSAMPLERATE_DYNAMIC "$samplerate_lib"
 18740 _ACEOF
 18746 _ACEOF
 18741 
 18747 
 18742                 fi
 18748             else
       
 18749                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lsamplerate"
 18743             fi
 18750             fi
 18744         fi
 18751         fi
 18745     fi
 18752     fi
 18746 }
 18753 }
 18747 
 18754