From 40423289483d256f5380ea0bb5fc6971ec3c96c7 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 1 May 2013 18:35:44 -0700 Subject: build: Use AC_CACHE_SAVE The AC_CACHE_SAVE macro saves the state of the configure script, so that it can be restore from a known state without having to re-run all the checks. This should speed up the build. [endlessm/eos-sdk#52] --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6edee89..8dbae59 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,8 @@ LT_INIT([disable-static]) # Keep Autotools macros local to this source tree AC_CONFIG_MACRO_DIR([m4]) +AC_CACHE_SAVE + # Variables to define # ------------------- # Version numbers and macros @@ -82,6 +84,8 @@ EOS_REQUIRED_MODULES_PRIVATE="$GLIB_REQUIREMENT $GOBJECT_REQUIREMENT $GIO_REQUIR AC_SUBST(EOS_REQUIRED_MODULES) AC_SUBST(EOS_REQUIRED_MODULES_PRIVATE) +AC_CACHE_SAVE + # Gettext package name GETTEXT_PACKAGE=$PACKAGE AC_SUBST(GETTEXT_PACKAGE) @@ -151,6 +155,8 @@ PKG_CHECK_MODULES([EOS_SDK], [ $EOS_REQUIRED_MODULES $EOS_REQUIRED_MODULES_PRIVATE]) +AC_CACHE_SAVE + # Output # ------ # List files here that the configure script should output -- cgit v1.2.3