diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-11-30 09:17:30 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-11-30 09:17:30 +0000 |
| commit | ac5a81210b7831b5fd008c726054728e8d9bdb13 (patch) | |
| tree | 2d18ddaf3b2d6f250ae6491c8b36a77ff2e9cb04 | |
| parent | dddf9c7b75dbf73d25b4d8e27592464c806b68ae (diff) | |
| download | ruby-ac5a81210b7831b5fd008c726054728e8d9bdb13.tar.gz ruby-ac5a81210b7831b5fd008c726054728e8d9bdb13.tar.xz ruby-ac5a81210b7831b5fd008c726054728e8d9bdb13.zip | |
* configure.in: set target_cpu to i386 on cygwin and mingw32.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -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. diff --git a/configure.in b/configure.in index 83a90037d..46155c3ec 100644 --- a/configure.in +++ b/configure.in @@ -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 |
