blob: 85acb7b1ca64cbdeb216c38da6c93949876020d8 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001From 1bfde222926be624a30a6e4b2cdc2c5064a36298 Mon Sep 17 00:00:00 2001
2From: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
3Date: Fri, 29 Jul 2016 01:19:37 +0300
4Subject: [PATCH] configure.ac: explicitely check stdint.h
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Otherwise HAVE_STDINT_H will not be defined or the var will not be
10picked up from cache so builds could fail with errors like:
11| ../../dbus-1.10.8/dbus/dbus-internals.h:239:8: error: uintptr_t undeclared (first use in this function)
12
13Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
14[smcv: fix Autoconf underquoting]
15Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
16
17Upstream-Status: Backport [from dbus-1.10]
18
19---
20 configure.ac | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/configure.ac b/configure.ac
24index cf5c5b9..a228d63 100644
25--- a/configure.ac
26+++ b/configure.ac
27@@ -699,6 +699,8 @@ AC_CHECK_HEADERS(byteswap.h)
28
29 AC_CHECK_HEADERS(unistd.h)
30
31+AC_CHECK_HEADERS([stdint.h])
32+
33 AC_CHECK_HEADERS(ws2tcpip.h)
34
35 AC_CHECK_HEADERS(alloca.h)
36--
372.9.2
38