From b2db26784d01dc3990198a89fe80a5d6b759c419 Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Mon, 1 Nov 2010 09:11:27 -0700 Subject: [PATCH] libibcm: Fix autotools to include the necessary M4 files Otherwise running autogen.sh with a new version of autotools and then building on a system with an older version tends to explode. Unfortunately this is sometimes necessary since the new version is required by the package. This is how GNU envisions this mess works at least.. Signed-off-by: Jason Gunthorpe Signed-off-by: Sean Hefty --- Makefile.am | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 4b2ad74..2333930 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,6 +2,7 @@ INCLUDES = -I$(srcdir)/include lib_LTLIBRARIES = src/libibcm.la +ACLOCAL_AMFLAGS = -I config AM_CFLAGS = -g -Wall -D_GNU_SOURCE src_libibcm_la_CFLAGS = $(AM_CFLAGS) diff --git a/configure.in b/configure.in index 2712969..145e3a4 100644 --- a/configure.in +++ b/configure.in @@ -4,6 +4,7 @@ AC_PREREQ(2.57) AC_INIT(libibcm, 1.0.5, general@lists@openfabrics.org) AC_CONFIG_SRCDIR([src/cm.c]) AC_CONFIG_AUX_DIR(config) +AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(libibcm, 1.0.5) -- 2.46.0