diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-13 12:24:40 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-13 12:24:40 +0000 |
commit | c7151a3f5e8fbcba2927cd382e8f4083c9b445c7 (patch) | |
tree | 1e6623c918c7a4aa11c2dfeab9cd115c601bc66b | |
parent | 7b8fe2bcc7147f10e4e1b881fd7b80d2384cef35 (diff) | |
download | ruby-c7151a3f5e8fbcba2927cd382e8f4083c9b445c7.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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> * configure.in (mingw32): use actual runtime DLL name as ruby DLL diff --git a/configure.in b/configure.in index c7f3491985..afd9628201 100644 --- a/configure.in +++ b/configure.in @@ -177,8 +177,8 @@ cygwin*|mingw*) AC_TRY_LINK([#include <stdio.h>], [FILE* volatile f = stdin; return 0;], [rb_cv_msvcrt=`$OBJDUMP -p conftest$ac_exeext | - sed -n '/^[[ ]]*DLL Name: /{s///p;q;}' | - tr A-Z a-z | sed 's/\.dll$//'`], + tr A-Z a-z | + sed -n '/^[[ ]]*dll name: \(msvc.*\)\.dll$/{s//\1/p;q;}'`], [rb_cv_msvcrt=msvcrt])]) test "$rb_cv_msvcrt" = "" && AC_MSG_ERROR([must be linked to DLL]) esac |