Thomas,
This patches fixes this error while building the gomp-4_0-branch:
...
ref-gomp-4_0-branch-14-11-13/src/libgomp/plugin/../configure.tgt: line 30: test:
=: unary operator expected
...
The error occurs in this piece of code:
...
# Check for futex enabled all at once.
if test $enable_linux_futex = yes; then
...
The patch makes sure we can handle the case that enable_linux_futex is empty.
Committed as obvious.
Thanks,
- Tom
2014-11-14 Tom de Vries <t...@codesourcery.com>
* configure.tgt: Handle case that $enable_linux_futex is empty.
---
libgomp/ChangeLog.gomp | 4 ++++
libgomp/configure.tgt | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/libgomp/ChangeLog.gomp b/libgomp/ChangeLog.gomp
index 492393b..abceb62 100644
--- a/libgomp/ChangeLog.gomp
+++ b/libgomp/ChangeLog.gomp
@@ -1,3 +1,7 @@
+2014-11-14 Tom de Vries <t...@codesourcery.com>
+
+ * configure.tgt: Handle case that $enable_linux_futex is empty.
+
2014-11-14 Thomas Schwinge <tho...@codesourcery.com>
* libgomp.texi (Reporting Bugs): Mention the "openacc" Bugzilla
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index 8b18417..d3511d7 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -27,7 +27,7 @@ fi
config_path="posix"
# Check for futex enabled all at once.
-if test $enable_linux_futex = yes; then
+if test x$enable_linux_futex = xyes; then
case "${target}" in
aarch64*-*-linux*)
--
1.9.1