* configure.in: set target_cpu to i386 on cygwin and mingw32.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-11-30 09:17:30 +00:00
parent be020d6c05
commit 3691d88f36
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Nov 30 17:02:55 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: set target_cpu to i386 on cygwin and mingw32.
Fri Nov 30 00:25:28 2001 Usaku Nakamura <usa@ruby-lang.org>
* README.EXT: Appendix B is duplicated.

View File

@ -111,6 +111,8 @@ cygwin*|mingw*)
AC_CHECK_TOOL(AS, as)
AC_CHECK_TOOL(DLLTOOL, dlltool)
AC_CHECK_TOOL(WINDRES, windres)
target_cpu=`echo $target_cpu | sed s/i.86/i386/`
: ${enable_shared=yes}
;;
esac
@ -856,7 +858,7 @@ LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).$(MINOR).$(TEENY)'
LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).so'
ENABLE_SHARED=no
AC_ARG_ENABLE(enable-shared,
AC_ARG_ENABLE(shared,
[--enable-shared build a shared library for Ruby. ],
[enable_shared=$enableval])
if test "$enable_shared" = 'yes'; then