Skip to content

Commit 1e68f90

Browse files
authored
Merge pull request #10768 from bwbarrett/cleanup/m4-comments
build: Clean up comments in m4 functions
2 parents deb71ff + c1fe51a commit 1e68f90

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

config/opal_functions.m4

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ dnl #######################################################################
202202
dnl #######################################################################
203203
dnl #######################################################################
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],[
208208
if test -n "$2"; then
209209
echo "configure:__oline__: $1" >&5
210210
else
@@ -215,8 +215,8 @@ dnl #######################################################################
215215
dnl #######################################################################
216216
dnl #######################################################################
217217

218-
AC_DEFUN([OPAL_LOG_FILE],[
219218
# 1 is the filename
219+
AC_DEFUN([OPAL_LOG_FILE],[
220220
if test -n "$1" && test -f "$1"; then
221221
cat $1 >&5
222222
fi])dnl
@@ -225,10 +225,10 @@ dnl #######################################################################
225225
dnl #######################################################################
226226
dnl #######################################################################
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],[
232232
echo "configure:__oline__: $1" >&5
233233
$1 1>&5 2>&1
234234
opal_status=$?
@@ -245,8 +245,8 @@ dnl #######################################################################
245245
dnl #######################################################################
246246
dnl #######################################################################
247247

248-
AC_DEFUN([OPAL_UNIQ],[
249248
# 1 is the variable name to be uniq-ized
249+
AC_DEFUN([OPAL_UNIQ],[
250250
opal_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
439442
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-
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.
501501
AC_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

Comments
 (0)