зеркало из https://github.com/github/ruby.git
Moved aclocal.m4 to macro directory
This commit is contained in:
Родитель
21d0b40de2
Коммит
4a6571dbc1
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Set ENV
|
||||
run: |
|
||||
echo '::set-env name=JOBS::'-j$((1 + $(sysctl -n hw.activecpu)))
|
||||
- run: autoconf
|
||||
- run: autoconf -I tool/m4
|
||||
working-directory: src
|
||||
- run: mkdir build
|
||||
- name: Run configure
|
||||
|
|
|
@ -68,7 +68,7 @@ jobs:
|
|||
mkdir install
|
||||
mkdir temp
|
||||
cd src
|
||||
sh -c "autoreconf -fi"
|
||||
sh -c "autoreconf -fi -I tool/m4"
|
||||
|
||||
- name: configure
|
||||
working-directory: build
|
||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
- name: Set ENV
|
||||
run: |
|
||||
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
|
||||
- run: autoconf
|
||||
- run: autoconf -I tool/m4
|
||||
working-directory: src
|
||||
- run: mkdir build
|
||||
- name: Run configure
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
- name: Set ENV
|
||||
run: |
|
||||
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
|
||||
- run: autoconf
|
||||
- run: autoconf -I tool/m4
|
||||
working-directory: src
|
||||
- run: mkdir build
|
||||
- name: Run confiugre
|
||||
|
|
|
@ -216,6 +216,7 @@ 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 autom4te.cache
|
||||
- rm -fr .ext tool/m4/autom4te.cache
|
||||
- |-
|
||||
[ -d ~/.downloaded-cache ] ||
|
||||
mkdir ~/.downloaded-cache
|
||||
|
|
|
@ -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 $(srcdir)/aclocal.m4
|
||||
$(CHDIR) $(srcdir) && exec $(AUTOCONF) -o $(@F)
|
||||
$(srcdir)/$(CONFIGURE): $(srcdir)/configure.ac $(tooldir)/m4/aclocal.m4
|
||||
$(CHDIR) $(srcdir) && exec $(AUTOCONF) -I tool/m4 -o $(@F)
|
||||
|
||||
$(srcdir)/aclocal.m4:
|
||||
$(tooldir)/m4/aclocal.m4:
|
||||
$(CHDIR) $(srcdir) && \
|
||||
type $(ACLOCAL) >/dev/null 2>&1 && exec $(ACLOCAL); \
|
||||
type $(ACLOCAL) >/dev/null 2>&1 && exec $(ACLOCAL) --output=tool/m4/$(@F); \
|
||||
touch $(@F)
|
||||
|
||||
prereq: $(srcdir)/$(CONFIGURE)
|
||||
|
|
|
@ -407,13 +407,14 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
end
|
||||
unless File.exist?("configure")
|
||||
print "creating configure..."
|
||||
unless system([ENV["AUTOCONF"]]*2)
|
||||
unless system(ENV["AUTOCONF"], "-I", "tool/m4", "-o", "configure")
|
||||
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")
|
||||
|
|
Загрузка…
Ссылка в новой задаче