From 20e709d8b92e28d162c78b147afe4040e3a48b85 Mon Sep 17 00:00:00 2001 From: Alessandro Di Federico Date: Fri, 25 Jul 2014 04:16:00 -0400 Subject: [PATCH] configure: Remove unintentional nested functions More of the same as 9362a1b2d987125a8aa0723b916d29aaaece329a. https://bugzilla.gnome.org/show_bug.cgi?id=733715 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 6e22fcb..1e9c91c 100644 --- a/configure.ac +++ b/configure.ac @@ -3445,7 +3445,7 @@ AC_ARG_ENABLE(Bsymbolic, AC_MSG_CHECKING([for -Bsymbolic-functions linker flag]) LDFLAGS=-Wl,-Bsymbolic-functions LIBS= - AC_TRY_LINK([], [int main (void) { return 0; }], + AC_TRY_LINK([], [return 0], AC_MSG_RESULT(yes) enable_Bsymbolic=yes, AC_MSG_RESULT(no) @@ -3473,14 +3473,14 @@ AC_ARG_ENABLE([znodelete], AC_MSG_CHECKING([for --fatal-warnings linker flag]) LDFLAGS=-Wl,--fatal-warnings LIBS= - AC_TRY_LINK([], [int main (void) { return 0; }], + AC_TRY_LINK([], [return 0}], AC_MSG_RESULT(yes) [ldflags_fatal=-Wl,--fatal-warnings], AC_MSG_RESULT(no) ldflags_fatal=) AC_MSG_CHECKING([for -z,nodelete linker flag]) LDFLAGS="$ldflags_fatal -Wl,-z,nodelete" - AC_TRY_LINK([], [int main (void) { return 0; }], + AC_TRY_LINK([], [return 0], AC_MSG_RESULT(yes) enable_znodelete=yes, AC_MSG_RESULT(no) @@ -3510,7 +3510,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) -- 2.7.4