summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-04 11:27:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-04 11:27:12 +0000
commit43ba7d00586a03a18e321514d5287bd1fae69d2a (patch)
tree9d3643b0a95560997a6d8c05c7a9f8f17dab1a62 /configure.in
parent6e7d7bf5dd4af81ad71fba0be1346f14acafe201 (diff)
* 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.in2
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;;