1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: change --with-ntver to --with-winnt-ver to be more

descriptive in the context. [ruby-core:41794]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
luislavena 2011-12-24 15:05:33 +00:00
parent 3cbf3e207d
commit 60b99d05c6
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Sun Dec 25 00:02:15 2011 Luis Lavena <luislavena@gmail.com>
* configure.in: change --with-ntver to --with-winnt-ver to be more
descriptive in the context. [ruby-core:41794]
Sat Dec 24 23:25:15 2011 Luis Lavena <luislavena@gmail.com>
* configure.in: add --with-ntver option to match win32/configure.bat

View file

@ -940,12 +940,12 @@ AC_ARG_ENABLE(win95,
AS_HELP_STRING([--enable-win95], [enable Windows 95 series support]),
[AS_CASE(["$enableval"],[yes|no],[enable_win95=$enableval],[unset enable_win95])])
AC_ARG_WITH(ntver,
AS_HELP_STRING([--with-ntver=0xXXXX], [target NT version (default to 0x0501)]),
[with_ntver="$withval"], [with_ntver="0x0501"])
AC_ARG_WITH(winnt-ver,
AS_HELP_STRING([--with-winnt-ver=0xXXXX], [target Windows NT version (default to 0x0501)]),
[with_winnt_ver="$withval"], [with_winnt_ver="0x0501"])
AS_CASE(["$target_os"],
[mingw*], [
RUBY_APPEND_OPTION(CPPFLAGS, -D_WIN32_WINNT=$with_ntver)
RUBY_APPEND_OPTION(CPPFLAGS, -D_WIN32_WINNT=$with_winnt_ver)
])
AS_CASE(["$target_os"],