[Mesa-dev] [PATCH mesa] meson: fix header check message

Eric Engestrom eric.engestrom at imgtec.com
Fri Mar 23 17:51:48 UTC 2018


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>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 28c403d2e1f939e56ccc..acc6688921e5ad06f651 100644
--- a/meson.build
+++ b/meson.build
@@ -902,7 +902,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
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list