diff options
-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 |