[ofa-general] [PATCH] Suppress autoconf / automake warnings printed during compilation of srptools 1.1

Bart Van Assche bart.vanassche at gmail.com
Tue Jan 15 00:36:52 PST 2008


When  compiling srptools 1.1, autoconf and automake print several
warnings (https://svn.openfabrics.org/svn/openib/gen2/branches/1.1/src/userspace/srptools/).
The patch below fixes this.

How I ran autoconf and automake: aclocal && autoconf && automake && ./configure

Patch:

diff -ur ../orig/srptools/configure.in ./configure.in
--- ../orig/srptools/configure.in       2008-01-15 09:32:21.000000000 +0100
+++ ./configure.in      2008-01-15 09:19:23.000000000 +0100
@@ -5,7 +5,6 @@
 AC_INIT(srptools, 0.0.4, openib-general at openib.org)
 AC_CONFIG_SRCDIR(src/srp-dm.c)
 AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE(srptools, 0.0.4)

 AC_ARG_ENABLE(libcheck, [  --disable-libcheck      do not test for
presence of ib libraries],
@@ -16,6 +15,7 @@

 # Checks for programs.
 AC_PROG_CC
+AM_PROG_CC_C_O

 # Checks for libraries.
 if test "$disable_libcheck" != "yes"
Only in .: configure.in~
diff -ur ../orig/srptools/Makefile.am ./Makefile.am
--- ../orig/srptools/Makefile.am        2008-01-15 09:32:21.000000000 +0100
+++ ./Makefile.am       2008-01-15 09:35:12.000000000 +0100
@@ -1,5 +1,7 @@
 # $Id: Makefile.am 9269 2006-09-05 15:48:06Z vlad $

+AUTOMAKE_OPTIONS = foreign
+
 sbin_PROGRAMS = src/ibsrpdm srp_daemon/srp_daemon
 man_MANS = man/ibsrpdm.1 man/srp_daemon.1



-- 
Regards,

Bart Van Assche.



More information about the general mailing list