diff options
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgo/configure b/libgo/configure index db371bc..20bff2b 100755 --- a/libgo/configure +++ b/libgo/configure @@ -14107,6 +14107,10 @@ fi +if test "${GOOS}" = "unknown"; then + as_fn_error $? "\"could not determine GOOS from ${host}\"" "$LINENO" 5 +fi + USE_DEJAGNU=no case ${host} in *-*-rtems*) USE_DEJAGNU=yes ;; @@ -14339,6 +14343,10 @@ esac +if test "${GOARCH}" = "unknown"; then + as_fn_error $? "\"could not determine GOARCH from ${host}\"" "$LINENO" 5 +fi + if test "$GOARCH" = "386" -o "$GOARCH" = "amd64" -o "$GOARCH" = "amd64p32"; then LIBGO_IS_X86_TRUE= LIBGO_IS_X86_FALSE='#' |