зеркало из https://github.com/mozilla/pjs.git
Added rule to automatically run autoconf & config.status whenever configure.in changes. Set AUTOUPDATE_CONFIGURE to use it.
This commit is contained in:
Родитель
3659345765
Коммит
1a106601bb
|
@ -162,6 +162,7 @@ TARGET_CPU = @TARGET_CPU@
|
||||||
TARGET_OS = @TARGET_OS@
|
TARGET_OS = @TARGET_OS@
|
||||||
TARGET_MD_ARCH = @TARGET_MD_ARCH@
|
TARGET_MD_ARCH = @TARGET_MD_ARCH@
|
||||||
|
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
EMACS = @EMACS@
|
EMACS = @EMACS@
|
||||||
PERL = @PERL@
|
PERL = @PERL@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
|
|
|
@ -838,7 +838,7 @@ endif #STRICT_CPLUSPLUS_SUFFIX
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Note: Passing depth to make-makefile is optional.
|
# Note: Passing depth to make-makefile is optional.
|
||||||
# It saves the script some work, though.
|
# It saves the script some work, though.
|
||||||
Makefile: Makefile.in
|
Makefile: Makefile.in $(topsrcdir)/configure
|
||||||
@$(PERL) $(AUTOCONF_TOOLS)/make-makefile -t $(topsrcdir) -d $(DEPTH)
|
@$(PERL) $(AUTOCONF_TOOLS)/make-makefile -t $(topsrcdir) -d $(DEPTH)
|
||||||
|
|
||||||
ifdef SUBMAKEFILES
|
ifdef SUBMAKEFILES
|
||||||
|
@ -847,6 +847,11 @@ $(SUBMAKEFILES): % : $(srcdir)/%.in
|
||||||
@$(PERL) $(AUTOCONF_TOOLS)/make-makefile -t $(topsrcdir) -d $(DEPTH) $@
|
@$(PERL) $(AUTOCONF_TOOLS)/make-makefile -t $(topsrcdir) -d $(DEPTH) $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef AUTOUPDATE_CONFIGURE
|
||||||
|
$(topsrcdir)/configure: $(topsrcdir)/configure.in
|
||||||
|
(cd $(topsrcdir) && $(AUTOCONF)) && (cd $(DEPTH) && ./config.status --recheck)
|
||||||
|
endif
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Bunch of things that extend the 'export' rule (in order):
|
# Bunch of things that extend the 'export' rule (in order):
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче