meson: Use the check_header function
authorDylan Baker <dylan.c.baker@intel.com>
Fri, 24 Apr 2020 19:28:39 +0000 (12:28 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Jun 2020 18:59:18 +0000 (18:59 +0000)
commita16e8bfb948d1aa6e84905d0ad47960bfb9fcfed
tree1864a5be8c8fc1011b71b6f12a852311072aa09e
parentc1a290bdd57536d6afcff6a02f1512fba7328729
meson: Use the check_header function

Instead of open coding it. This was new in 0.47

Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
meson.build