diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-26 07:57:21 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-26 07:57:21 +0000 |
commit | 647ee0e489b8aa986af6be640879f3d4aed293b0 (patch) | |
tree | 9bc678ee45f1e2044e6057963a7c3965594adbe6 /libgomp/configure.ac | |
parent | db46fcd45d5f2619eb2e4ed66817320761881c90 (diff) | |
download | ppe42-gcc-647ee0e489b8aa986af6be640879f3d4aed293b0.tar.gz ppe42-gcc-647ee0e489b8aa986af6be640879f3d4aed293b0.zip |
2010-01-20 Paolo Bonzini <bonzini@gnu.org>
* 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
Diffstat (limited to 'libgomp/configure.ac')
-rw-r--r-- | libgomp/configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgomp/configure.ac b/libgomp/configure.ac index 792c9f52068..96c958af6e7 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" |