Commit cc4d50ff943f7c5e993e838dc2e755a0c2cc3b21
1 parent
ed9849f5
Exists in
master
and in
3 other branches
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,7 +277,7 @@ rm -f conftest.$ac_objext conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl | ||
| 277 | ])# GLIB_CHECK_COMPILE_WARNINGS | 277 | ])# GLIB_CHECK_COMPILE_WARNINGS |
| 278 | 278 | ||
| 279 | AC_MSG_CHECKING(for GNUC visibility attribute) | 279 | AC_MSG_CHECKING(for GNUC visibility attribute) |
| 280 | -GLIB_CHECK_COMPILE_WARNINGS([ | 280 | +GLIB_CHECK_COMPILE_WARNINGS([AC_LANG_SOURCE([[ |
| 281 | void | 281 | void |
| 282 | __attribute__ ((visibility ("hidden"))) | 282 | __attribute__ ((visibility ("hidden"))) |
| 283 | f_hidden (void) | 283 | f_hidden (void) |
| @@ -306,7 +306,7 @@ int main (int argc, char **argv) | @@ -306,7 +306,7 @@ int main (int argc, char **argv) | ||
| 306 | f_default(); | 306 | f_default(); |
| 307 | return 0; | 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 | AC_MSG_RESULT($g_have_gnuc_visibility) | 310 | AC_MSG_RESULT($g_have_gnuc_visibility) |
| 311 | if test x$g_have_gnuc_visibility = xyes; then | 311 | if test x$g_have_gnuc_visibility = xyes; then |
| 312 | AC_DEFINE(HAVE_GNUC_VISIBILITY, 1, [supports GCC visibility attributes]) | 312 | AC_DEFINE(HAVE_GNUC_VISIBILITY, 1, [supports GCC visibility attributes]) |