1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-06-25 02:19:37 +02:00

* applied patch to provide configure command line option to specify

path to ccache. Thanks to user "a. k. huettel " on SourceForge.
This commit is contained in:
Vadim Kurland
2011-06-03 20:39:38 -07:00
parent f330822c8c
commit 6d6038370c
2 changed files with 22 additions and 4 deletions

View File

@@ -638,12 +638,27 @@ AC_SUBST(DATADIR)
AC_SUBST(MANDIR)
AC_SUBST(ICONSDIR)
AC_PATH_PROG(CCACHE, ccache, , )
AC_SUBST(CCACHE)
AC_ARG_WITH(ccache,[ --with-ccache=yes Use ccache to speed up repeated compilation])
if test -n "$CCACHE"
then
if test -n "$with_ccache"; then
if test "x$with_ccache" != "xno"; then
AC_PATH_PROG(CCACHE, ccache, , )
AC_SUBST(CCACHE)
if test -n "$CCACHE"
then
ccache -s
fi
else
CCACHE=""
AC_SUBST(CCACHE)
fi
else
AC_PATH_PROG(CCACHE, ccache, , )
AC_SUBST(CCACHE)
if test -n "$CCACHE"
then
ccache -s
fi
fi
AC_ARG_WITH(distcc,[ --with-distcc=N Use distcc with N parallel make count])

View File

@@ -1,5 +1,8 @@
2011-06-03 vadim <vadim@netcitadel.com>
* applied patch to provide configure command line option to specify
path to ccache. Thanks to user "a. k. huettel " on SourceForge.
* NATCompiler_pf.cpp (_expand_addr): see #2455 NAT Compiler for PF
should use "(interface)" syntax to the right of "->" in NAT rules.
This now works for all interfaces, including those that have ip