Navigation Menu

Skip to content

Commit

Permalink
* ext/curses/extconf.rb: add dir_config.
Browse files Browse the repository at this point in the history
* Makefile.in (fake.rb): set RUBY_VERSION.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Dec 31, 2001
1 parent 4f459fd commit 7a5c195
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
15 changes: 6 additions & 9 deletions ChangeLog
@@ -1,3 +1,9 @@
Tue Jan 1 02:16:48 2002 WATANABE Hirofumi <eban@ruby-lang.org>

* ext/curses/extconf.rb: add dir_config.

* Makefile.in (fake.rb): set RUBY_VERSION.

Mon Dec 31 14:20:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>

* parse.y (yycompile): always store copy of filename.
Expand Down Expand Up @@ -3835,15 +3841,6 @@ Tue Feb 13 23:05:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* dir.c (lstat): should use rb_sys_stat if lstat(2) is not
available.

Sun Feb 11 16:00:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>

* eval.c (stack_length): use __builtin_frame_address() only if
GCC and i386 CPU.

* gc.c (rb_gc, Init_stack): ditto.

* configure.in: add ac_cv_func_getpgrp_void=yes on DJGPP.

Tue Feb 13 08:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>

* io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2
Expand Down
6 changes: 2 additions & 4 deletions Makefile.in
Expand Up @@ -137,11 +137,9 @@ fake.rb: miniruby$(EXEEXT)
@echo ' \
class Object; \
remove_const :RUBY_PLATFORM; \
remove_const :RUBY_VERSION; \
RUBY_PLATFORM = "@arch@"; \
if defined? PLATFORM; \
remove_const :PLATFORM; \
PLATFORM = "@arch@"; \
end; \
RUBY_VERSION = "@MAJOR@.@MINOR@.@TEENY@"; \
CROSS_COMPILING = true; \
end \
' > $@
Expand Down
6 changes: 3 additions & 3 deletions ext/curses/extconf.rb
@@ -1,8 +1,8 @@
require 'mkmf'

if( ! $CPPFLAGS )
$CPPFLAGS = ""
end
dir_config('curses')
dir_config('ncurses')
dir_config('termcap')

make=false
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
Expand Down

0 comments on commit 7a5c195

Please sign in to comment.