aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-03-16 12:07:08 -0500
committerEric Engestrom2018-03-20 09:31:07 -0500
commite8d3d885b1362caba4f1e1dfa42d45bac7163124 (patch)
tree8e85173b3168eaed28ee9031b4577db407751a9b /configure.ac
parent1a44bbae734fa6aa227d2ac621ff7884af1ae8ef (diff)
downloadexternal-libdrm-e8d3d885b1362caba4f1e1dfa42d45bac7163124.tar.gz
external-libdrm-e8d3d885b1362caba4f1e1dfa42d45bac7163124.tar.xz
external-libdrm-e8d3d885b1362caba4f1e1dfa42d45bac7163124.zip
meson,configure: always define HAVE_VISIBILITY
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 762ca9f9..607d8597 100644
--- a/configure.ac
+++ b/configure.ac
@@ -535,6 +535,8 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([
535 535
536if test "x$HAVE_ATTRIBUTE_VISIBILITY" = xyes; then 536if test "x$HAVE_ATTRIBUTE_VISIBILITY" = xyes; then
537 AC_DEFINE(HAVE_VISIBILITY, 1, [Compiler supports __attribute__(("hidden"))]) 537 AC_DEFINE(HAVE_VISIBILITY, 1, [Compiler supports __attribute__(("hidden"))])
538else
539 AC_DEFINE(HAVE_VISIBILITY, 0)
538fi 540fi
539 541
540AC_SUBST(WARN_CFLAGS) 542AC_SUBST(WARN_CFLAGS)