Commit 507ca25e authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

build: Squash autoconf warning on ac_cv_have_viz

parent 304ebd24
...@@ -726,11 +726,14 @@ AC_CACHE_CHECK([whether we have support for visibility attributes], ...@@ -726,11 +726,14 @@ AC_CACHE_CHECK([whether we have support for visibility attributes],
[AC_LANG_PROGRAM([[ [AC_LANG_PROGRAM([[
int __attribute__((visibility ("hidden"))) foo; int __attribute__((visibility ("hidden"))) foo;
]],[])], ]],[])],
[AC_DEFINE([HAVE_HIDDEN], [1], [ac_cv_have_viz=yes],
[Define to 1 if visibility attribute hidden is available.]) [ac_cv_have_viz=no])
])
]) ])
AS_IF([test $ac_cv_have_viz = yes], [
AC_DEFINE([HAVE_HIDDEN], [1],
[Define to 1 if visibility attribute hidden is available.])])
# --enable-stack-protector # --enable-stack-protector
AC_ARG_ENABLE(stack-protector, AC_ARG_ENABLE(stack-protector,
AS_HELP_STRING([--enable-stack-protector],[enable stack protector (default is YES)]), AS_HELP_STRING([--enable-stack-protector],[enable stack protector (default is YES)]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment