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

Revert "Moved aclocal.m4 to macro directory"

This reverts commit 4a6571dbc1,
because chkbuild does not follow.
This commit is contained in:
Nobuyoshi Nakada 2020-04-05 11:53:07 +09:00
parent 4f938ffa35
commit df275179bd
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
9 changed files with 10 additions and 12 deletions

View file

@ -35,7 +35,7 @@ jobs:
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(sysctl -n hw.activecpu)))
- run: autoconf -I tool/m4
- run: autoconf
working-directory: src
- run: mkdir build
- name: Run configure

View file

@ -68,7 +68,7 @@ jobs:
mkdir install
mkdir temp
cd src
sh -c "autoreconf -fi -I tool/m4"
sh -c "autoreconf -fi"
- name: configure
working-directory: build

View file

@ -38,7 +38,7 @@ jobs:
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
- run: autoconf -I tool/m4
- run: autoconf
working-directory: src
- run: mkdir build
- name: Run configure

View file

@ -44,7 +44,7 @@ jobs:
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
- run: autoconf -I tool/m4
- run: autoconf
working-directory: src
- run: mkdir build
- name: Run confiugre

1
.gitignore vendored
View file

@ -216,7 +216,6 @@ lcov*.info
# /tool/
/tool/config.guess
/tool/config.sub
/tool/m4/autom4te*.cache
# /win32/
/win32/*.ico

View file

@ -460,7 +460,7 @@ matrix:
fast_finish: true
before_script:
- rm -fr .ext tool/m4/autom4te.cache
- rm -fr .ext autom4te.cache
- |-
[ -d ~/.downloaded-cache ] ||
mkdir ~/.downloaded-cache

View file

View file

@ -366,12 +366,12 @@ reconfig config.status: $(srcdir)/$(CONFIGURE) $(srcdir)/enc/Makefile.in \
@PWD= MINIRUBY="$(MINIRUBY)"; export MINIRUBY; \
set $(SHELL) $($@-args); $(reconfig-exec-$(V))
$(srcdir)/$(CONFIGURE): $(srcdir)/configure.ac $(tooldir)/m4/aclocal.m4
$(CHDIR) $(srcdir) && exec $(AUTOCONF) -I tool/m4 -o $(@F)
$(srcdir)/$(CONFIGURE): $(srcdir)/configure.ac $(srcdir)/aclocal.m4
$(CHDIR) $(srcdir) && exec $(AUTOCONF) -o $(@F)
$(tooldir)/m4/aclocal.m4:
$(srcdir)/aclocal.m4:
$(CHDIR) $(srcdir) && \
type $(ACLOCAL) >/dev/null 2>&1 && exec $(ACLOCAL) --output=tool/m4/$(@F); \
type $(ACLOCAL) >/dev/null 2>&1 && exec $(ACLOCAL); \
touch $(@F)
prereq: $(srcdir)/$(CONFIGURE)

View file

@ -407,14 +407,13 @@ def package(vcs, rev, destdir, tmp = nil)
end
unless File.exist?("configure")
print "creating configure..."
unless system(ENV["AUTOCONF"], "-I", "tool/m4", "-o", "configure")
unless system([ENV["AUTOCONF"]]*2)
puts $colorize.fail(" failed")
return
end
puts $colorize.pass(" done")
end
clean.add("autom4te.cache")
clean.add("tool/m4/autom4te.cache")
clean.add("enc/unicode/data")
print "creating prerequisites..."
if File.file?("common.mk") && /^prereq/ =~ commonmk = IO.read("common.mk")