diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-01 23:32:45 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-01 23:32:45 +0000 |
commit | a6580a59402ca09499f907601ad6535394e197f2 (patch) | |
tree | aed2a320ea75372c597166bb0aa329f5079ac1d6 /configure.in | |
parent | 10f0f04980108f92931fd59915939f5f75972639 (diff) |
2005-01-01 Havoc Pennington <hp@redhat.com>
* configure.in: add -Wfloat-equal
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 |