xf86-video-intel: configure.ac
Chris Wilson
ickle at kemper.freedesktop.org
Sat Aug 23 23:07:08 PDT 2014
configure.ac | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit d209b03915e4d12ce445d72ac09bb4fe664ba664
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Aug 24 07:05:35 2014 +0100
configure: Add guards for os.h redefines
os.h redefines a few common libc functions, so check if the host
provides them first and inform os.h if that is the case.
Suggested-by: Zdenek Kabelac <zkabelac at redhat.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/configure.ac b/configure.ac
index 9146d07..4f1cff7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,9 @@ AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE
+# Check for common libc routines redefined by os.h
+AC_CHECK_FUNCS([strlcpy strlcat strndup], [], [])
+
# Platform specific settings
case $host_os in
*linux*)
More information about the xorg-commit
mailing list