gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash configure.ac ChangeLog


From: Rob Savoye
Subject: [Gnash-commit] gnash configure.ac ChangeLog
Date: Fri, 28 Jul 2006 15:28:40 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    06/07/28 15:28:40

Modified files:
        .              : configure.ac ChangeLog 

Log message:
                * configure.ac: Only enable -pedantic -ansi when
                --enable-lotsa-warnings is used when configuring.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.94&r2=1.95
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.545&r2=1.546

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- configure.ac        27 Jul 2006 14:54:43 -0000      1.94
+++ configure.ac        28 Jul 2006 15:28:40 -0000      1.95
@@ -406,22 +406,8 @@
 esac],lotsa=no)
 
 # We want warnings, lots of warnings  :-)
-if test "$GCC" = "yes"; then
-  CXXFLAGS="$CXXFLAGS \
-    -ansi \
-    -pedantic \
-    -Wno-long-long \
-    -Wall \
-    "
-
-  CFLAGS="$CFLAGS \
-    -ansi \
-    -pedantic \
-    -Wno-long-long \
-    -Wall \
-    "
-
-  if test x"$lotsa" = x"yes"; then
+if test x"$GCC" = x"yes"; then
+  if test x"$lotsa" = x"no"; then
     # Source do not build with -ansi -pedantic yet
     CXXFLAGS="$CXXFLAGS \
       -W \
@@ -442,6 +428,20 @@
       -Wmissing-prototypes \
       -Wstrict-prototypes \
       "
+  else
+    CXXFLAGS="$CXXFLAGS \
+      -ansi \
+      -pedantic \
+      -Wno-long-long \
+      -Wall \
+      "
+
+    CFLAGS="$CFLAGS \
+      -ansi \
+      -pedantic \
+      -Wno-long-long \
+      -Wall \
+      "
   fi
 fi
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.545
retrieving revision 1.546
diff -u -b -r1.545 -r1.546
--- ChangeLog   28 Jul 2006 11:39:17 -0000      1.545
+++ ChangeLog   28 Jul 2006 15:28:40 -0000      1.546
@@ -1,3 +1,8 @@
+2006-07-28  Rob Savoye  <address@hidden>
+
+       * configure.ac: Only enable -pedantic -ansi when
+       --enable-lotsa-warnings is used when configuring.
+
 2006-07-28 Sandro Santilli <address@hidden>
 
        * macros/libXML.m4: don't use -L when lib dir is /usr/lib




reply via email to

[Prev in Thread] Current Thread [Next in Thread]