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:
parent
4f938ffa35
commit
df275179bd
9 changed files with 10 additions and 12 deletions
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/mingw.yml
vendored
2
.github/workflows/mingw.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/mjit.yml
vendored
2
.github/workflows/mjit.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -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
1
.gitignore
vendored
|
@ -216,7 +216,6 @@ lcov*.info
|
|||
# /tool/
|
||||
/tool/config.guess
|
||||
/tool/config.sub
|
||||
/tool/m4/autom4te*.cache
|
||||
|
||||
# /win32/
|
||||
/win32/*.ico
|
||||
|
|
|
@ -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
|
||||
|
|
0
tool/m4/aclocal.m4 → aclocal.m4
vendored
0
tool/m4/aclocal.m4 → aclocal.m4
vendored
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue