Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
SDL
> SDL-1.2.11-autoconf.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File SDL-1.2.11-autoconf.patch of Package SDL
--- configure.in +++ configure.in @@ -90,6 +90,7 @@ LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" dnl Check for tools +AC_LIBTOOL_DLOPEN AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_PROG_CC @@ -429,8 +430,13 @@ AC_ARG_ENABLE(esd-shared, AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]), , enable_esd_shared=yes) - esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'` - esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` + ESD_LIBS_test="$ESD_LIBS" + esd_lib_spec=x + while test "x$esd_lib" = x && test "x$esd_lib_spec" != x; do + esd_lib_spec=`echo $ESD_LIBS_test | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/' |grep /libesd.so. ` + esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` + ESD_LIBS_test=`echo $ESD_LIBS_test | sed 's/\(.*\)-L.*/\1/'` + done echo "-- $esd_lib_spec -> $esd_lib" AC_DEFINE(SDL_AUDIO_DRIVER_ESD) @@ -481,7 +487,7 @@ AC_ARG_ENABLE(arts-shared, AC_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [[default=yes]]]), , enable_arts_shared=yes) - arts_lib_spec="$ARTS_PREFIX/lib/libartsc.so.*" + arts_lib_spec="$ARTS_PREFIX/lib*/libartsc.so.*" arts_lib=`ls -- $arts_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` echo "-- $arts_lib_spec -> $arts_lib"