Mercurial > mxe-octave
changeset 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 | 0ecfd051de81 |
children | 1414225a963d |
files | Makefile.in |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Fri Jan 24 12:36:20 2014 -0500 +++ b/Makefile.in Fri Jan 24 13:50:41 2014 -0500 @@ -19,8 +19,15 @@ # Set the following configuration variables with a configure script? -# Current valid values are mingw (cross) and gnu-linux (native). +# Current valid values are mingw (cross or native), msvc (native) +# and gnu-linux (native). MXE_SYSTEM := @MXE_SYSTEM@ +ifeq ($(MXE_SYSTEM),mingw) +else ifeq ($(MXE_SYSTEM),msvc) +else ifeq ($(MXE_SYSTEM),gnu-linux) +else +$(error "$(MXE_SYSTEM)" is not a valid value for MXE_SYSTEM) +endif # Set to "no" if doing a cross compile build. MXE_NATIVE_BUILD := @MXE_NATIVE_BUILD@