diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-09-05 John (J5) Palmieri <johnp@redhat.com> + + * configure.in: Check for no-common compiler flag (OS-X fix from + Benjamin Reed <ranger at befunk dot com>) + 2006-09-01 John (J5) Palmieri <johnp@redhat.com> * tools/dbus-launch.c: Add a sigterm handler (patch from Frederic Crozat 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[\ \ ]*) ;; |