Skip to content

Commit a6a0d51

Browse files
committed
opal_functions.m4: add comment
No code or logic changes. Add commit about why it's ok to use $srcdir here (vs. $OMPI_TOP_SRCDIR). Signed-off-by: Jeff Squyres <[email protected]>
1 parent 91a5af8 commit a6a0d51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/opal_functions.m4

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ EOF
9696

9797
OPAL_CONFIGURE_USER="${USER:-`whoami`}"
9898
OPAL_CONFIGURE_HOST="${HOSTNAME:-`(hostname || uname -n) 2> /dev/null | sed 1q`}"
99+
# Note: it's ok to use $srcdir here because this macro is called at
100+
# the very beginning of configure.ac:
101+
#
102+
# a) before $OMPI_TOP_SRCDIR is set, and
103+
# b) from the top-level build directory (i.e., so $srcdir actually
104+
# points to the top source directory)
99105
OPAL_CONFIGURE_DATE="`$srcdir/config/getdate.sh`"
100106

101107
OPAL_LIBNL_SANITY_INIT

0 commit comments

Comments
 (0)