diff options
author | Ian Lance Taylor <iant@google.com> | 2015-01-09 21:23:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-09 21:23:09 +0000 |
commit | bf1de3f0ac48e095e9446a2408649766bf5a947c (patch) | |
tree | ac01f2f285980d0d29dd2d65f8bea8c6f69f3ea9 /gotools/configure.ac | |
parent | b44fb4c37a4697dfd50c37282c9d2ec2bd3aa95a (diff) | |
download | gcc-bf1de3f0ac48e095e9446a2408649766bf5a947c.zip gcc-bf1de3f0ac48e095e9446a2408649766bf5a947c.tar.gz gcc-bf1de3f0ac48e095e9446a2408649766bf5a947c.tar.bz2 |
configure.ac (host_tools): Add gotools.
./:2015-01-09 Ian Lance Taylor <iant@google.com>
* configure.ac (host_tools): Add gotools.
* Makefile.def (host_modules): Add gotools.
(dependencies): Add dependency of all-gotools on all-target-libgo.
gcc/go/:
2015-01-09 Ian Lance Taylor <iant@google.com>
* config-lang.in (lang_dirs): Define.
gotools/:
2015-01-09 Ian Lance Taylor <iant@google.com>
* Initial implementation.
From-SVN: r219407
Diffstat (limited to 'gotools/configure.ac')
-rw-r--r-- | gotools/configure.ac | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gotools/configure.ac b/gotools/configure.ac new file mode 100644 index 0000000..ddc26fb --- /dev/null +++ b/gotools/configure.ac @@ -0,0 +1,53 @@ +# Configure script for gotools. +# Copyright 2015 Free Software Foundation, Inc. +# +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +AC_INIT(package-unused, version-unused,, gotools) +AC_PREREQ(2.64) +AC_CONFIG_SRCDIR(Makefile.am) + +m4_include([config/go.m4]) + +# Determine the noncanonical names used for directories. +ACX_NONCANONICAL_BUILD +ACX_NONCANONICAL_HOST +ACX_NONCANONICAL_TARGET + +dnl Autoconf 2.5x and later will set a default program prefix if +dnl --target was used, even if it was the same as --host. Disable +dnl that behavior. This must be done before AC_CANONICAL_SYSTEM +dnl to take effect. +test "$host_noncanonical" = "$target_noncanonical" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_transform_name=s,y,y, + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AM_INIT_AUTOMAKE([1.9.3 no-define foreign no-dist -Wall -Wno-portability]) +AM_MAINTAINER_MODE + +AC_PROG_INSTALL + +AC_PROG_CC +AC_PROG_GO + +AM_CONDITIONAL(NATIVE, test "$cross_compiling" = no) + +AC_CONFIG_FILES(Makefile) + +AC_OUTPUT |