diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 11 |
2 files changed, 8 insertions, 7 deletions
@@ -1,3 +1,7 @@ +Wed Jan 21 23:52:39 2004 WATANABE Hirofumi <eban@ruby-lang.org> + + * configure.in: Interix(SFU) support. + Wed Jan 21 23:03:45 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * lib/drb/drb.rb: remove O_NONBLOCK, thanks \ay diff --git a/configure.in b/configure.in index 9315ad92c6..f1b969d7b1 100644 --- a/configure.in +++ b/configure.in @@ -811,13 +811,7 @@ if test "$with_dln_a_out" != yes; then openstep*) CCDLFLAGS="$CCDLFLAGS -fno-common";; rhapsody*) CCDLFLAGS="$CCDLFLAGS -fno-common";; darwin*) CCDLFLAGS="$CCDLFLAGS -fno-common";; - human*) ;; - bsdi*) ;; - beos*) ;; - cygwin*) ;; - mingw*) ;; - aix*) ;; - netbsd*) CCDLFLAGS="$CCDLFLAGS -fPIC";; + human*|bsdi*|beos*|cygwin*|mingw*|aix*|interix*) ;; *) CCDLFLAGS="$CCDLFLAGS -fPIC";; esac else @@ -859,6 +853,9 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes ;; linux*) : ${LDSHARED="$CC -shared"} rb_cv_dlopen=yes ;; + interix*) : ${LDSHARED="$CC -shared"} + XLDFLAGS="$XLDFLAGS -Wl,-E" + rb_cv_dlopen=yes ;; gnu*) : ${LDSHARED="$CC -shared"} rb_cv_dlopen=yes LDFLAGS="$LDFLAGS -rdynamic" ;; |