build: turn off automake portability warnings

Modify configure.ac to disable portability warnings for automake --
our automake code (in particular common.am) uses some constructs
specific to gmake.

Signed-off-by: Avneesh Sachdev <avneesh@sproute.com>
This commit is contained in:
Avneesh Sachdev 2016-04-04 10:54:56 -07:00 committed by Donald Sharp
parent dad253b46d
commit f77cba1bf5

View file

@ -20,7 +20,9 @@ AC_CANONICAL_BUILD()
AC_CANONICAL_HOST() AC_CANONICAL_HOST()
AC_CANONICAL_TARGET() AC_CANONICAL_TARGET()
AM_INIT_AUTOMAKE(1.6) # Disable portability warnings -- our automake code (in particular
# common.am) uses some constructs specific to gmake.
AM_INIT_AUTOMAKE([1.6 -Wno-portability])
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS(config.h) AC_CONFIG_HEADERS(config.h)