From: Tom Gundersen Date: Mon, 1 Jul 2013 13:55:35 +0000 (-0400) Subject: build: fix for automake>=1.13 X-Git-Tag: libtirpc-0-2-4-rc2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6310d24b23bd8a85799153b08d506d413a0db7af;p=libtirpc build: fix for automake>=1.13 Also fix a couple of related deprecation warnings. Signed-off-by: Tom Gundersen Signed-off-by: Steve Dickson --- diff --git a/autogen.sh b/autogen.sh index 1613b6d..3aef4d9 100644 --- a/autogen.sh +++ b/autogen.sh @@ -37,6 +37,6 @@ fi aclocal libtoolize --force --copy -autoheader +#autoheader automake --add-missing --copy --gnu # -Wall autoconf # -Wall diff --git a/configure.ac b/configure.ac index 4a4adba..c5eb185 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT(libtirpc, 0.2.3) -AM_INIT_AUTOMAKE(libtirpc, 0.2.3) +AM_INIT_AUTOMAKE AM_MAINTAINER_MODE AC_CONFIG_SRCDIR([src/auth_des.c]) AC_CONFIG_MACRO_DIR([m4]) @@ -39,7 +39,7 @@ if test "x$enable_ipv6" != xno; then fi AC_PROG_CC -AM_CONFIG_HEADER(config.h) +m4_pattern_allow(AM_CONFIG_HEADERS(config.h)) AC_PROG_LIBTOOL AC_HEADER_DIRENT AC_PREFIX_DEFAULT(/usr) diff --git a/src/Makefile.am b/src/Makefile.am index 2dd7768..4c859fd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,7 +6,7 @@ ## anything like that. -INCLUDES = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \ +AM_CPPFLAGS = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 \ -D_GNU_SOURCE -Wall -pipe lib_LTLIBRARIES = libtirpc.la