From 37384a0e2b00262eb380f5f0fb29aa5c94002dc1 Mon Sep 17 00:00:00 2001
From: Wenduo Wang <wenduwan@amazon.com>
Date: Wed, 21 Aug 2024 02:03:20 +0000
Subject: [PATCH] mca/pif: fix pmix_found_linux typo

This typo causes linux_ipv6 module to be skipped during configure.
It has been replaced with the OAC equivalent.

Signed-off-by: Wenduo Wang <wenduwan@amazon.com>
---
 src/mca/pif/linux_ipv6/configure.m4 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mca/pif/linux_ipv6/configure.m4 b/src/mca/pif/linux_ipv6/configure.m4
index 1b7d21bf2f..2fd0da247e 100644
--- a/src/mca/pif/linux_ipv6/configure.m4
+++ b/src/mca/pif/linux_ipv6/configure.m4
@@ -5,6 +5,8 @@
 #                         and Technology (RIST). All rights reserved.
 # Copyright (c) 2016      Intel, Inc.  All rights reserved.
 # Copyright (c) 2023      Nanook Consulting.  All rights reserved.
+# Copyright (c) 2024      Amazon.com, Inc. or its affiliates.
+#                         All Rights reserved.
 # $COPYRIGHT$
 #
 # Additional copyrights may follow
@@ -29,7 +31,7 @@ AC_DEFUN([MCA_pmix_pif_linux_ipv6_CONFIG], [
     AC_MSG_CHECKING([if we are on Linux with TCP])
     # If we have struct sockaddr and we're on Linux, then we're
     # happy.
-    AS_IF([test "$pmix_found_sockaddr" = "yes" && test "$pmix_found_linux" = "yes"],
+    AS_IF([test "$pmix_found_sockaddr" = "yes" && test "$oac_found_linux" = "yes"],
           [AC_MSG_RESULT([yes])
            $1],
           [AC_MSG_RESULT([no])
