mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
6e7d7bf5dd
commit
43ba7d0058
3 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
Wed Mar 4 19:35:26 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed Mar 4 20:27:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (mingw): checks if unicows.lib is available.
|
||||
|
||||
* include/ruby/win32.h (WIN95): moved to config.h
|
||||
|
||||
* win32/Makefile.sub (LIBS): links unicows.lib if available.
|
||||
|
||||
* win32/Makefile.sub (config.h): defines WIN95 only if unicows.lib
|
||||
is available.
|
||||
|
||||
|
|
|
@ -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;;
|
||||
|
|
|
@ -178,6 +178,9 @@ EXTLIBS =
|
|||
!if !defined(LIBS)
|
||||
LIBS = oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib $(EXTLIBS)
|
||||
!endif
|
||||
!if defined(HAVE_UNICOWS)
|
||||
LIBS = unicows.lib $(LIBS)
|
||||
!endif
|
||||
!if !defined(MISSING)
|
||||
MISSING = acosh.obj cbrt.obj crypt.obj erf.obj lgamma_r.obj strlcat.obj strlcpy.obj tgamma.obj win32.obj langinfo.obj
|
||||
!endif
|
||||
|
|
Loading…
Reference in a new issue