diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-01-26 21:32:28 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2010-01-26 21:32:28 +0000 |
commit | 2122aa973ed2c829caee5b010a60ad01922a3650 (patch) | |
tree | 9dd473580b0d166a7a6af012252ef9110ccb5b57 /libgomp | |
parent | 3bf714a72b40ba3cf36f487baff1bc55e600c7ef (diff) | |
download | gcc-2122aa973ed2c829caee5b010a60ad01922a3650.tar.gz |
configure.ac: Test for executability of _the first word_ of GFORTRAN.
2010-01-26 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Test for executability of _the first word_ of GFORTRAN.
* configure: Regenerate.
From-SVN: r156264
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rwxr-xr-x | libgomp/configure | 3 | ||||
-rw-r--r-- | libgomp/configure.ac | 3 |
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 |