dbus ChangeLog,1.1073,1.1074 configure.in,1.164,1.165

John Palmieri johnp at kemper.freedesktop.org
Thu Aug 10 14:00:32 PDT 2006


Update of /cvs/dbus/dbus
In directory kemper:/tmp/cvs-serv11007

Modified Files:
	ChangeLog configure.in 
Log Message:
* configure.in: make sure the compiler supports -Wfloat-equal
        
* bus/dir-watch-dnotify.c: move functional code after
  variable declerations (C99 fix)  (patches from Jens Granseuer
  <jensgr at gmx dot net>


Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.1073
retrieving revision 1.1074
diff -u -d -r1.1073 -r1.1074
--- ChangeLog	10 Aug 2006 20:31:20 -0000	1.1073
+++ ChangeLog	10 Aug 2006 21:00:30 -0000	1.1074
@@ -1,5 +1,13 @@
 2006-08-10  John (J5) Palmieri  <johnp at redhat.com>
 
+	* configure.in: make sure the compiler supports -Wfloat-equal
+	
+	* bus/dir-watch-dnotify.c: move functional code after 
+	variable declerations (C99 fix)  (patches from Jens Granseuer
+	<jensgr at gmx dot net>
+
+2006-08-10  John (J5) Palmieri  <johnp at redhat.com>
+
 	* dbus/dbus-macros.h:
 	add #include <stddef.h> so that Sun compilers don't complain about
 	the defining NULL

Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- configure.in	8 Aug 2006 22:08:39 -0000	1.164
+++ configure.in	10 Aug 2006 21:00:30 -0000	1.165
@@ -146,7 +146,10 @@
 
   case " $CFLAGS " in
   *[\ \	]-Wfloat-equal[\ \	]*) ;;
-  *) CFLAGS="$CFLAGS -Wfloat-equal" ;;
+  *) if cc_supports_flag -Wfloat-equals; then
+        CFLAGS="$CFLAGS -Wfloat-equal" 
+     fi
+     ;;
   esac
 
   case " $CFLAGS " in



More information about the dbus-commit mailing list