diff options
author | Peter Williams <peter@newton.cx> | 2009-02-24 22:43:23 -0800 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@gmail.com> | 2009-02-25 11:20:13 +0000 |
commit | 842fa033d072a24e6b83652f7d9215bdc4503806 (patch) | |
tree | 6eb4d012f2546ca9fe7bfeec638ae6ed1031a5b6 | |
parent | da11a72dbb683831cf5a11549263b1495b82f647 (diff) |
Fortran support
First attempt at Fortran support.
-rw-r--r-- | shave/shave.in | 6 | ||||
-rw-r--r-- | shave/shave.m4 | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/shave/shave.in b/shave/shave.in index a441120..174641e 100644 --- a/shave/shave.in +++ b/shave/shave.in @@ -50,6 +50,12 @@ link,*) *,cc) Q=" CC " ;; +*,fc) + Q=" FC " + ;; +*,f77) + Q=" F77 " + ;; *,*) # should not happen Q=" CC " diff --git a/shave/shave.m4 b/shave/shave.m4 index f16b1a6..0c2c9f5 100644 --- a/shave/shave.m4 +++ b/shave/shave.m4 @@ -51,10 +51,16 @@ AC_DEFUN([SHAVE_INIT], dnl substitute cc/cxx SHAVE_SAVED_CC=$CC SHAVE_SAVED_CXX=$CXX + SHAVE_SAVED_FC=$FC + SHAVE_SAVED_F77=$F77 CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}" CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}" + FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}" + F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}" AC_SUBST(CC) AC_SUBST(CXX) + AC_SUBST(FC) + AC_SUBST(F77) V=@ else |