From 2b233a049eba0afe71d25f4c54bf6af68fc37b29 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 26 Mar 2007 09:30:36 +0000 Subject: [PATCH] * acinclude.m4: applied patch from Jim Meyering to avoid clobbering user specified CFLAGS Daniel --- ChangeLog | 5 +++++ acinclude.m4 | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 01c66da694..107600214a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 26 11:29:43 CEST 2007 Daniel Veillard + + * acinclude.m4: applied patch from Jim Meyering to avoid clobbering + user specified CFLAGS + Fri Mar 23 17:14:10 CET 2007 Daniel Veillard * TODO qemud/conf.c src/virsh.c src/xend_internal.c src/xs_internal.c: diff --git a/acinclude.m4 b/acinclude.m4 index f0f65db71c..b96267c1d8 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 ]),,