Fix gcc-ism in python build (John Levon)

This commit is contained in:
Daniel P. Berrange
2008-12-18 12:20:00 +00:00
parent 829b6420d8
commit 264ed02079
3 changed files with 15 additions and 2 deletions

View File

@@ -87,6 +87,12 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
WARN_CFLAGS="$compiler_flags $complCFLAGS"
AC_SUBST(WARN_CFLAGS)
dnl Needed to keep compile quiet on python 2.4
COMPILER_FLAGS=
gl_COMPILER_FLAGS(-Wno-redundant-decls)
WARN_PYTHON_CFLAGS=$COMPILER_FLAGS
AC_SUBST(WARN_PYTHON_CFLAGS)
])