Configure script failed on Cygwin because WINE_CHECK_SONAME lacked dll name extraction
Alex
cerebro.alexiel at gmail.com
Sat Feb 27 11:40:52 CST 2010
From: Alex <alex at Evan.(none)>
---
aclocal.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/aclocal.m4 b/aclocal.m4
index f574ba1..08423fd 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -42,7 +42,7 @@ AC_CACHE_VAL(ac_Lib,
LIBS="-l$1 $5 $LIBS"
AC_LINK_IFELSE([AC_LANG_CALL([], [$2])],
[case "$LIBEXT" in
- dll) ;;
+ dll) AS_VAR_SET(ac_Lib,[`$ac_cv_path_LDD conftest$ac_exeext | grep "$1" | sed -e 's/dll.*/dll/';2,$d'`]) ;;
dylib) AS_VAR_SET(ac_Lib,[`otool -L conftest$ac_exeext | grep "ac_lib_pattern\\.[[0-9A-Za-z.]]*dylib" | sed -e "s/^.*\/\(ac_lib_pattern\.[[0-9A-Za-z.]]*dylib\).*$/\1/"';2,$d'`]) ;;
*) AS_VAR_SET(ac_Lib,[`$ac_cv_path_LDD conftest$ac_exeext | grep "ac_lib_pattern\\.$LIBEXT" | sed -e "s/^.*\(ac_lib_pattern\.$LIBEXT[[^ ]]*\).*$/\1/"';2,$d'`]) ;;
esac])
--
1.6.3.3
More information about the wine-patches
mailing list