@@ -18,7 +18,7 @@ dnl                         reserved.
1818dnl Copyright (c) 2009-2011 Oak Ridge National Labs.  All rights reserved.
1919dnl Copyright (c) 2011-2013 NVIDIA Corporation.  All rights reserved.
2020dnl Copyright (c) 2015-2016 Research Organization for  Information Science
21- dnl Copyright (c) 2013-2016  Intel, Inc. All rights reserved
21+ dnl Copyright (c) 2013-2017  Intel, Inc. All rights reserved. 
2222dnl Copyright (c) 2016      Mellanox Technologies, Inc.
2323dnl                         All rights reserved.
2424dnl Copyright (c) 2016      IBM Corporation.  All rights reserved.
795795AC_DEFINE_UNQUOTED([PMIX_ENABLE_TIMING], [$WANT_TIMING ],
796796                   [Whether we want developer-level timing support or not])
797797
798+ # 
799+ #  Install backward compatibility support for PMI-1 and PMI-2
800+ # 
801+ AC_MSG_CHECKING([if want backward compatibility for  PMI-1 and PMI-2])
802+ AC_ARG_ENABLE(pmix-backward-compatibility,
803+               AC_HELP_STRING([--enable-pmix-backward-compatibility],
804+                              [enable PMIx support for  PMI-1 and PMI-2 (default: enabled)]))
805+ if  test  " $enable_pmix_backward_compatibility " " no" ;  then 
806+     AC_MSG_RESULT([no])
807+     WANT_PMIX_BACKWARD=0
808+ else 
809+     AC_MSG_RESULT([yes])
810+     WANT_PMIX_BACKWARD=1
811+ fi 
812+ 
798813])dnl
799814
800815#  Specify the symbol prefix
@@ -810,7 +825,7 @@ AC_DEFUN([PMIX_DO_AM_CONDITIONALS],[
810825        AM_CONDITIONAL([PMIX_COMPILE_TIMING], [test " $WANT_TIMING " =  " 1" 
811826        AM_CONDITIONAL([PMIX_WANT_MUNGE], [test " $pmix_munge_support " =  " 1" 
812827        AM_CONDITIONAL([PMIX_WANT_SASL], [test " $pmix_sasl_support " =  " 1" 
828+         AM_CONDITIONAL([WANT_PMIX_BACKWARD], [test " $WANT_PMIX_BACKWARD " =  " 1" 
813829    ])
814830    pmix_did_am_conditionals= yes
815831])dnl
816- 
0 commit comments