summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-12-12 11:19:21 +0000
committerFrediano Ziglio <fziglio@redhat.com>2016-12-12 11:45:07 +0000
commita0bd1bfbd3ff88c07fcb469b64c150271c2b798a (patch)
tree90ff5f54706557df83b88101fc743e10419e30f9 /configure.ac
parented500d1a4c1e55f119aff307b840825b0483d31f (diff)
build: Optimise headers check
Check multiple headers using a single m4 macro. The resulting script is reduced. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c978b924..a78b4ece 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,9 +49,7 @@ AM_PROG_CC_C_O
AC_C_BIGENDIAN
PKG_PROG_PKG_CONFIG
-AC_CHECK_HEADERS([sys/time.h])
-AC_CHECK_HEADERS([execinfo.h])
-AC_CHECK_HEADERS([linux/sockios.h])
+AC_CHECK_HEADERS([sys/time.h execinfo.h linux/sockios.h])
AC_FUNC_ALLOCA
SPICE_LT_VERSION=m4_format("%d:%d:%d", SPICE_CURRENT, SPICE_REVISION, SPICE_AGE)