diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-25 13:16:56 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-25 14:20:43 +0000 |
commit | 8f11f2bdcdc7d84b11134c9e7d15df888f2b6f3c (patch) | |
tree | c1d45114e878fd14da556847a96b9e3e7a91eca3 /configure.ac | |
parent | aa40f990142eb165ee7f60f08e9616bc5bebdebe (diff) | |
download | xorg-driver-xf86-video-intel-8f11f2bdcdc7d84b11134c9e7d15df888f2b6f3c.tar.gz |
Use AC_FUNC_ALLOC
The preferred all-inclusive method for finding alloca().
Reported-by: Richard Palo <richard@netbsd.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89762
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9aadd028..6d5fe447 100644 --- a/configure.ac +++ b/configure.ac @@ -416,7 +416,8 @@ AC_ARG_ENABLE(sna, [SNA="$enableval"], [SNA=auto]) -AC_CHECK_HEADERS([dev/wscons/wsconsio.h alloca.h]) +AC_CHECK_HEADERS([dev/wscons/wsconsio.h]) +AC_FUNC_ALLOCA AC_HEADER_MAJOR if test "x$SNA" != "xno"; then |