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

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.