From 325768ed4caca4c28f95e40c42dfdd13e86c58ba Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 11 Nov 2010 11:18:44 +0300 Subject: [PATCH] autoconf: Add --with-ccache option Signed-off-by: Cyrill Gorcunov --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.in b/configure.in index c23bac1..8c6a429 100644 --- a/configure.in +++ b/configure.in @@ -152,5 +152,14 @@ if test $ac_cv_prog_make_vpathok = no; then done fi +dnl +dnl support cchace +dnl +AC_ARG_WITH([ccache], + [AC_HELP_STRING([--with-ccache], + [Compile with ccache])], + [CC="ccache $CC"], + []) + AC_OUTPUT_COMMANDS([mkdir -p output]) AC_OUTPUT(Makefile rdoff/Makefile doc/Makefile) -- 2.7.4