Skip to content

Commit 3ea0658

Browse files
authored
Merge pull request #8185 from jsquyres/pr/fix-getdate-woes
config/Makefile.am: ensure getdate.sh is in dist tarball
2 parents 62a76c9 + a784a84 commit 3ea0658

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

config/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ EXTRA_DIST = \
2929
ltmain_pgi_tp.diff \
3030
opal_mca_priority_sort.pl \
3131
find_common_syms \
32+
getdate.sh \
3233
make_manpage.pl \
3334
md2nroff.pl
3435

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)