summaryrefslogtreecommitdiffstats
path: root/libgomp
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rwxr-xr-xlibgomp/configure3
-rw-r--r--libgomp/configure.ac3
3 files changed, 9 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 4b20087ff71..eab2079b699 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-26 Paolo Bonzini <bonzini@gnu.org>
+
+ * configure.ac: Test for executability of _the first word_ of GFORTRAN.
+ * configure: Regenerate.
+
2010-01-26 Jakub Jelinek <jakub@redhat.com>
PR fortran/42866
diff --git a/libgomp/configure b/libgomp/configure
index 23625003a23..d2018b8c194 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -11459,7 +11459,8 @@ case `echo $GFORTRAN` in
-* | no* )
FC=no ;;
*)
- if test -x "$GFORTRAN"; then
+ set dummy $GFORTRAN; ac_word=$2
+ if test -x "$ac_word"; then
FC="$GFORTRAN"
else
FC=no
diff --git a/libgomp/configure.ac b/libgomp/configure.ac
index 96c958af6e7..fefffe9652e 100644
--- a/libgomp/configure.ac
+++ b/libgomp/configure.ac
@@ -146,7 +146,8 @@ case `echo $GFORTRAN` in
-* | no* )
FC=no ;;
*)
- if test -x "$GFORTRAN"; then
+ set dummy $GFORTRAN; ac_word=$2
+ if test -x "$ac_word"; then
FC="$GFORTRAN"
else
FC=no
OpenPOWER on IntegriCloud