summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-10-14 10:10:30 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2010-10-14 10:10:30 +0100
commitb520e6864319b3d7f0d093bacc200391d1cfc63c (patch)
treef859f13de6d12d5e7feaaeb95fdf2c476144332b
parentb3bc748c659fba1e6274e4138d028bf4995ecb65 (diff)
Support shaving windres, the Windows resource compiler
-rw-r--r--shave/shave.in3
-rw-r--r--shave/shave.m43
2 files changed, 6 insertions, 0 deletions
diff --git a/shave/shave.in b/shave/shave.in
index 9bbe826..90e6fbb 100644
--- a/shave/shave.in
+++ b/shave/shave.in
@@ -92,6 +92,9 @@ link,*)
*,mcs)
Q=" MCS "
;;
+*,rc)
+ Q=" RC "
+ ;;
*,*)
# should not happen
Q=" CC "
diff --git a/shave/shave.m4 b/shave/shave.m4
index e468139..b877942 100644
--- a/shave/shave.m4
+++ b/shave/shave.m4
@@ -79,6 +79,7 @@ AC_DEFUN([SHAVE_INIT],
SHAVE_SAVED_F77=$F77
SHAVE_SAVED_OBJC=$OBJC
SHAVE_SAVED_MCS=$MCS
+ SHAVE_SAVED_RC=$RC
CCAS="${SHELL} ${shavedir}/shave ccas ${SHAVE_SAVED_CCAS}"
CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}"
CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}"
@@ -86,6 +87,7 @@ AC_DEFUN([SHAVE_INIT],
F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}"
OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}"
MCS="${SHELL} ${shavedir}/shave mcs ${SHAVE_SAVED_MCS}"
+ RC="${SHELL} ${shavedir}/shave rc ${SHAVE_SAVED_RC}"
AC_SUBST(CCAS)
AC_SUBST(CC)
AC_SUBST(CXX)
@@ -93,6 +95,7 @@ AC_DEFUN([SHAVE_INIT],
AC_SUBST(F77)
AC_SUBST(OBJC)
AC_SUBST(MCS)
+ AC_SUBST(RC)
V=@
else