[gnet] Pass -Wno-portability to automake and remove bogus configure flag



commit 3c3e06e84d51a364373a673f08cfbdf6683dd808
Author: Tim-Philipp Müller <tim muller collabora co uk>
Date:   Mon May 25 19:46:46 2009 +0100

    Pass -Wno-portability to automake and remove bogus configure flag
---
 autogen.sh   |    2 +-
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 61d1231..23caf7e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -201,7 +201,7 @@ do
   fi
 done
 
-conf_flags="--enable-maintainer-mode --enable-compile-warnings --enable-debug=yes --enable-gtk-doc=yes --enable-network-tests=yes"
+conf_flags="--enable-maintainer-mode --enable-debug=yes --enable-gtk-doc=yes --enable-network-tests=yes"
 
 if test x$NOCONFIGURE = x; then
   echo Running $srcdir/configure $conf_flags "$@" ...
diff --git a/configure.ac b/configure.ac
index 3ad1022..b1937fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@ AC_PREREQ([2.53])
 # Init autoconf and automake
 AC_INIT([gnet], [2.0.8.1], [gnet gnetlibrary org])
 AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AM_INIT_AUTOMAKE([-Wno-portability])
 AM_MAINTAINER_MODE
 AC_REVISION([$Revision: 1.58 $])
 AC_CONFIG_SRCDIR([src/gnet.c])



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