Commit ee908122 authored by Ting-Wei Lan's avatar Ting-Wei Lan

configure: Don't declare functions in AC_TRY_COMPILE

https://bugzilla.gnome.org/show_bug.cgi?id=792718
parent 6413de32
......@@ -134,7 +134,7 @@ case "$host" in
SAVED_CFLAGS="${CFLAGS}"
CFLAGS="-fvisibility=hidden"
AC_MSG_CHECKING([for -fvisibility=hidden compiler flag])
AC_TRY_COMPILE([], [int main (void) { return 0; }],
AC_TRY_COMPILE([], [return 0],
AC_MSG_RESULT(yes)
enable_fvisibility_hidden=yes,
AC_MSG_RESULT(no)
......
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