From 3fc89804556fe9a97977f28df6e3c1b5aae22f29 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 7 Apr 2013 22:58:19 +0200 Subject: [PATCH] build: build with automake >=1.13 See: Also fix a couple of related deprecation warnings. Signed-off-by: Tom Gundersen --- configure.ac | 4 ++-- src/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 4a4adba..3de776a 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) +AC_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..078b0d0 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 -DVERSION="\"$(VERSION)\"" \ -D_GNU_SOURCE -Wall -pipe lib_LTLIBRARIES = libtirpc.la -- 1.8.2