summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-05-27 00:13:52 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-05-27 00:13:52 +0000
commite1248f41edbb808743f17ec6a9b327c05f4c1151 (patch)
tree3ac646f70db0a3ff9f53031b6f68e5993df58e01
parent53cc4f0042b516dac7d7876c231343e7a9541268 (diff)
downloadgcc-e1248f41edbb808743f17ec6a9b327c05f4c1151.tar.gz
re PR go/90635 (typo in libgo/configure.ac)
PR go/90635 libgo: correct typo in USE_LIBFFI AM_CONDITIONAL Only affects the case of passing --without-libffi to configure. Fixes https://gcc.gnu.org/PR90635 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/178998 From-SVN: r271639
-rwxr-xr-xlibgo/configure2
-rw-r--r--libgo/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/configure b/libgo/configure
index 06b68b0f416..0d5845e1546 100755
--- a/libgo/configure
+++ b/libgo/configure
@@ -13712,7 +13712,7 @@ $as_echo "#define USE_LIBFFI 1" >>confdefs.h
fi
- if test "$with_liffi" != "no"; then
+ if test "$with_libffi" != "no"; then
USE_LIBFFI_TRUE=
USE_LIBFFI_FALSE='#'
else
diff --git a/libgo/configure.ac b/libgo/configure.ac
index 03c07fe8838..dfbbb8086dc 100644
--- a/libgo/configure.ac
+++ b/libgo/configure.ac
@@ -128,7 +128,7 @@ if test "$with_libffi" != no; then
fi
AC_SUBST(LIBFFI)
AC_SUBST(LIBFFIINCS)
-AM_CONDITIONAL(USE_LIBFFI, test "$with_liffi" != "no")
+AM_CONDITIONAL(USE_LIBFFI, test "$with_libffi" != "no")
# See if the user wants to configure without libatomic. This is useful if we are
# on an architecture for which libgo does not need an atomic support library and