From: Vincent Bernat Date: Tue, 29 Sep 2009 16:56:09 +0000 (+0200) Subject: Save cache at various points of configure script. X-Git-Tag: 0.5.0~37^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e4b9031d9e3d8772e9dbd217ef91b3a98902ab0;p=thirdparty%2Flldpd.git Save cache at various points of configure script. --- diff --git a/configure.ac b/configure.ac index a0e3c1d6..b373769b 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,8 @@ AC_PROG_CXX AC_PROG_RANLIB AM_PROG_CC_C_O +AC_CACHE_SAVE + # Checks for header files. AC_HEADER_RESOLV AC_CHECK_HEADERS([ \ @@ -70,6 +72,7 @@ AC_CHECK_HEADERS([ \ @%:@include ]) +AC_CACHE_SAVE # Check for sys/queue.h completeness, missing bits will be in compat.h AC_CHECK_DECLS([ \ @@ -109,6 +112,8 @@ GET_VLAN_REALDEV_NAME_CMD, \ GET_VLAN_VID_CMD \ ],[],[],[[@%:@include ]]) +AC_CACHE_SAVE + # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_UID_T AC_C_INLINE @@ -146,6 +151,8 @@ AC_CHECK_FUNCS([ \ AC_REPLACE_FUNCS([strlcpy]) AC_REPLACE_FUNCS([getifaddrs]) +AC_CACHE_SAVE + ## Unit tests wich check PKG_CHECK_MODULES([CHECK], [check >= 0.9.4], [have_check=yes], [have_check=no])