autotools : add dll name recognition for configure script
Alexandre Goujon
ale.goujon at gmail.com
Mon Mar 1 14:39:39 CST 2010
From: Alex <cerebro.alexiel at gmail.com>
---
aclocal.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/aclocal.m4 b/aclocal.m4
index f574ba1..7f5f040 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.exe | 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