aboutsummaryrefslogtreecommitdiff
path: root/libgomp/configure
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-01-09 09:54:06 +0100
committerJakub Jelinek <jakub@redhat.com>2024-01-09 09:54:06 +0100
commitf2e967e0257bc8188840df236595e7218b6bf748 (patch)
tree81f99ebe930b5277379c2a33ce22081a96ec59f9 /libgomp/configure
parent6a67fdcb3f0cc8be47b49ddd246d0c50c3770800 (diff)
downloadgcc-f2e967e0257bc8188840df236595e7218b6bf748.zip
gcc-f2e967e0257bc8188840df236595e7218b6bf748.tar.gz
gcc-f2e967e0257bc8188840df236595e7218b6bf748.tar.bz2
libgomp: Use absolute pathname to testsuite/flock [PR113192]
When flock program doesn't exist, libgomp configure attempts to offer a fallback version using a perl script, but we weren't using absolute filename to that, so it apparently failed to work correctly. The following patch arranges for it to get the absolute filename. Tested by John David in the PR. 2024-01-09 Jakub Jelinek <jakub@redhat.com> PR libgomp/113192 * configure.ac (FLOCK): Use \$(abs_top_srcdir)/testsuite/flock rather than $srcdir/testsuite/flock. * configure: Regenerated.
Diffstat (limited to 'libgomp/configure')
-rwxr-xr-xlibgomp/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/configure b/libgomp/configure
index b3646c9..9a9d30c 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -16655,7 +16655,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_FLOCK="$srcdir/testsuite/flock"
+ ac_cv_prog_FLOCK="\$(abs_top_srcdir)/testsuite/flock"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi