comparison Makefile.in @ 4478:644022302e76

* Makefile.in: disable GUI in octave version check
author John D
date Wed, 20 Sep 2017 01:22:10 -0400
parents e3a584b593fe
children 8f9bee27223f
comparison
equal deleted inserted replaced
4477:95b85b9d28fa 4478:644022302e76
635 check-requirements: $(STAMP_DIR)/check-requirements 635 check-requirements: $(STAMP_DIR)/check-requirements
636 $(STAMP_DIR)/check-requirements: $(MAKEFILE) 636 $(STAMP_DIR)/check-requirements: $(MAKEFILE)
637 @echo '[check requirements]' 637 @echo '[check requirements]'
638 $(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT))) 638 $(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT)))
639 ifneq ($(MXE_NATIVE_BUILD),yes) 639 ifneq ($(MXE_NATIVE_BUILD),yes)
640 @if ! octave --version | head -1 | grep ' \($($(OCTAVE_TARGET)_VERSION)\)$$' >/dev/null; then \ 640 @if ! octave -W --version | head -1 | grep ' \($($(OCTAVE_TARGET)_VERSION)\)$$' >/dev/null; then \
641 echo "Warning - could not find native build version $($(OCTAVE_TARGET)_VERSION) of octave - some packages may fail, but continuing"; \ 641 echo "Warning - could not find native build version $($(OCTAVE_TARGET)_VERSION) of octave - some packages may fail, but continuing"; \
642 fi 642 fi
643 endif 643 endif
644 @[ -d '$(STAMP_DIR)' ] || mkdir -p '$(STAMP_DIR)' 644 @[ -d '$(STAMP_DIR)' ] || mkdir -p '$(STAMP_DIR)'
645 @if test "$(USE_SYSTEM_GCC)" = yes; then \ 645 @if test "$(USE_SYSTEM_GCC)" = yes; then \