From cb51809e9c22d072dbc06359fed57d4d84262685 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Tue, 5 Sep 2006 21:51:58 +0000 Subject: * configure.in: Check for no-common compiler flag (OS-X fix from Benjamin Reed ) --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 9b7fe59a..09019388 100644 --- a/configure.in +++ b/configure.in @@ -165,6 +165,14 @@ if test "x$GCC" = "xyes"; then ;; esac + case " $CFLAGS " in + *[\ \ ]-fno-common[\ \ ]*) ;; + *) if cc_supports_flag -fno-common; then + CFLAGS="$CFLAGS -fno-common" + fi + ;; + esac + if test "x$enable_ansi" = "xyes"; then case " $CFLAGS " in *[\ \ ]-ansi[\ \ ]*) ;; -- cgit