File libipathverbs-configure.patch of Package libipathverbs
---
configure.ac | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2014-02-07 20:44:31.000000000 +0100
+++ configure.ac 2014-02-13 17:56:04.883274885 +0100
@@ -35,13 +35,12 @@ dnl Patent licenses, if any, provided he
dnl combinations of this program with other software, or any other
dnl product whatsoever.
-AC_PREREQ(2.57)
-AC_INIT(libipathverbs, 1.2.1, support@qlogic.com)
+AC_PREREQ(2.63)
+AC_INIT([libipathverbs],[1.2.1],[support@qlogic.com])
AC_CONFIG_SRCDIR([src/ipathverbs.h])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libipathverbs, 1.2.1)
-AM_PROG_LIBTOOL
+AM_INIT_AUTOMAKE([-Wall foreign])
AC_ARG_WITH([valgrind],
AC_HELP_STRING([--with-valgrind],
@@ -58,7 +57,8 @@ fi
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.]))
@@ -102,4 +102,4 @@ AC_CACHE_CHECK(whether ld accepts --vers
AC_SUBST(IPATHVERBS_VERSION_SCRIPT)
AC_CONFIG_FILES([Makefile libipathverbs.spec])
-AC_OUTPUT
+AC_OUTPUT()