PR go/80964
* configure.ac: Set NATIVE if host_alias = target_alias.
* configure: Rebuild.
From-SVN: r249172
+2017-06-13 Ian Lance Taylor <iant@golang.org>
+
+ PR go/80964
+ * configure.ac: Set NATIVE if host_alias = target_alias.
+ * configure: Rebuild.
+
2017-05-18 Ian Lance Taylor <iant@golang.org>
PR go/80814
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "$cross_compiling" = no; then
+ if test "$host_alias" = "$target_alias"; then
NATIVE_TRUE=
NATIVE_FALSE='#'
else
AC_PROG_CC
AC_PROG_GO
-AM_CONDITIONAL(NATIVE, test "$cross_compiling" = no)
+AM_CONDITIONAL(NATIVE, test "$host_alias" = "$target_alias")
dnl Test for -lsocket and -lnsl. Copied from libjava/configure.ac.
AC_CACHE_CHECK([for socket libraries], gotools_cv_lib_sockets,