22
22
dnl $HEADER $
23
23
dnl
24
24
25
- # ORTE_CHECK_ALPS_CLE4 ([action-if-found], [action-if-not-found])
25
+ # OPAL_CHECK_ALPS_CLE4 ([action-if-found], [action-if-not-found])
26
26
# --------------------------------------------------------
27
- AC_DEFUN([ORTE_CHECK_ALPS_CLE4 ],[
27
+ AC_DEFUN([OPAL_CHECK_ALPS_CLE4 ],[
28
28
29
29
#
30
30
# if we've gotten here, its because we are building on a CLE 4 system
31
31
#
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"
34
34
35
35
AC_MSG_CHECKING([Checking for ALPS components on a CLE 4 system with alps $with_alps ])
36
36
@@ -48,42 +48,42 @@ AC_DEFUN([ORTE_CHECK_ALPS_CLE4],[
48
48
AS_IF([test -z " $with_alps_libdir " ],
49
49
[AS_IF([test " $with_alps " != " yes" && test " $with_alps " != " auto" ],
50
50
[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" ])
54
54
],[])
55
55
56
56
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 ])
59
59
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" ,
64
64
AC_MSG_RESULT([no])])
65
65
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"
70
70
AC_MSG_RESULT([no])])
71
71
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"
76
76
$1 ],
77
77
[$2 ])
78
78
])
79
79
80
80
81
81
82
82
83
- # ORTE_CHECK_ALPS (prefix, [action-if-found], [action-if-not-found])
83
+ # OPAL_CHECK_ALPS (prefix, [action-if-found], [action-if-not-found])
84
84
# --------------------------------------------------------
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
87
87
88
88
AC_ARG_WITH([alps],
89
89
[AC_HELP_STRING([--with-alps(=DIR| yes| no)],
@@ -97,24 +97,24 @@ AC_DEFUN([ORTE_CHECK_ALPS],[
97
97
98
98
AC_MSG_CHECKING([for ALPS support cle level $cle_level ])
99
99
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" ])],
102
102
[AS_IF([test " $with_alps " = " no" ],
103
103
[AC_MSG_RESULT([no])
104
104
$3 ],
105
105
[AS_IF([test " $with_alps " = " auto" || test " $with_alps " = " yes" ],
106
106
[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" ]
109
109
[AS_IF([test " $with_alps " = " yes" ],
110
110
[AC_MSG_WARN([ALPS support requested but pkg-config failed.])
111
111
AC_MSG_WARN([Need to explicitly indicate ALPS directory])
112
112
AC_MSG_WARN([on the configure line using --with-alps option.])
113
113
AC_MSG_ERROR([Aborting])],[])]
114
114
)
115
115
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" ]
118
118
[AS_IF([test " $with_alps " = " yes" ],
119
119
[AC_MSG_WARN([ALPS support requested but pkg-config failed.])
120
120
AC_MSG_WARN([Need to explicitly indicate ALPS directory])
@@ -123,20 +123,20 @@ AC_DEFUN([ORTE_CHECK_ALPS],[
123
123
)
124
124
125
125
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" ]
128
128
[AS_IF([test " $with_alps " = " yes" ],
129
129
[AC_MSG_WARN([ALPS support requested but pkg-config failed.])
130
130
AC_MSG_WARN([Need to explicitly indicate ALPS directory])
131
131
AC_MSG_WARN([on the configure line using --with-alps option.])
132
132
AC_MSG_ERROR([Aborting])],[])]
133
133
)
134
134
PKG_CHECK_MODULES_STATIC([CRAY_WLM_DETECT], [cray-wlm_detect],
135
- [orte_check_cray_alps_happy = " yes"
135
+ [opal_check_cray_alps_happy = " yes"
136
136
AC_DEFINE_UNQUOTED([CRAY_WLM_DETECT],[1],
137
137
[defined to 1 if cray wlm available, 0 otherwise])
138
138
],
139
- [orte_check_cray_alps_happy = " no" ]
139
+ [opal_check_cray_alps_happy = " no" ]
140
140
[AS_IF([test " $with_alps " = " yes" ],
141
141
[AC_MSG_WARN([ALPS support requested but pkg-config failed.])
142
142
AC_MSG_WARN([Need to explicitly indicate ALPS directory])
@@ -150,17 +150,17 @@ AC_DEFUN([ORTE_CHECK_ALPS],[
150
150
])
151
151
])
152
152
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 ])
154
154
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" ],
156
156
[CRAY_ALPSLLI_LIBS = $CRAY_ALPSLLI_STATIC_LIBS
157
157
CRAY_ALPSUTIL_LIBS = $CRAY_ALPSUTIL_STATIC_LIBS ],
158
158
[])
159
159
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 ])
161
161
fi
162
162
163
- AS_IF([test " $orte_check_cray_alps_happy " = " yes" ],
163
+ AS_IF([test " $opal_check_cray_alps_happy " = " yes" ],
164
164
[$1 _LDFLAGS= " [$]$1 _LDFLAGS $CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS "
165
165
$1 _CPPFLAGS= " [$]$1 _CPPFLAGS $CRAY_ALPSLLI_CFLAGS $CRAY_ALPSUTIL_CFLAGS $CRAY_ALPS_CFLAGS $CRAY_WLM_DETECT_CFLAGS "
166
166
$1 _LIBS= " [$]$1 _LIBS $CRAY_ALPSLLI_LIBS $CRAY_ALPSUTIL_LIBS $CRAY_WLM_DETECT_LIBS "
0 commit comments