From a5e97ab02018f1ded23f83dae3cac4dae311d5d2 Mon Sep 17 00:00:00 2001 From: bonzini Date: Tue, 26 Jan 2010 21:32:28 +0000 Subject: 2010-01-26 Paolo Bonzini * configure.ac: Test for executability of _the first word_ of GFORTRAN. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156264 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgomp/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libgomp/configure.ac') 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 -- cgit v1.2.1