* acinclude.m4: applied patch from Jim Meyering to avoid clobbering

user specified CFLAGS
Daniel
This commit is contained in:
Daniel Veillard 2007-03-26 09:30:36 +00:00
parent 80fb564b0d
commit 2b233a049e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon Mar 26 11:29:43 CEST 2007 Daniel Veillard <veillard@redhat.com>
* acinclude.m4: applied patch from Jim Meyering to avoid clobbering
user specified CFLAGS
Fri Mar 23 17:14:10 CET 2007 Daniel Veillard <veillard@redhat.com>
* TODO qemud/conf.c src/virsh.c src/xend_internal.c src/xs_internal.c:

View File

@ -3,6 +3,9 @@ dnl Taken from gnome-common/macros2/gnome-compiler-flags.m4
dnl
dnl We've added:
dnl -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls
dnl We've removed
dnl CFLAGS="$realsave_CFLAGS"
dnl to avoid clobbering user-specified CFLAGS
dnl
AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
dnl ******************************
@ -59,8 +62,6 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
unset option
unset try_compiler_flags
CFLAGS="$realsave_CFLAGS"
AC_ARG_ENABLE(iso-c,
AC_HELP_STRING([--enable-iso-c],
[Try to warn if code is not ISO C ]),,