gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog configure.ac


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog configure.ac
Date: Sat, 07 Oct 2006 12:29:35 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     06/10/07 12:29:35

Modified files:
        .              : ChangeLog configure.ac 

Log message:
        * configure.ac: Replace --enable-lotsa-warnings with --enable-strict,
          because strict is a more descriptive name for what lotsa-warnings 
actually
          does.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1059&r2=1.1060
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.128&r2=1.129

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1059
retrieving revision 1.1060
diff -u -b -r1.1059 -r1.1060
--- ChangeLog   7 Oct 2006 11:35:37 -0000       1.1059
+++ ChangeLog   7 Oct 2006 12:29:35 -0000       1.1060
@@ -1,3 +1,9 @@
+2006-10-07 Bastiaan Jacques <address@hidden>
+
+       * configure.ac: Replace --enable-lotsa-warnings with --enable-strict,
+       because strict a more descriptive name for what lotsa-warnings actually
+       does.
+
 2006-10-07 Markus Gothe <address@hidden>
 
        * configure.ac: Fixed typo. '!=' -> '='.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -b -r1.128 -r1.129
--- configure.ac        7 Oct 2006 11:04:51 -0000       1.128
+++ configure.ac        7 Oct 2006 12:29:35 -0000       1.129
@@ -33,7 +33,7 @@
 dnl also makes it possible to release a modified version which carries
 dnl forward this exception.
 
-dnl $Id: configure.ac,v 1.128 2006/10/07 11:04:51 nihilus Exp $
+dnl $Id: configure.ac,v 1.129 2006/10/07 12:29:35 bjacques Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, 0.7.1-cvs)
@@ -524,20 +524,17 @@
 
 AX_GCC_ARCHFLAG(no)
 
-dnl enable more warnings. These should be cleaned up to make Gnash a
-dnl better project, but for now they generate too many messages,
-dnl mostly due to the win32 and crufty C code pretending to be C++.
-AC_ARG_ENABLE(lotsa-warnings, [  --enable-lotsa-warnings Turn on tons of GCC 
compiler warnings],
-[case "${enableval}" in
-  yes) lotsa=yes ;;
-  no)  lotsa=no ;;
-  *)   AC_MSG_ERROR([bad value ${enableval} --enable-lotsa-warnings for 
option]) ;;
-esac],lotsa=no)
+AC_ARG_ENABLE([strict], AC_HELP_STRING([--enable-strict],[Accept only 
standards compliant code (GCC only)]),
+              [case "${enableval}" in
+                yes) strict=yes ;;
+                 no) strict=no ;;
+                  *) AC_MSG_ERROR([bad value ${enableval} for --enable-strict 
option]) ;;
+              esac], [strict=no])
+
+
 
 # We want warnings, lots of warnings  :-)
 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 \
       -Wall \
@@ -557,19 +554,17 @@
       -Wmissing-prototypes \
       -Wstrict-prototypes \
       "
-  else
+  if test x"$strict" = x"yes"; then
     CXXFLAGS="$CXXFLAGS \
       -ansi \
       -pedantic \
       -Wno-long-long \
-      -Wall \
       "
 
     CFLAGS="$CFLAGS \
       -ansi \
       -pedantic \
       -Wno-long-long \
-      -Wall \
       "
   fi
 fi




reply via email to

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