gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash configure.ac [release-0-8-0]


From: Rob Savoye
Subject: [Gnash-commit] gnash configure.ac [release-0-8-0]
Date: Wed, 06 Jun 2007 00:36:29 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release-0-8-0
Changes by:     Rob Savoye <rsavoye>    07/06/06 00:36:29

Modified files:
        .              : configure.ac 

Log message:
                * configure.ac: Comment out the SIZET_FMT test, which seems to 
cause
                weird side effects, and jjst set SIZET_FMT to "%ud" on the 
thought
                that compiler warnings are better than obscure runtime errors.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&only_with_tag=release-0-8-0&r1=1.331.4.1&r2=1.331.4.2

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.331.4.1
retrieving revision 1.331.4.2
diff -u -b -r1.331.4.1 -r1.331.4.2
--- configure.ac        5 Jun 2007 19:41:01 -0000       1.331.4.1
+++ configure.ac        6 Jun 2007 00:36:28 -0000       1.331.4.2
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.331.4.1 2007/06/05 19:41:01 strk Exp $
+dnl $Id: configure.ac,v 1.331.4.2 2007/06/06 00:36:28 rsavoye Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -61,39 +61,39 @@
 
 dnl AC_CHECK_SIZEOF([size_t], 4, AC_INCLUDES_DEFAULT)
 
-dnl AC_DEFINE(SIZET_FMT, ["%z"], [size_t printf modifier is z])
+AC_DEFINE(SIZET_FMT, ["%ud"], [size_t printf modifier is ud])
 
-AC_LANG_PUSH(C++)
-save_CXXFLAGS="$CXXFLAGS"
-CXXFLAGS="$CXXFLAGS -Werror -Wformat"
-
-AC_TRY_COMPILE([#include <sys/types.h>
-  #include <stdio.h>], [
-  size_t num = 0;
-  printf("%d", num); ],
-  AC_DEFINE(SIZET_FMT, ["%d"], [size_t printf modifier is d])
-)
-AC_TRY_COMPILE([#include <sys/types.h>
-  #include <stdio.h>], [
-  size_t num = 0;
-  printf("%u", num); ],
-   AC_DEFINE(SIZET_FMT, ["%u"], [size_t printf modifier is u])
-)
-AC_TRY_COMPILE([#include <sys/types.h>
-  #include <stdio.h>], [
-  size_t num = 0;
-  printf("%lu", num); ],
-  AC_DEFINE(SIZET_FMT, ["%lu"], [size_t printf modifier is lu])
-)
-AC_TRY_COMPILE([#include <sys/types.h> 
-  #include <stdio.h>], [
-  size_t num = 0;
-  printf("%ld", num); ],
-  AC_DEFINE(SIZET_FMT, ["%ld"], [size_t printf modifier is ld])
-)
-
-CXXFLAGS="$save_CXXFLAGS"
-AC_LANG_POP(C++)
+#AC_LANG_PUSH(C++)
+#save_CXXFLAGS="$CXXFLAGS"
+#CXXFLAGS="$CXXFLAGS -Werror -Wformat"
+#
+#AC_TRY_COMPILE([#include <sys/types.h>
+#  #include <stdio.h>], [
+#  size_t num = 0;
+#  printf("%d", num); ],
+#  AC_DEFINE(SIZET_FMT, ["%d"], [size_t printf modifier is d])
+#)
+#AC_TRY_COMPILE([#include <sys/types.h>
+#  #include <stdio.h>], [
+#  size_t num = 0;
+#  printf("%u", num); ],
+#   AC_DEFINE(SIZET_FMT, ["%u"], [size_t printf modifier is u])
+#)
+#AC_TRY_COMPILE([#include <sys/types.h>
+#  #include <stdio.h>], [
+#  size_t num = 0;
+#  printf("%lu", num); ],
+#  AC_DEFINE(SIZET_FMT, ["%lu"], [size_t printf modifier is lu])
+#)
+#AC_TRY_COMPILE([#include <sys/types.h> 
+#  #include <stdio.h>], [
+#  size_t num = 0;
+#  printf("%ld", num); ],
+#  AC_DEFINE(SIZET_FMT, ["%ld"], [size_t printf modifier is ld])
+#)
+#
+#CXXFLAGS="$save_CXXFLAGS"
+#AC_LANG_POP(C++)
 
 dnl This is primarily used when compiling for a similar architecture,
 dnl like pentium->geode, which can use the same compiler, but have




reply via email to

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