nautilus r15187 - trunk
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r15187 - trunk
- Date: Thu, 16 Apr 2009 13:18:48 +0000 (UTC)
Author: alexl
Date: Thu Apr 16 13:18:47 2009
New Revision: 15187
URL: http://svn.gnome.org/viewvc/nautilus?rev=15187&view=rev
Log:
2009-04-16 Alexander Larsson <alexl redhat com>
Bug 578983 â set_more_warnings check of WARNING_CFLAGS doesn't work
* configure.in:
Actually check the options.
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Thu Apr 16 13:18:47 2009
@@ -355,16 +355,17 @@
-Werror"
for option in -Wstrict-aliasing=0 -Wno-pointer-sign; do
- SAVE_CFLAGS="$WARNING_CFLAGS"
- WARNING_CFLAGS="$WARNING_CFLAGS $option"
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])
AC_TRY_COMPILE([], [],
has_option=yes,
has_option=no,)
if test $has_option = no; then
- WARNING_CFLAGS="$SAVE_CFLAGS"
+ WARNING_CFLAGS="$WARNING_CFLAGS $option"
fi
AC_MSG_RESULT($has_option)
+ CFLAGS="$SAVE_CFLAGS"
unset has_option
unset SAVE_CFLAGS
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]