diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2005-01-01 Havoc Pennington <hp@redhat.com> + * configure.in: add -Wfloat-equal + +2005-01-01 Havoc Pennington <hp@redhat.com> + * dbus/dbus-sysdeps.h: add _DBUS_DOUBLES_BITWISE_EQUAL macro, for a variety of reasons '==' doesn't do this. diff --git a/configure.in b/configure.in index dcb8d450..67b2dfa9 100644 --- a/configure.in +++ b/configure.in @@ -106,6 +106,11 @@ if test "x$GCC" = "xyes"; then esac case " $CFLAGS " in + *[\ \ ]-Wfloat-equal[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wfloat-equal" ;; + esac + + case " $CFLAGS " in *[\ \ ]-Wsign-compare[\ \ ]*) ;; *) CFLAGS="$CFLAGS -Wsign-compare" ;; esac |