meson: fix header check message
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 23 Mar 2018 17:18:56 +0000 (17:18 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Mon, 26 Mar 2018 08:59:32 +0000 (09:59 +0100)
before: Checking if "endian.h works" compiles: YES
after:  Checking if "endian.h" compiles: YES

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

index 041d2bf..f210eeb 100644 (file)
@@ -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_@0@'.format(h.to_upper().underscorify())
   endif
 endforeach