diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-01-26 07:57:21 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2010-01-26 07:57:21 +0000 |
commit | d0709b6aeec6b00e71011502fa311751fc138147 (patch) | |
tree | 9bc678ee45f1e2044e6057963a7c3965594adbe6 /libgomp | |
parent | 69b18163948c16e19bcfa1737de3eb47287c2b89 (diff) | |
download | gcc-d0709b6aeec6b00e71011502fa311751fc138147.zip gcc-d0709b6aeec6b00e71011502fa311751fc138147.tar.gz gcc-d0709b6aeec6b00e71011502fa311751fc138147.tar.bz2 |
configure.ac: Test for executability of GFORTRAN.
2010-01-20 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Test for executability of GFORTRAN.
* configure: Regenerate.
From-SVN: r156232
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rwxr-xr-x | libgomp/configure | 6 | ||||
-rw-r--r-- | 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 <bonzini@gnu.org> + + * configure.ac: Test for executability of GFORTRAN. + * configure: Regenerate. + 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * 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" |