@@ -202,9 +202,9 @@ dnl #######################################################################
202202dnl # ######################################################################
203203dnl # ######################################################################
204204
205- AC_DEFUN([OPAL_LOG_MSG],[
206205# 1 is the message
207206# 2 is whether to put a prefix or not
207+ AC_DEFUN([OPAL_LOG_MSG],[
208208if test -n " $2 " ; then
209209 echo " configure:__oline__: $1 " >&5
210210else
@@ -215,8 +215,8 @@ dnl #######################################################################
215215dnl # ######################################################################
216216dnl # ######################################################################
217217
218- AC_DEFUN([OPAL_LOG_FILE],[
219218# 1 is the filename
219+ AC_DEFUN([OPAL_LOG_FILE],[
220220if test -n " $1 " && test -f " $1 " ; then
221221 cat $1 >&5
222222fi])dnl
@@ -225,10 +225,10 @@ dnl #######################################################################
225225dnl # ######################################################################
226226dnl # ######################################################################
227227
228- AC_DEFUN([OPAL_LOG_COMMAND],[
229228# 1 is the command
230229# 2 is actions to do if success
231230# 3 is actions to do if fail
231+ AC_DEFUN([OPAL_LOG_COMMAND],[
232232echo " configure:__oline__: $1 " > & 5
233233$1 1>&5 2>&1
234234opal_status= $?
@@ -245,8 +245,8 @@ dnl #######################################################################
245245dnl # ######################################################################
246246dnl # ######################################################################
247247
248- AC_DEFUN([OPAL_UNIQ],[
249248# 1 is the variable name to be uniq-ized
249+ AC_DEFUN([OPAL_UNIQ],[
250250opal_name= $1
251251
252252# Go through each item in the variable and only keep the unique ones
@@ -436,10 +436,10 @@ dnl #######################################################################
436436# ~/.whatever file (and we do not want the error messages to be part
437437# of the assignment in foo=`which <prog>`). This macro ensures that we
438438# 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
439442AC_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-
443443 OPAL_VAR_SCOPE_PUSH([opal_prog opal_file opal_dir opal_sentinel])
444444
445445 opal_prog= $1
@@ -499,7 +499,6 @@ dnl #######################################################################
499499# Declare some variables; use OPAL_VAR_SCOPE_POP to ensure that they
500500# are cleaned up / undefined.
501501AC_DEFUN([OPAL_VAR_SCOPE_PUSH],[
502-
503502 # Is the private index set? If not, set it.
504503 if test " x$opal_scope_index " = " x" ; then
505504 opal_scope_index=1
0 commit comments