Skip to contentSkip to conversation

Fix errors triggered by autoregen.sh

PATCH Applied Bart Van Assche 2 participants 2 messages Aug 18, 2013 – Aug 19, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix errors triggered by autoregen.sh

Avoid that running autoregen.sh with recent versions of autoconf and automake triggers the following errors:

libibnetdisc/Makefile.am:35: compiling testleaks.c' with per-target flags requires AM_PROG_CC_C_O' in configure.in' Makefile.am: installing ./INSTALL'
Makefile.am: required file `./NEWS' not found

---
 configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configure.ac +2 -1
index 02e4592..4c37259 100644
@@ -5,7 +5,7 @@ AC_INIT(infiniband-diags, 1.6.2, [email protected])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR(config)
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 
 AC_SUBST(RELEASE, ${RELEASE:-unknown})
 AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
@@ -22,6 +22,7 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
 
 dnl Checks for programs
 AC_PROG_CC
+AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
 
 AC_CHECK_PROG(have_dash, [dash], true, false)
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

Applied
#2 lore raw
Quoted 8 lines · On Sun, 18 Aug 2013 10:51:50 +0200 Bart Van Assche…

Avoid that running autoregen.sh with recent versions of autoconf and automake triggers the following errors:

libibnetdisc/Makefile.am:35: compiling testleaks.c' with per-target flags requires AM_PROG_CC_C_O' in configure.in' Makefile.am: installing ./INSTALL'
Makefile.am: required file `./NEWS' not found

Thanks applied,
Ira

Quoted 32 lines
---
 configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configure.ac +2 -1
index 02e4592..4c37259 100644
@@ -5,7 +5,7 @@ AC_INIT(infiniband-diags, 1.6.2, [email protected])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR(config)
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 
 AC_SUBST(RELEASE, ${RELEASE:-unknown})
 AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
@@ -22,6 +22,7 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
 
 dnl Checks for programs
 AC_PROG_CC
+AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
 
 AC_CHECK_PROG(have_dash, [dash], true, false)
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
Ira Weiny <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html