]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
configure.ac: explicitely check stdint.h
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>
Thu, 28 Jul 2016 22:19:37 +0000 (01:19 +0300)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 29 Jul 2016 18:12:59 +0000 (19:12 +0100)
Otherwise HAVE_STDINT_H will not be defined or the var will not be
picked up from cache so builds could fail with errors like:
| ../../dbus-1.10.8/dbus/dbus-internals.h:239:8: error: ‘uintptr_t’ undeclared (first use in this function)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
[smcv: fix Autoconf underquoting]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
configure.ac

index cf5c5b9a22934e8ebe1d866ad6455986cfc1283c..a228d6348a4298e966c2faf7830d5a4c05440718 100644 (file)
@@ -699,6 +699,8 @@ AC_CHECK_HEADERS(byteswap.h)
 
 AC_CHECK_HEADERS(unistd.h)
 
+AC_CHECK_HEADERS([stdint.h])
+
 AC_CHECK_HEADERS(ws2tcpip.h)
 
 AC_CHECK_HEADERS(alloca.h)