From e1248f41edbb808743f17ec6a9b327c05f4c1151 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 27 May 2019 00:13:52 +0000 Subject: [PATCH] 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 --- libgo/configure | 2 +- libgo/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgo/configure b/libgo/configure index 06b68b0f4169..0d5845e15469 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 03c07fe88381..dfbbb8086dcf 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 -- 2.47.2