From c8ab67be2778d88224516de9b626cbdd91c4b3c6 Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Wed, 5 Jun 2013 16:40:01 +0100 Subject: [PATCH] Speed up cached configure (./configure -C) --- .gitignore | 1 + configure.ac | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8a8cabba..8734c174 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ aclocal.m4 Makefile.in version.h .remake-version-h +config.cache diff --git a/configure.ac b/configure.ac index 1ee3ad7d..76a49a9e 100644 --- a/configure.ac +++ b/configure.ac @@ -39,10 +39,13 @@ AC_ARG_ENABLE([docs], AS_IF([test "x$enable_docs" != "xno"],[ AC_CHECK_PROGS(bundle_cmd, bundle) - AS_IF([test "x$bundle_cmd" = "x" || \ - ! ( cd ${srcdir}/docs; "$bundle_cmd" check 2>/dev/null )],[ - AC_MSG_WARN([no bundler]) - cat </dev/null`"],[ + AC_MSG_WARN([$bmsg]) + cat <