File libipathverbs-configure.patch of Package libipathverbs
--- a/configure.in 2014-07-23 23:01:58.000000000 +0200
+++ b/configure.in 2015-02-09 23:12:37.682799913 +0100
@@ -36,13 +36,12 @@
dnl combinations of this program with other software, or any other
dnl product whatsoever.
-AC_PREREQ(2.57)
-AC_INIT(libipathverbs, 1.3, ibsupport@intel.com)
+AC_PREREQ(2.63)
+AC_INIT([libipathverbs], 1.3, ibsupport@intel.com)
AC_CONFIG_SRCDIR([src/ipathverbs.h])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libipathverbs, 1.3)
-AM_PROG_LIBTOOL
+AM_INIT_AUTOMAKE([-Wall foreign])
AC_ARG_WITH([valgrind],
AC_HELP_STRING([--with-valgrind],
@@ -59,7 +58,8 @@
dnl Checks for programs
AC_PROG_CC
-
+AC_PROG_CC_C_O
+LT_INIT([disable-static])
dnl Checks for libraries
AC_CHECK_LIB(ibverbs, ibv_get_device_list, [],
AC_MSG_ERROR([ibv_get_device_list() not found. libipathverbs requires libibverbs.]))
@@ -115,4 +115,4 @@
type rpm > /dev/null 2>&1 && (rpm -qa | grep -q dracut) )
AC_CONFIG_FILES([Makefile libipathverbs.spec])
-AC_OUTPUT
+AC_OUTPUT()