changeset 4478:644022302e76

* Makefile.in: disable GUI in octave version check
author John D
date Wed, 20 Sep 2017 01:22:10 -0400
parents 95b85b9d28fa
children 769b40b4b09e
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Wed Sep 20 01:14:09 2017 -0400
+++ b/Makefile.in	Wed Sep 20 01:22:10 2017 -0400
@@ -637,7 +637,7 @@
 	@echo '[check requirements]'
 	$(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT)))
 ifneq ($(MXE_NATIVE_BUILD),yes)
-	@if ! octave --version | head -1 | grep ' \($($(OCTAVE_TARGET)_VERSION)\)$$' >/dev/null; then \
+	@if ! octave -W --version | head -1 | grep ' \($($(OCTAVE_TARGET)_VERSION)\)$$' >/dev/null; then \
 	  echo "Warning - could not find native build version $($(OCTAVE_TARGET)_VERSION) of octave - some packages may fail, but continuing"; \
 	fi
 endif