summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-01-01 23:32:45 +0000
committerHavoc Pennington <hp@redhat.com>2005-01-01 23:32:45 +0000
commita6580a59402ca09499f907601ad6535394e197f2 (patch)
treeaed2a320ea75372c597166bb0aa329f5079ac1d6 /configure.in
parent10f0f04980108f92931fd59915939f5f75972639 (diff)
2005-01-01 Havoc Pennington <hp@redhat.com>
* configure.in: add -Wfloat-equal
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
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