Hi,

On Fri, Mar 31, 2006 at 04:00:28PM -0500, Ove Kaaven wrote:
> Yes, but the configure script doesn't work in this case because it greps
> the ldd output for "libjack.so" and extracts the soname from there, it
> doesn't expect to see libjack-0.100.0.so, so the test fails and uses a
> default. If you were to write a patch to fix the configure macro (it's
> in aclocal.m4), I'd be willing to apply it, but messing with these
> macros is a little bit more than I want to dive into right now.

Please see the attached patch. I'm thinking about sending it to
wine-patches, but I don't know how portable my changes to the
RegExp-magic is...

Greetings Tobi

-- 
GPG-Key 0xE2BEA341 - signed/encrypted mail preferred
My, oh so small, homepage: http://portfolio16.de/
http://www.fli4l.de/ - ISDN- & DSL-Router on one disk!
Registered FLI4L-User #00000003
diff --git a/aclocal.m4 b/aclocal.m4
index e29668c..e7bbfd3 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -39,7 +39,7 @@ AC_CACHE_CHECK([for -l$1 soname], ac_Lib
 [ac_get_soname_save_LIBS=$LIBS
 LIBS="-l$1 $3 $LIBS"
   AC_LINK_IFELSE([AC_LANG_CALL([], [$2])],
-  [AS_VAR_SET(ac_Lib,[`$ac_cv_path_LDD conftest$ac_exeext | grep 
lib$1\\.$LIBEXT | sed -e "s/^.*\(lib$1\.$LIBEXT[[^     ]]*\).*$/\1/"';2,$d'`])
+  [AS_VAR_SET(ac_Lib,[`$ac_cv_path_LDD conftest$ac_exeext | grep 
"lib$1\(-[[0-9.]]*\)\?\.$LIBEXT" | sed -e 
"s/^.*\(lib$1\(-[[0-9.]]*\)\?\.$LIBEXT[[^    ]]*\).*$/\1/"';2,$d'`])
   if test "x$ac_Lib" = "x"
   then
      AS_VAR_SET(ac_Lib,"lib$1.$LIBEXT")

Attachment: signature.asc
Description: Digital signature

Reply via email to