Mesa (master): meson: fix header check message

Eric Engeström eric_engestrom at kemper.freedesktop.org
Mon Mar 26 09:01:53 UTC 2018


Module: Mesa
Branch: master
Commit: 1e36fe5dc490ed64736591acbcd32876ea1a69dd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e36fe5dc490ed64736591acbcd32876ea1a69dd

Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Fri Mar 23 17:18:56 2018 +0000

meson: fix header check message

before: Checking if "endian.h works" compiles: YES
after:  Checking if "endian.h" compiles: YES

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.co.uk>

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 041d2bfc70..f210eeb253 100644
--- a/meson.build
+++ b/meson.build
@@ -917,7 +917,7 @@ elif cc.has_header_symbol('sys/mkdev.h', 'major')
 endif
 
 foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h', 'endian.h']
-  if cc.compiles('#include <@0@>'.format(h), name : '@0@ works'.format(h))
+  if cc.compiles('#include <@0@>'.format(h), name : '@0@'.format(h))
     pre_args += '-DHAVE_ at 0@'.format(h.to_upper().underscorify())
   endif
 endforeach




More information about the mesa-commit mailing list