File infiniband-diags-configure.patch of Package infiniband-diags

--- configure.in
+++ configure.in
@@ -9,7 +9,7 @@
 AC_SUBST(RELEASE, ${RELEASE:-unknown})
 AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
 
-AC_ARG_ENABLE(libcheck, [  --disable-libcheck      do not test for presence of ib libraries],
+AC_ARG_ENABLE(libcheck,AC_HELP_STRING([--disable-libcheck], [do not test for presence of ib libraries]),
 [       if test x$enableval = xno ; then
                 disable_libcheck=yes
         fi
@@ -17,7 +17,7 @@
 
 dnl support debug mode
 AC_ARG_ENABLE(debug,
-[  --enable-debug Turn on debug mode],
+AC_HELP_STRING([--enable-debug], [Turn on debug mode]),
 [case "${enableval}" in
   yes) debug=true ;;
   no)  debug=false ;;
@@ -27,6 +27,7 @@
 
 dnl Checks for programs
 AC_PROG_CC
+AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
 
 if test "$disable_libcheck" != "yes"
openSUSE Build Service is sponsored by