winejack: Fix detection of jack libraries with a bad soname.

This commit is contained in:
Francois Gouget 2008-07-11 17:47:23 +02:00 committed by Alexandre Julliard
parent fd5b97bc4d
commit 90a6fb047e
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -15154,8 +15154,8 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
$as_test_x conftest$ac_exeext; then $as_test_x conftest$ac_exeext; then
case "$LIBEXT" in case "$LIBEXT" in
dll) ;; dll) ;;
dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
*) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
esac esac
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5

View File

@ -1129,7 +1129,7 @@ WINE_NOTICE_WITH(cups,[test "x$ac_cv_lib_soname_cups" = "x"],
dnl **** Check for jack **** dnl **** Check for jack ****
if test "$ac_cv_header_jack_jack_h" = "yes" if test "$ac_cv_header_jack_jack_h" = "yes"
then then
WINE_CHECK_SONAME(jack,jack_client_new) WINE_CHECK_SONAME(jack,jack_client_new,,,,[[libjack-*[[0-9.]]*]])
fi fi
dnl **** Check for fontconfig **** dnl **** Check for fontconfig ****