]> granicus.if.org Git - linux-pam/commitdiff
build: adjust automake warning flags
authorRonny Chevalier <chevalier.ronny@gmail.com>
Thu, 11 Dec 2014 15:14:42 +0000 (16:14 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 7 Jan 2015 00:29:06 +0000 (00:29 +0000)
Enable all automake warning flags except for the portability issues,
since non portable features are used among the makefiles.

* configure.ac (AM_INIT_AUTOMAKE): Add -Wall -Wno-portability.

configure.ac

index 6797e2fe5df02110fbb6a3079081025df9087c3e..cbe5d712e35cbdd815d863ef66fb9d82cd257eca 100644 (file)
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
 AC_INIT([Linux-PAM], [1.1.8], , [Linux-PAM])
 AC_CONFIG_SRCDIR([conf/pam_conv1/pam_conv_y.y])
 AC_CONFIG_AUX_DIR([build-aux])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([-Wall -Wno-portability])
 AC_PREREQ([2.61])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])