swig/swig400-Restore-setting-of-...

26 lines
629 B
Diff

From 6b108c19e1504c937e1a7d50147575dd8e624b73 Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor <iant@golang.org>
Date: Thu, 8 Aug 2019 22:59:57 -0700
Subject: [PATCH 2/2] Restore setting of GOVERSIONOPTION
Accidentally removed in last commit.
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index a38e97d2a..73c38a72c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2390,6 +2390,7 @@ else
GOVERSIONOPTION=
if test -n "$GO" ; then
+ GOVERSIONOPTION=version
AC_MSG_CHECKING([whether go version is too old])
case $go_version in
go1.[012345]*)
--
2.20.1