summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-11-11 11:18:44 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2010-11-11 22:44:02 +0300
commit325768ed4caca4c28f95e40c42dfdd13e86c58ba (patch)
treefce9e066ef5ef12c3e2597c5d97c06bc39439397
parenta5aea577dd8203492dd9e00c183a272c1e8f1492 (diff)
downloadnasm-325768ed4caca4c28f95e40c42dfdd13e86c58ba.tar.gz
nasm-325768ed4caca4c28f95e40c42dfdd13e86c58ba.tar.bz2
nasm-325768ed4caca4c28f95e40c42dfdd13e86c58ba.zip
autoconf: Add --with-ccache option
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
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)