libgomp: Fix up FLOCK fallback handling [PR113192]
commit2fb3ee3ee82874e160309344bc3e52afeed8f26a
authorJakub Jelinek <jakub@redhat.com>
Wed, 10 Jan 2024 12:29:47 +0000 (10 13:29 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 10 Jan 2024 12:32:02 +0000 (10 13:32 +0100)
tree67fc90577dc005e967c61461f1f1f502dfbe0d5b
parent5d8b60effc7268448a94fbbbad923ab6871252cd
libgomp: Fix up FLOCK fallback handling [PR113192]

My earlier change broke Solaris testing, because @FLOCK@ isn't substituted
just into libgomp/Makefile where it worked, but also the
testsuite/libgomp-site-extra.exp file where Make variables aren't present
and can't be substituted.

The following patch instead computes the absolute srcdir path and uses it
for FLOCK.

2024-01-10  Jakub Jelinek  <jakub@redhat.com>

PR libgomp/113192
* configure.ac (FLOCK): Use $libgomp_abs_srcdir/testsuite/flock
instead of \$(abs_top_srcdir)/testsuite/flock.
* configure: Regenerated.
libgomp/configure
libgomp/configure.ac