summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-07-01 09:55:35 -0400
committerSteve Dickson <steved@redhat.com>2013-07-01 09:57:47 -0400
commit6310d24b23bd8a85799153b08d506d413a0db7af (patch)
tree24c07cffad118367c663351a418cc033795eec33
parent9ce88a378679fd079ac4217e64173a729cde89b2 (diff)
downloadti-rpc-6310d24b23bd8a85799153b08d506d413a0db7af.tar.gz
build: fix for automake>=1.13libtirpc-0-2-4-rc2
Also fix a couple of related deprecation warnings. Signed-off-by: Tom Gundersen <teg@jklm.no> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--autogen.sh2
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am2
3 files changed, 4 insertions, 4 deletions
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