comparison Makefile.in @ 3451:59ae7d6334c1

* Makefile.in: Validate MXE_SYSTEM value.
author John W. Eaton <jwe@octave.org>
date Fri, 24 Jan 2014 13:50:41 -0500
parents f0a1b0872dbb
children 3124eb50a04b
comparison
equal deleted inserted replaced
3450:0ecfd051de81 3451:59ae7d6334c1
17 17
18 ## Configuration variables. 18 ## Configuration variables.
19 19
20 # Set the following configuration variables with a configure script? 20 # Set the following configuration variables with a configure script?
21 21
22 # Current valid values are mingw (cross) and gnu-linux (native). 22 # Current valid values are mingw (cross or native), msvc (native)
23 # and gnu-linux (native).
23 MXE_SYSTEM := @MXE_SYSTEM@ 24 MXE_SYSTEM := @MXE_SYSTEM@
25 ifeq ($(MXE_SYSTEM),mingw)
26 else ifeq ($(MXE_SYSTEM),msvc)
27 else ifeq ($(MXE_SYSTEM),gnu-linux)
28 else
29 $(error "$(MXE_SYSTEM)" is not a valid value for MXE_SYSTEM)
30 endif
24 31
25 # Set to "no" if doing a cross compile build. 32 # Set to "no" if doing a cross compile build.
26 MXE_NATIVE_BUILD := @MXE_NATIVE_BUILD@ 33 MXE_NATIVE_BUILD := @MXE_NATIVE_BUILD@
27 34
28 # Set to "yes" to use the versions of GCC and binutils already 35 # Set to "yes" to use the versions of GCC and binutils already