[Debian-ha-commits] [pacemaker] 03/69: autotools: suppress portability warnings

Christoph Berg myon at debian.org
Tue Jan 26 09:14:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

myon pushed a commit to branch debian/master
in repository pacemaker.

commit f4b2093f6f9a04dad682ac16d9e868873caf2178
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Dec 15 14:31:03 2015 +0100

    autotools: suppress portability warnings
    
    These are to be expected since we use GNU make extensions
---
 Makefile.am  | 1 -
 autogen.sh   | 2 +-
 configure.ac | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f9d7bbb..49fe5df 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,6 @@ SUBDIRS	= $(CORE) cts extra doc
 doc_DATA = AUTHORS COPYING COPYING.LIB
 noinst_PROGRAMS = scratch
 
-AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS  = -I m4
 
 testdir			= $(datadir)/$(PACKAGE)/tests/
diff --git a/autogen.sh b/autogen.sh
index 2501c22..e004e79 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -23,7 +23,7 @@
 # Run this to generate all the initial makefiles, etc.
 
 # Unset GREP_OPTIONS as any coloring can mess up the AC_CONFIG_AUX_DIR matching patterns
-GREP_OPTIONS= autoreconf -visf  -Wno-portability
+GREP_OPTIONS= autoreconf -visf
 
 if [ -f config.log ]; then
     echo Now re-running ./configure with the previous arguments
diff --git a/configure.ac b/configure.ac
index 9f6204e..82900e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ AC_ARG_WITH(pkg-name,
     [ PACKAGE_NAME="$withval" ])
 
 dnl Older distros may need: AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 AC_DEFINE_UNQUOTED(PACEMAKER_VERSION, "$PACKAGE_VERSION", Current pacemaker version)
 
 PACKAGE_SERIES=`echo $PACKAGE_VERSION | awk -F. '{ print $1"."$2 }'`

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pacemaker.git



More information about the Debian-HA-Commits mailing list