diff mbox

[06/16] iwpm: Update autotools enough to build

Message ID 1474409425-15769-7-git-send-email-jgunthorpe@obsidianresearch.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jason Gunthorpe Sept. 20, 2016, 10:10 p.m. UTC
auto* drift has rendered it unbuildable on modern distros.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
---
 iwpmd/NEWS         |  0
 iwpmd/autogen.sh   | 10 +---------
 iwpmd/configure.ac |  2 +-
 3 files changed, 2 insertions(+), 10 deletions(-)
 create mode 100644 iwpmd/NEWS
diff mbox

Patch

diff --git a/iwpmd/NEWS b/iwpmd/NEWS
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/iwpmd/autogen.sh b/iwpmd/autogen.sh
index 4827884ba1f1..6abb4f8446bd 100755
--- a/iwpmd/autogen.sh
+++ b/iwpmd/autogen.sh
@@ -1,11 +1,3 @@ 
 #! /bin/sh
 
-# create config dir if not exist
-test -d config || mkdir config
-
-set -x
-aclocal -I config
-libtoolize --force --copy
-autoheader
-automake --foreign --add-missing --copy
-autoconf
+autoreconf -ifv -I config
diff --git a/iwpmd/configure.ac b/iwpmd/configure.ac
index 989452a6295c..5d5388ba2ed9 100644
--- a/iwpmd/configure.ac
+++ b/iwpmd/configure.ac
@@ -7,7 +7,7 @@  AC_CONFIG_SRCDIR([src/iwarp_pm_server.c])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE(-Wall -Werror)
+AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
 
 # Checks for programs.
 AC_PROG_CC