From 647ee0e489b8aa986af6be640879f3d4aed293b0 Mon Sep 17 00:00:00 2001 From: bonzini Date: Tue, 26 Jan 2010 07:57:21 +0000 Subject: [PATCH] 2010-01-20 Paolo Bonzini * configure.ac: Test for executability of GFORTRAN. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156232 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgomp/ChangeLog | 5 +++++ libgomp/configure | 6 +++++- libgomp/configure.ac | 6 +++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 4bd7efa..a20b497 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2010-01-20 Paolo Bonzini + + * configure.ac: Test for executability of GFORTRAN. + * configure: Regenerate. + 2010-01-05 Rainer Orth * configure: Regenerate. diff --git a/libgomp/configure b/libgomp/configure index 02e2861..2362500 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -11459,7 +11459,11 @@ case `echo $GFORTRAN` in -* | no* ) FC=no ;; *) - FC="$GFORTRAN" ;; + if test -x "$GFORTRAN"; then + FC="$GFORTRAN" + else + FC=no + fi ;; esac ac_ext=${ac_fc_srcext-f} ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' diff --git a/libgomp/configure.ac b/libgomp/configure.ac index 792c9f5..96c958a 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -146,7 +146,11 @@ case `echo $GFORTRAN` in -* | no* ) FC=no ;; *) - FC="$GFORTRAN" ;; + if test -x "$GFORTRAN"; then + FC="$GFORTRAN" + else + FC=no + fi ;; esac AC_PROG_FC(gfortran) FCFLAGS="$FCFLAGS -Wall" -- 2.7.4