Use -DG_DISABLE_DEPRECATED compiler define
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Jan 2011 13:57:00 +0000 (14:57 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Jan 2011 13:57:00 +0000 (14:57 +0100)
acinclude.m4

index 84086fde8169fd28373d8781c11e53b3effe4498..0a59871d82f7b530f1d5e02fb0cb15d0a74c1527 100644 (file)
@@ -22,6 +22,7 @@ AC_DEFUN([COMPILER_FLAGS], [
                CFLAGS+=" -Wmissing-declarations"
                CFLAGS+=" -Wredundant-decls"
                CFLAGS+=" -Wcast-align"
+               CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
        fi
 ])