| 1 |
# -*- Autotest -*- |
| 2 |
|
| 3 |
AT_BANNER([Go low level compiling and utility macros.]) |
| 4 |
|
| 5 |
# Copyright (C) 2011-2017, 2020-2026 Free Software Foundation, Inc. |
| 6 |
# |
| 7 |
# This program is free software: you can redistribute it and/or modify |
| 8 |
# it under the terms of the GNU General Public License as published by |
| 9 |
# the Free Software Foundation, either version 3 of the License, or |
| 10 |
# (at your option) any later version. |
| 11 |
# |
| 12 |
# This program is distributed in the hope that it will be useful, |
| 13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
# GNU General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License |
| 18 |
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
|
| 21 |
# Since the macros which compile are required by most tests, check |
| 22 |
# them first. But remember that looking for a compiler is even more |
| 23 |
# primitive, so check those first. |
| 24 |
|
| 25 |
|
| 26 |
## ------------- ## |
| 27 |
## Go Compiler. ## |
| 28 |
## ------------- ## |
| 29 |
|
| 30 |
AT_CHECK_MACRO([Go], |
| 31 |
[[AC_LANG(Go) |
| 32 |
AC_LANG_COMPILER |
| 33 |
]]) |