2222dnl $HEADER $
2323dnl
2424
25- # ORTE_CHECK_ALPS_CLE4 ([action-if-found], [action-if-not-found])
25+ # OPAL_CHECK_ALPS_CLE4 ([action-if-found], [action-if-not-found])
2626# --------------------------------------------------------
27- AC_DEFUN([ORTE_CHECK_ALPS_CLE4 ],[
27+ AC_DEFUN([OPAL_CHECK_ALPS_CLE4 ],[
2828
2929#
3030# if we've gotten here, its because we are building on a CLE 4 system
3131#
32- orte_check_alps_cle4_libdir_happy = " no"
33- orte_check_alps_cle4_dir_happy = " no"
32+ opal_check_alps_cle4_libdir_happy = " no"
33+ opal_check_alps_cle4_dir_happy = " no"
3434
3535 AC_MSG_CHECKING([Checking for ALPS components on a CLE 4 system with alps $with_alps ])
3636
@@ -48,42 +48,42 @@ AC_DEFUN([ORTE_CHECK_ALPS_CLE4],[
4848 AS_IF([test -z " $with_alps_libdir " ],
4949 [AS_IF([test " $with_alps " != " yes" && test " $with_alps " != " auto" ],
5050 [AS_IF([test -d " $with_alps_libdir /lib64" ],
51- [orte_check_alps_libdir = " $with_alps_libdir /lib64" ],
52- [orte_check_alps_libdir = " $with_alps_libdir /lib" ])],
53- [ orte_check_alps_libdir = " $default_alps_dir /lib/alps" ])
51+ [opal_check_alps_libdir = " $with_alps_libdir /lib64" ],
52+ [opal_check_alps_libdir = " $with_alps_libdir /lib" ])],
53+ [ opal_check_alps_libdir = " $default_alps_dir /lib/alps" ])
5454 ],[])
5555
5656 AS_IF([test " $with_alps " = " yes" || test " $with_alps " = " auto" ],
57- [orte_check_alps_dir = $default_alps_dir ],
58- [orte_check_alps_dir = $with_alps ])
57+ [opal_check_alps_dir = $default_alps_dir ],
58+ [opal_check_alps_dir = $with_alps ])
5959
60- AC_MSG_CHECKING([if $orte_check_alps_libdir /libalps.a is present])
61- AS_IF([test -f " $orte_check_alps_libdir /libalps.a" ],
62- [orte_check_alps_libdir_cle4_happy = " yes" ],
63- [orte_check_alps_libdir_cle4_happy = " no" ,
60+ AC_MSG_CHECKING([if $opal_check_alps_libdir /libalps.a is present])
61+ AS_IF([test -f " $opal_check_alps_libdir /libalps.a" ],
62+ [opal_check_alps_libdir_cle4_happy = " yes" ],
63+ [opal_check_alps_libdir_cle4_happy = " no" ,
6464 AC_MSG_RESULT([no])])
6565
66- AC_MSG_CHECKING([if $orte_check_alps_dir /include/alps/apInfo.h is present])
67- AS_IF([test -f " $orte_check_alps_dir /include/alps/apInfo.h" ],
68- [orte_check_alps_dir_cle4_happy = " yes" ],
69- [orte_check_alps_dir_cle4_happy = " no"
66+ AC_MSG_CHECKING([if $opal_check_alps_dir /include/alps/apInfo.h is present])
67+ AS_IF([test -f " $opal_check_alps_dir /include/alps/apInfo.h" ],
68+ [opal_check_alps_dir_cle4_happy = " yes" ],
69+ [opal_check_alps_dir_cle4_happy = " no"
7070 AC_MSG_RESULT([no])])
7171
72- AS_IF([test " $orte_check_alps_libdir_cle4_happy " = " yes" && test " $orte_check_alps_dir_cle4_happy " = " yes" ],
73- [CRAY_ALPSLLI_CFLAGS= " -I$orte_check_alps_dir /include"
74- CRAY_ALPSLLI_LIBS= " -L$orte_check_alps_libdir -lalpslli -lalpsutil"
75- CRAY_ALPSLLI_STATIC_LIBS= " -L$orte_check_alps_libdir -lalpslli -lalpsutil"
72+ AS_IF([test " $opal_check_alps_libdir_cle4_happy " = " yes" && test " $opal_check_alps_dir_cle4_happy " = " yes" ],
73+ [CRAY_ALPSLLI_CFLAGS= " -I$opal_check_alps_dir /include"
74+ CRAY_ALPSLLI_LIBS= " -L$opal_check_alps_libdir -lalpslli -lalpsutil"
75+ CRAY_ALPSLLI_STATIC_LIBS= " -L$opal_check_alps_libdir -lalpslli -lalpsutil"
7676 $1 ],
7777 [$2 ])
7878])
7979
8080
8181
8282
83- # ORTE_CHECK_ALPS (prefix, [action-if-found], [action-if-not-found])
83+ # OPAL_CHECK_ALPS (prefix, [action-if-found], [action-if-not-found])
8484# --------------------------------------------------------
85- AC_DEFUN([ORTE_CHECK_ALPS ],[
86- if test -z " $orte_check_cray_alps_happy " ; then
85+ AC_DEFUN([OPAL_CHECK_ALPS ],[
86+ if test -z " $opal_check_cray_alps_happy " ; then
8787
8888 AC_ARG_WITH([alps],
8989 [AC_HELP_STRING([--with-alps(=DIR| yes| no)],
@@ -97,24 +97,24 @@ AC_DEFUN([ORTE_CHECK_ALPS],[
9797
9898 AC_MSG_CHECKING([for ALPS support cle level $cle_level ])
9999 AS_IF([test " $cle_level " = " 4" && test " $with_alps " != " no" ],
100- [ORTE_CHECK_ALPS_CLE4([orte_check_cray_alps_happy = " yes" ],
101- [orte_check_cray_alps_happy = " no" ])],
100+ [OPAL_CHECK_ALPS_CLE4([opal_check_cray_alps_happy = " yes" ],
101+ [opal_check_cray_alps_happy = " no" ])],
102102 [AS_IF([test " $with_alps " = " no" ],
103103 [AC_MSG_RESULT([no])
104104 $3 ],
105105 [AS_IF([test " $with_alps " = " auto" || test " $with_alps " = " yes" ],
106106 [PKG_CHECK_MODULES_STATIC([CRAY_ALPSLLI], [cray-alpslli],
107- [orte_check_cray_alps_happy = " yes" ],
108- [orte_check_cray_alps_happy = " no" ]
107+ [opal_check_cray_alps_happy = " yes" ],
108+ [opal_check_cray_alps_happy = " no" ]
109109 [AS_IF([test " $with_alps " = " yes" ],
110110 [AC_MSG_WARN([ALPS support requested but pkg-config failed.])
111111 AC_MSG_WARN([Need to explicitly indicate ALPS directory])
112112 AC_MSG_WARN([on the configure line using --with-alps option.])
113113 AC_MSG_ERROR([Aborting])],[])]
114114 )
115115 PKG_CHECK_MODULES_STATIC([CRAY_ALPSUTIL], [cray-alpsutil],
116- [orte_check_cray_alps_happy = " yes" ],
117- [orte_check_cray_alps_happy = " no" ]
116+ [opal_check_cray_alps_happy = " yes" ],
117+ [opal_check_cray_alps_happy = " no" ]
118118 [AS_IF([test " $with_alps " = " yes" ],
119119 [AC_MSG_WARN([ALPS support requested but pkg-config failed.])
120120 AC_MSG_WARN([Need to explicitly indicate ALPS directory])
@@ -123,20 +123,20 @@ AC_DEFUN([ORTE_CHECK_ALPS],[
123123 )
124124
125125 PKG_CHECK_MODULES_STATIC([CRAY_ALPS], [cray-alps],
126- [orte_check_cray_alps_happy = " yes" ],
127- [orte_check_cray_alps_happy = " no" ]
126+ [opal_check_cray_alps_happy = " yes" ],
127+ [opal_check_cray_alps_happy = " no" ]
128128 [AS_IF([test " $with_alps " = " yes" ],
129129 [AC_MSG_WARN([ALPS support requested but pkg-config failed.])
130130 AC_MSG_WARN([Need to explicitly indicate ALPS directory])
131131 AC_MSG_WARN([on the configure line using --with-alps option.])
132132 AC_MSG_ERROR([Aborting])],[])]
133133 )
134134 PKG_CHECK_MODULES_STATIC([CRAY_WLM_DETECT], [cray-wlm_detect],
135- [orte_check_cray_alps_happy = " yes"
135+ [opal_check_cray_alps_happy = " yes"
136136 AC_DEFINE_UNQUOTED([CRAY_WLM_DETECT],[1],
137137 [defined to 1 if cray wlm available, 0 otherwise])
138138 ],
139- [orte_check_cray_alps_happy = " no" ]
139+ [opal_check_cray_alps_happy = " no" ]
140140 [AS_IF([test " $with_alps " = " yes" ],
141141 [AC_MSG_WARN([ALPS support requested but pkg-config failed.])
142142 AC_MSG_WARN([Need to explicitly indicate ALPS directory])
@@ -150,17 +150,17 @@ AC_DEFUN([ORTE_CHECK_ALPS],[
150150 ])
151151 ])
152152
153- AC_MSG_RESULT([orte_check_cray_alps_happy = $orte_check_cray_alps_happy ])
153+ AC_MSG_RESULT([opal_check_cray_alps_happy = $opal_check_cray_alps_happy ])
154154
155- AS_IF([test " $orte_check_cray_alps_happy " = " yes" && test " $enable_static " = " yes" ],
155+ AS_IF([test " $opal_check_cray_alps_happy " = " yes" && test " $enable_static " = " yes" ],
156156 [CRAY_ALPSLLI_LIBS = $CRAY_ALPSLLI_STATIC_LIBS
157157 CRAY_ALPSUTIL_LIBS = $CRAY_ALPSUTIL_STATIC_LIBS ],
158158 [])
159159
160- OPAL_SUMMARY_ADD([[Resource Managers]],[[Cray Alps]],[$1 ],[$orte_check_cray_alps_happy ])
160+ OPAL_SUMMARY_ADD([[Resource Managers]],[[Cray Alps]],[$1 ],[$opal_check_cray_alps_happy ])
161161 fi
162162
163- AS_IF([test " $orte_check_cray_alps_happy " = " yes" ],
163+ AS_IF([test " $opal_check_cray_alps_happy " = " yes" ],
164164 [$1 _LDFLAGS= " [$]$1 _LDFLAGS $CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS "
165165 $1 _CPPFLAGS= " [$]$1 _CPPFLAGS $CRAY_ALPSLLI_CFLAGS $CRAY_ALPSUTIL_CFLAGS $CRAY_ALPS_CFLAGS $CRAY_WLM_DETECT_CFLAGS "
166166 $1 _LIBS= " [$]$1 _LIBS $CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS $CRAY_WLM_DETECT_LIBS "
0 commit comments