mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
phisical directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9c14f3beee
commit
2a413f97a4
5 changed files with 32 additions and 33 deletions
28
ChangeLog
28
ChangeLog
|
@ -1,11 +1,7 @@
|
||||||
Fri Mar 6 16:17:45 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Mar 6 18:37:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* win32/Makefile.sub (.c.asm): removed $(COUTFLAG).
|
* configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
|
||||||
|
phisical directory.
|
||||||
Fri Mar 6 14:59:30 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|
||||||
|
|
||||||
* error.c (report_bug): message updated to better English.
|
|
||||||
[ruby-core:22665]
|
|
||||||
|
|
||||||
Fri Mar 6 14:28:36 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Mar 6 14:28:36 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
@ -104,22 +100,6 @@ Wed Mar 4 20:27:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* win32/setup.mak (-unicows-): checks if unicows.lib is available.
|
* win32/setup.mak (-unicows-): checks if unicows.lib is available.
|
||||||
|
|
||||||
Wed Mar 4 05:19:27 2009 James Edward Gray II <jeg2@ruby-lang.org>
|
|
||||||
|
|
||||||
* lib/csv.rb: Some minor documentation fixes from Gregory Brown.
|
|
||||||
|
|
||||||
Wed Mar 4 03:42:56 2009 James Edward Gray II <jeg2@ruby-lang.org>
|
|
||||||
|
|
||||||
* lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite
|
|
||||||
loop while reading some encodings.
|
|
||||||
|
|
||||||
Wed Mar 4 00:54:43 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
|
||||||
|
|
||||||
* lib/prime.rb (Prime::prime?): used to return a wrong answer.
|
|
||||||
[ruby-core:22646].
|
|
||||||
|
|
||||||
* test/test_prime.rb (test_prime?): test case for [ruby-core:22646].
|
|
||||||
|
|
||||||
Tue Mar 3 17:10:09 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Mar 3 17:10:09 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/extmk.rb (extmake): removes object files no longer used and
|
* ext/extmk.rb (extmake): removes object files no longer used and
|
||||||
|
@ -3296,7 +3276,7 @@ Tue Jan 13 18:21:44 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
Tue Jan 13 18:19:49 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
Tue Jan 13 18:19:49 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (rb_io_initialize): workaround for Windows. [ruby-dev:37686]
|
* io.c (rb_io_initialize): workaround for Windows. [ruby-dev:37686]
|
||||||
(also see [ruby-dev:37721])
|
(also see [ruby-dev:37721])
|
||||||
|
|
||||||
Tue Jan 13 17:29:02 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Jan 13 17:29:02 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
|
11
Makefile.in
11
Makefile.in
|
@ -1,6 +1,7 @@
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
NULLCMD = :
|
NULLCMD = :
|
||||||
RUNCMD = $(SHELL)
|
RUNCMD = $(SHELL)
|
||||||
|
CHDIR = @CHDIR@
|
||||||
exec = exec
|
exec = exec
|
||||||
|
|
||||||
#### Start of system configuration section. ####
|
#### Start of system configuration section. ####
|
||||||
|
@ -174,10 +175,10 @@ uncommon.mk: $(srcdir)/common.mk
|
||||||
sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@
|
sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@
|
||||||
|
|
||||||
config.status: $(srcdir)/configure $(srcdir)/enc/Makefile.in
|
config.status: $(srcdir)/configure $(srcdir)/enc/Makefile.in
|
||||||
MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck
|
PWD= MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in
|
$(srcdir)/configure: $(srcdir)/configure.in
|
||||||
unset PWD; cd $(srcdir) && exec $(AUTOCONF)
|
$(CHDIR) $(srcdir) && exec $(AUTOCONF)
|
||||||
|
|
||||||
incs: id.h
|
incs: id.h
|
||||||
id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl
|
id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl
|
||||||
|
@ -247,11 +248,11 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
|
||||||
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c
|
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c
|
||||||
|
|
||||||
up::
|
up::
|
||||||
@cd "$(srcdir)" && LC_TIME=C exec $(VCSUP)
|
@$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP)
|
||||||
|
|
||||||
update-rubyspec:
|
update-rubyspec:
|
||||||
@if [ -d $(srcdir)/spec/mspec ]; then \
|
@if [ -d $(srcdir)/spec/mspec ]; then \
|
||||||
cd $(srcdir)/spec/mspec; \
|
$(CHDIR) $(srcdir)/spec/mspec; \
|
||||||
echo updating mspec ...; \
|
echo updating mspec ...; \
|
||||||
git pull; \
|
git pull; \
|
||||||
cd ../..; \
|
cd ../..; \
|
||||||
|
@ -260,7 +261,7 @@ update-rubyspec:
|
||||||
git clone $(MSPEC_GIT_URL) $(srcdir)/spec/mspec; \
|
git clone $(MSPEC_GIT_URL) $(srcdir)/spec/mspec; \
|
||||||
fi
|
fi
|
||||||
@if [ -d $(srcdir)/spec/rubyspec ]; then \
|
@if [ -d $(srcdir)/spec/rubyspec ]; then \
|
||||||
cd $(srcdir)/spec/rubyspec; \
|
$(CHDIR) $(srcdir)/spec/rubyspec; \
|
||||||
echo updating rubyspec ...; \
|
echo updating rubyspec ...; \
|
||||||
git pull; \
|
git pull; \
|
||||||
else \
|
else \
|
||||||
|
|
|
@ -129,7 +129,7 @@ main: exts
|
||||||
|
|
||||||
exts: $(MKMAIN_CMD)
|
exts: $(MKMAIN_CMD)
|
||||||
|
|
||||||
$(MKMAIN_CMD): $(MKFILES) incs $(PREP) $(RBCONFIG) $(LIBRUBY)
|
$(MKMAIN_CMD): $(MKFILES) incs $(PREP) $(RBCONFIG) $(LIBRUBY)
|
||||||
@$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" --command-output=$@ $(EXTMK_ARGS)
|
@$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" --command-output=$@ $(EXTMK_ARGS)
|
||||||
|
|
||||||
prog: $(PROGRAM) $(WPROGRAM)
|
prog: $(PROGRAM) $(WPROGRAM)
|
||||||
|
@ -464,7 +464,7 @@ dl_os2.$(OBJEXT): {$(VPATH)}dl_os2.c
|
||||||
ia64.$(OBJEXT): {$(VPATH)}ia64.s
|
ia64.$(OBJEXT): {$(VPATH)}ia64.s
|
||||||
$(CC) $(CFLAGS) -c $<
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
# when I use -I., there is confliction at "OpenFile"
|
# when I use -I., there is confliction at "OpenFile"
|
||||||
# so, set . into environment varible "include"
|
# so, set . into environment varible "include"
|
||||||
win32.$(OBJEXT): {$(VPATH)}win32.c $(RUBY_H_INCLUDES)
|
win32.$(OBJEXT): {$(VPATH)}win32.c $(RUBY_H_INCLUDES)
|
||||||
|
|
||||||
|
@ -690,7 +690,7 @@ $(srcdir)/revision.h: $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/fil
|
||||||
@$(IFCHANGE) "$@" "$@.tmp"
|
@$(IFCHANGE) "$@" "$@.tmp"
|
||||||
|
|
||||||
$(srcdir)/ext/ripper/ripper.c:
|
$(srcdir)/ext/ripper/ripper.c:
|
||||||
cd $(srcdir)/ext/ripper && $(exec) $(MAKE) -f depend $(MFLAGS) top_srcdir=../.. srcdir=.
|
$(CHDIR) $(srcdir)/ext/ripper && $(exec) $(MAKE) -f depend $(MFLAGS) top_srcdir=../.. srcdir=.
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
17
configure.in
17
configure.in
|
@ -296,6 +296,23 @@ AC_SUBST(MAKEDIRS)
|
||||||
AC_SUBST(RMDIRS, ['$(top_srcdir)/tool/rmdirs'])
|
AC_SUBST(RMDIRS, ['$(top_srcdir)/tool/rmdirs'])
|
||||||
AC_SUBST(RMALL, ['rm -fr'])
|
AC_SUBST(RMALL, ['rm -fr'])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for cd using phisical directory])
|
||||||
|
rm -fr conf$$.dir
|
||||||
|
mkdir conf$$.dir &&
|
||||||
|
(cd conf$$.dir && mkdir src build && cd src &&
|
||||||
|
$as_ln_s ../build . > /dev/null 2>&1 && cd build &&
|
||||||
|
for chdir in 'cd -P' 'PWD= cd'; do
|
||||||
|
($chdir ../src 2> /dev/null && echo "$chdir" > cdcmd) && break
|
||||||
|
done)
|
||||||
|
if test -e conf$$.dir/src/cdcmd; then
|
||||||
|
read CHDIR < conf$$.dir/src/cdcmd 2> /dev/null
|
||||||
|
else
|
||||||
|
CHDIR=cd
|
||||||
|
fi
|
||||||
|
rm -fr conf$$.dir
|
||||||
|
AC_MSG_RESULT([$CHDIR])
|
||||||
|
AC_SUBST(CHDIR)
|
||||||
|
|
||||||
dnl }
|
dnl }
|
||||||
dnl compiler section {
|
dnl compiler section {
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ SHELL = $(COMSPEC)
|
||||||
RUNCMD = $(COMSPEC) /c
|
RUNCMD = $(COMSPEC) /c
|
||||||
MKFILES = Makefile
|
MKFILES = Makefile
|
||||||
NULL = nul
|
NULL = nul
|
||||||
|
CHDIR = cd
|
||||||
|
|
||||||
!ifndef MFLAGS
|
!ifndef MFLAGS
|
||||||
MFLAGS=-l
|
MFLAGS=-l
|
||||||
|
@ -301,7 +302,7 @@ ruby: $(PROGRAM)
|
||||||
rubyw: $(WPROGRAM)
|
rubyw: $(WPROGRAM)
|
||||||
|
|
||||||
up::
|
up::
|
||||||
@(set LC_TIME=C & $(VCSUP) "$(srcdir)")
|
@cd "$(srcdir:/=\)" && set LC_TIME=C && $(VCSUP)
|
||||||
|
|
||||||
!include $(srcdir)/common.mk
|
!include $(srcdir)/common.mk
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue