Mercurial > mxe-octave
comparison Makefile.in @ 4240:724749afb8b5
Makefile.in: check if have version of octave and warn if cant find it (Bug #49503)
* Makefile.in: in check-requirements, verify and warn if do not have correct octave
author | John D |
---|---|
date | Thu, 03 Nov 2016 04:08:08 -0400 |
parents | 49430638c5bd |
children | a1e2f1eac845 |
comparison
equal
deleted
inserted
replaced
4239:016aa52965bb | 4240:724749afb8b5 |
---|---|
600 endef | 600 endef |
601 check-requirements: $(STAMP_DIR)/check-requirements | 601 check-requirements: $(STAMP_DIR)/check-requirements |
602 $(STAMP_DIR)/check-requirements: $(MAKEFILE) | 602 $(STAMP_DIR)/check-requirements: $(MAKEFILE) |
603 @echo '[check requirements]' | 603 @echo '[check requirements]' |
604 $(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT))) | 604 $(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT))) |
605 ifneq ($(MXE_NATIVE_BUILD),yes) | |
606 @if ! octave --version | head -1 | grep ' \($($(OCTAVE_TARGET)_VERSION)\)$$' >/dev/null; then \ | |
607 echo "Warning - could not find native build version $($(OCTAVE_TARGET)_VERSION) of octave - some packages may fail, but continuing"; \ | |
608 fi | |
609 endif | |
605 @[ -d '$(STAMP_DIR)' ] || mkdir -p '$(STAMP_DIR)' | 610 @[ -d '$(STAMP_DIR)' ] || mkdir -p '$(STAMP_DIR)' |
606 @if test "$(USE_SYSTEM_GCC)" = yes; then \ | 611 @if test "$(USE_SYSTEM_GCC)" = yes; then \ |
607 $(INSTALL) -d '$(BUILD_TOOLS_PREFIX)/bin' ; \ | 612 $(INSTALL) -d '$(BUILD_TOOLS_PREFIX)/bin' ; \ |
608 $(INSTALL) -m 755 $(TOP_DIR)/tools/config.guess '$(BUILD_TOOLS_PREFIX)/bin/config.guess' ; \ | 613 $(INSTALL) -m 755 $(TOP_DIR)/tools/config.guess '$(BUILD_TOOLS_PREFIX)/bin/config.guess' ; \ |
609 $(INSTALL) -m 755 $(TOP_DIR)/tools/config.sub '$(BUILD_TOOLS_PREFIX)/bin/config.sub' ; \ | 614 $(INSTALL) -m 755 $(TOP_DIR)/tools/config.sub '$(BUILD_TOOLS_PREFIX)/bin/config.sub' ; \ |