diff options
author | David Schleef <ds@hutch-2.local> | 2009-03-01 20:46:50 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@gmail.com> | 2009-03-20 18:34:58 +0000 |
commit | d89ce592e51976c80d78e458995374e019f3976a (patch) | |
tree | e0be2e623634f1a2815a47469151dbf4db6d50fb | |
parent | 842fa033d072a24e6b83652f7d9215bdc4503806 (diff) |
Add Objective C support to shave
-rw-r--r-- | shave/shave.in | 3 | ||||
-rw-r--r-- | shave/shave.m4 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/shave/shave.in b/shave/shave.in index 174641e..5c16f27 100644 --- a/shave/shave.in +++ b/shave/shave.in @@ -56,6 +56,9 @@ link,*) *,f77) Q=" F77 " ;; +*,objc) + Q=" OBJC " + ;; *,*) # should not happen Q=" CC " diff --git a/shave/shave.m4 b/shave/shave.m4 index 0c2c9f5..01cb5c7 100644 --- a/shave/shave.m4 +++ b/shave/shave.m4 @@ -53,14 +53,17 @@ AC_DEFUN([SHAVE_INIT], SHAVE_SAVED_CXX=$CXX SHAVE_SAVED_FC=$FC SHAVE_SAVED_F77=$F77 + SHAVE_SAVED_OBJC=$OBJC 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}" + OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}" AC_SUBST(CC) AC_SUBST(CXX) AC_SUBST(FC) AC_SUBST(F77) + AC_SUBST(OBJC) V=@ else |