summaryrefslogtreecommitdiff
path: root/gotools/configure
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2017-08-30 18:27:17 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-08-30 18:27:17 +0000
commit1913c1bf5c031fdc5dbdd1ce8e62d4977575a0d6 (patch)
tree0a84d103b7b8338d07fa562e3a3784579eeed1ef /gotools/configure
parent6da714c6780f023ee7efa892fba68be404e549f4 (diff)
downloadgcc-1913c1bf5c031fdc5dbdd1ce8e62d4977575a0d6.tar.gz
configure.ac: Substitute GOC_FOR_TARGET and GCC_FOR_TARGET.
* configure.ac: Substitute GOC_FOR_TARGET and GCC_FOR_TARGET. * Makefile.am (MOSTLYCLEANFILES): Add check-gcc. (check-gccgo): Create via a temporary file. (check-gcc): New target. (CHECK_ENV): Set CC. (ECHO_ENV): Report CC. (check-go-tool): Depend on check-gcc. (check-runtime, check-cgo-test, check-carchive-test): Likewise. * configure, Makefile.in: Rebuild. From-SVN: r251540
Diffstat (limited to 'gotools/configure')
-rwxr-xr-xgotools/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/gotools/configure b/gotools/configure
index a1addc3b6a9..44e25701bd6 100755
--- a/gotools/configure
+++ b/gotools/configure
@@ -558,6 +558,8 @@ LIBOBJS
NET_LIBS
NATIVE_FALSE
NATIVE_TRUE
+GCC_FOR_TARGET
+GOC_FOR_TARGET
GOCFLAGS
GOC
am__fastdepCC_FALSE
@@ -3783,6 +3785,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+# These should be defined by the top-level configure.
+# Copy them into Makefile.
+
+
+
if test "$host_alias" = "$target_alias"; then
NATIVE_TRUE=
NATIVE_FALSE='#'