From: Paolo Bonzini Date: Tue, 26 Jan 2010 21:32:28 +0000 (+0000) Subject: configure.ac: Test for executability of _the first word_ of GFORTRAN. X-Git-Tag: releases/gcc-4.5.0~1040 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2122aa973ed2c829caee5b010a60ad01922a3650;p=thirdparty%2Fgcc.git configure.ac: Test for executability of _the first word_ of GFORTRAN. 2010-01-26 Paolo Bonzini * configure.ac: Test for executability of _the first word_ of GFORTRAN. * configure: Regenerate. From-SVN: r156264 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 4b20087ff71f..eab2079b699f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2010-01-26 Paolo Bonzini + + * configure.ac: Test for executability of _the first word_ of GFORTRAN. + * configure: Regenerate. + 2010-01-26 Jakub Jelinek PR fortran/42866 diff --git a/libgomp/configure b/libgomp/configure index 23625003a233..d2018b8c1948 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 96c958af6e75..fefffe9652ea 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