diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-04 11:27:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-04 11:27:12 +0000 |
commit | 43ba7d00586a03a18e321514d5287bd1fae69d2a (patch) | |
tree | 9d3643b0a95560997a6d8c05c7a9f8f17dab1a62 /configure.in | |
parent | 6e7d7bf5dd4af81ad71fba0be1346f14acafe201 (diff) | |
download | ruby-43ba7d00586a03a18e321514d5287bd1fae69d2a.tar.gz |
* configure.in (mingw): checks if unicows.lib is available.
* win32/Makefile.sub (LIBS): links unicows.lib if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index ab9f1c4e4b..1946ffcead 100644 --- a/configure.in +++ b/configure.in @@ -709,6 +709,8 @@ when(mingw*) LIBS="-lshell32 -lws2_32 $LIBS" ac_cv_func_fcntl=yes ac_cv_func_flock=yes AC_LIBOBJ([langinfo]) + AC_HAVE_LIBRARY(unicows, [LIBS="-lunicows $LIBS" + AC_DEFINE(WIN95)]) ;; when(os2-emx*) LIBS="-lm $LIBS" ac_cv_lib_dir_opendir=no;; |