Commit cc4d50ff943f7c5e993e838dc2e755a0c2cc3b21

Authored by André Breves
1 parent ed9849f5

Fix warning with autoconf > 2.68

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
configure.ac
... ... @@ -277,7 +277,7 @@ rm -f conftest.$ac_objext conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
277 277 ])# GLIB_CHECK_COMPILE_WARNINGS
278 278  
279 279 AC_MSG_CHECKING(for GNUC visibility attribute)
280   -GLIB_CHECK_COMPILE_WARNINGS([
  280 +GLIB_CHECK_COMPILE_WARNINGS([AC_LANG_SOURCE([[
281 281 void
282 282 __attribute__ ((visibility ("hidden")))
283 283 f_hidden (void)
... ... @@ -306,7 +306,7 @@ int main (int argc, char **argv)
306 306 f_default();
307 307 return 0;
308 308 }
309   -],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no)
  309 +]])],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no)
310 310 AC_MSG_RESULT($g_have_gnuc_visibility)
311 311 if test x$g_have_gnuc_visibility = xyes; then
312 312 AC_DEFINE(HAVE_GNUC_VISIBILITY, 1, [supports GCC visibility attributes])
... ...