File libi40iw-autotools.patch of Package libi40iw-rdmav2
---
configure.ac | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2016-05-23 19:53:03.000000000 +0200
+++ configure.ac 2016-06-01 13:22:46.926917355 +0200
@@ -1,14 +1,15 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(libi40iw, 0.5.223, linux-rdma@vger.kernel.org)
+AC_INIT([libi40iw], [0.5.223], [linux-rdma@vger.kernel.org])
AC_CONFIG_SRCDIR([src/i40iw_umain.c])
-AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libi40iw, 0.5.223)
-AM_PROG_LIBTOOL
+AC_CONFIG_AUX_DIR([config])
+AM_CONFIG_HEADER([config.h])
+AM_INIT_AUTOMAKE([foreign -Wall])
+LT_INIT()
-AC_ARG_ENABLE(libcheck, [ --disable-libcheck do not test for the presence of ib libraries],
+AC_ARG_ENABLE(libcheck,
+ AS_HELP_STRING([--disable-libcheck], [do not test for the presence of ib libraries]),
[ if test x$enableval = xno ; then
disable_libcheck=yes
fi