qt5base-lts/config.tests
Oswald Buddenhagen 98c1d516b7 alloca: detect whether alloca.h exists
We can't depend on QT_HAS_INCLUDE for such an important functionality in
QtQml, so detect at configure time.

alloca() is not a POSIX function (it apparently first appeared in
Version 32V AT&T UNIX), so the actual header that defines it varies from
system to system. Clearly, if alloca.h exists, that's the one, so we try
it first. On most other systems that don't define it, it's in stdlib.h.
The only exception is Windows, where it's actually defined in malloc.h.

Task-number: QTBUG-59700
Started-by: Thiago Macieira <thiago.macieira@intel.com>
Change-Id: Icd0e0d4b27cb4e5eb892fffd14b4b2b389a4684e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-05-03 12:19:57 +00:00
..
arch Make build ABI available as qmake variable 2017-03-28 06:51:42 +00:00
common alloca: detect whether alloca.h exists 2017-05-03 12:19:57 +00:00
mac/corewlan rewrite library handling in configure 2016-08-18 17:09:52 +00:00
qpa Add eglfs-viv support for INTEGRITY 2017-01-18 13:04:38 +00:00
unix PCRE2: fix the configure test 2017-03-28 07:09:01 +00:00
win determine compiler version at build time, not in configure 2016-12-23 13:44:50 +00:00
x11 remove unused Xlib's XRender dependency 2017-02-24 19:42:21 +00:00
.gitignore
.qmake.conf make also configure tests not see %LIB% and %INCLUDE% under mingw 2016-10-17 13:44:43 +00:00