autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/3] limit number of cat and sed forks


From: Paolo Bonzini
Subject: [PATCH v2 0/3] limit number of cat and sed forks
Date: Mon, 31 Oct 2016 18:08:05 +0100

These three patches speed up libvirt's configure script by roughly 3%,
by avoiding repeated calls to sed (for AS_TR_SH and AS_TR_CPP, patches 1-2)
and cat (for _AC_DEFINE_UNQUOTED, patch 3).  The AS_TR_SH and AS_TR_CPP
computations are moved to autoconf time.  cat is replaced by printf.

Thanks,

Paolo

Paolo Bonzini (3):
  autoconf: prefer an unrolled loop for trivial AC_CHECK_FUNCS
  autoconf: prefer an unrolled loop for trivial AC_CHECK_HEADERS
  autoconf: refine quadrigraph test in _AC_DEFINE_UNQUOTED

 lib/autoconf/functions.m4 | 25 +++++++++++--------------
 lib/autoconf/general.m4   |  6 ++++--
 lib/autoconf/headers.m4   | 30 +++++++++++++-----------------
 3 files changed, 28 insertions(+), 33 deletions(-)

-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]