* configure.in (mingw32): extract msvcr*.dll from objdump result.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2005-04-13 12:24:40 +00:00
Родитель 7b8fe2bcc7
Коммит c7151a3f5e
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Wed Apr 13 21:20:35 2005 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in (mingw32): extract msvcr*.dll from objdump result.
Wed Apr 13 19:25:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Apr 13 19:25:31 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (mingw32): use actual runtime DLL name as ruby DLL * configure.in (mingw32): use actual runtime DLL name as ruby DLL

Просмотреть файл

@ -177,8 +177,8 @@ cygwin*|mingw*)
AC_TRY_LINK([#include <stdio.h>], AC_TRY_LINK([#include <stdio.h>],
[FILE* volatile f = stdin; return 0;], [FILE* volatile f = stdin; return 0;],
[rb_cv_msvcrt=`$OBJDUMP -p conftest$ac_exeext | [rb_cv_msvcrt=`$OBJDUMP -p conftest$ac_exeext |
sed -n '/^[[ ]]*DLL Name: /{s///p;q;}' | tr A-Z a-z |
tr A-Z a-z | sed 's/\.dll$//'`], sed -n '/^[[ ]]*dll name: \(msvc.*\)\.dll$/{s//\1/p;q;}'`],
[rb_cv_msvcrt=msvcrt])]) [rb_cv_msvcrt=msvcrt])])
test "$rb_cv_msvcrt" = "" && AC_MSG_ERROR([must be linked to DLL]) test "$rb_cv_msvcrt" = "" && AC_MSG_ERROR([must be linked to DLL])
esac esac