[glib] configure: Remove unintentional nested functions
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] configure: Remove unintentional nested functions
- Date: Sat, 26 Jul 2014 08:04:08 +0000 (UTC)
commit 20e709d8b92e28d162c78b147afe4040e3a48b85
Author: Alessandro Di Federico <ale+gnomebz clearmind me>
Date: Fri Jul 25 04:16:00 2014 -0400
configure: Remove unintentional nested functions
More of the same as 9362a1b2d987125a8aa0723b916d29aaaece329a.
https://bugzilla.gnome.org/show_bug.cgi?id=733715
configure.ac | 8 ++++----
1 files 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]