libgo: correct typo in USE_LIBFFI AM_CONDITIONAL

Only affects the case of passing --without-libffi to configure.

Fixes https://gcc.gnu.org/PR90635

Change-Id: I903fbb5b3858b242fa52a240a4c34fa70390a1e0
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/178998
Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/libgo/configure b/libgo/configure
index 888b6d9..1e33a57 100755
--- a/libgo/configure
+++ b/libgo/configure
@@ -13712,7 +13712,7 @@
 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 c47253b..0bd328c 100644
--- a/libgo/configure.ac
+++ b/libgo/configure.ac
@@ -128,7 +128,7 @@
 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