@@ -202,9 +202,9 @@ dnl #######################################################################
202
202
dnl # ######################################################################
203
203
dnl # ######################################################################
204
204
205
- AC_DEFUN([OPAL_LOG_MSG],[
206
205
# 1 is the message
207
206
# 2 is whether to put a prefix or not
207
+ AC_DEFUN([OPAL_LOG_MSG],[
208
208
if test -n " $2 " ; then
209
209
echo " configure:__oline__: $1 " >&5
210
210
else
@@ -215,8 +215,8 @@ dnl #######################################################################
215
215
dnl # ######################################################################
216
216
dnl # ######################################################################
217
217
218
- AC_DEFUN([OPAL_LOG_FILE],[
219
218
# 1 is the filename
219
+ AC_DEFUN([OPAL_LOG_FILE],[
220
220
if test -n " $1 " && test -f " $1 " ; then
221
221
cat $1 >&5
222
222
fi])dnl
@@ -225,10 +225,10 @@ dnl #######################################################################
225
225
dnl # ######################################################################
226
226
dnl # ######################################################################
227
227
228
- AC_DEFUN([OPAL_LOG_COMMAND],[
229
228
# 1 is the command
230
229
# 2 is actions to do if success
231
230
# 3 is actions to do if fail
231
+ AC_DEFUN([OPAL_LOG_COMMAND],[
232
232
echo " configure:__oline__: $1 " > & 5
233
233
$1 1>&5 2>&1
234
234
opal_status= $?
@@ -245,8 +245,8 @@ dnl #######################################################################
245
245
dnl # ######################################################################
246
246
dnl # ######################################################################
247
247
248
- AC_DEFUN([OPAL_UNIQ],[
249
248
# 1 is the variable name to be uniq-ized
249
+ AC_DEFUN([OPAL_UNIQ],[
250
250
opal_name= $1
251
251
252
252
# Go through each item in the variable and only keep the unique ones
@@ -436,10 +436,10 @@ dnl #######################################################################
436
436
# ~/.whatever file (and we do not want the error messages to be part
437
437
# of the assignment in foo=`which <prog>`). This macro ensures that we
438
438
# get a sane executable value.
439
+ #
440
+ # 1 is the variable name to do "which" on
441
+ # 2 is the variable name to assign the return value to
439
442
AC_DEFUN([OPAL_WHICH],[
440
- # 1 is the variable name to do "which" on
441
- # 2 is the variable name to assign the return value to
442
-
443
443
OPAL_VAR_SCOPE_PUSH([opal_prog opal_file opal_dir opal_sentinel])
444
444
445
445
opal_prog= $1
@@ -499,7 +499,6 @@ dnl #######################################################################
499
499
# Declare some variables; use OPAL_VAR_SCOPE_POP to ensure that they
500
500
# are cleaned up / undefined.
501
501
AC_DEFUN([OPAL_VAR_SCOPE_PUSH],[
502
-
503
502
# Is the private index set? If not, set it.
504
503
if test " x$opal_scope_index " = " x" ; then
505
504
opal_scope_index=1
0 commit comments