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

* configure.in: add support for as and ASFLAGS. [ruby-dev:29138]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-07-26 13:28:17 +00:00
parent 1c499989ee
commit d09827ad50
3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Wed Jul 26 22:20:59 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
Wed Jul 26 21:59:33 2006 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb (Net::HTTP#post, request_post, request): should

View file

@ -80,6 +80,8 @@ NM = @NM@
AR = @AR@
ARFLAGS = rcu
RANLIB = @RANLIB@
AS = @AS@
ASFLAGS = @ASFLAGS@
OBJEXT = @OBJEXT@
MANTYPE = @MANTYPE@
@ -161,6 +163,9 @@ lex.c: keywords
.c.@OBJEXT@:
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c $<
.s.@OBJEXT@:
$(AS) $(ASFLAGS) -o $@ $<
clean-local::
@$(RM) ext/extinit.c ext/extinit.$(OBJEXT)

View file

@ -165,6 +165,10 @@ if test -z "$AR"; then
AC_CHECK_PROGS(AR, aal, ar)
fi
AC_CHECK_TOOL(AS, as)
ASFLAGS=$ASFLAGS
AC_SUBST(ASFLAGS)
case "$target_os" in
cygwin*|mingw*)
AC_CHECK_TOOL(NM, nm)