# HG changeset patch # User John W. Eaton # Date 1390589441 18000 # Node ID 59ae7d6334c1bb326b988b0fbe496d21f7bd61b1 # Parent 0ecfd051de814fa331f3d72281f4a7dae23566d3 * Makefile.in: Validate MXE_SYSTEM value. diff -r 0ecfd051de81 -r 59ae7d6334c1 Makefile.in --- 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@