[ofa-general] [PATCH] opensm/configure.in: remove AM_MAINTAINER_MODE

Sasha Khapyorsky sashak at voltaire.com
Sun Jun 8 09:03:10 PDT 2008


This macro disables by default reconfiguration and Makefile.in, Makefile
regeneration when configure.in and/or Makefile.am were changed - bad.
Also it puts proper definition of ACLOCAL_AMFLAGS variable instead of
ACLOCAL redefinition attempts.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/Makefile.am  |    5 +----
 opensm/configure.in |    5 -----
 2 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/opensm/Makefile.am b/opensm/Makefile.am
index 4c79f49..fca5319 100644
--- a/opensm/Makefile.am
+++ b/opensm/Makefile.am
@@ -3,10 +3,7 @@
 SUBDIRS = complib libvendor opensm osmtest include $(DEFAULT_EVENT_PLUGIN)
 DIST_SUBDIRS = complib libvendor opensm osmtest include osmeventplugin
 
-# this will control the update of the files in order
-MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in
-
-ACLOCAL	= aclocal -I $(ac_aux_dir)
+ACLOCAL_AMFLAGS = -I config
 
 # we should provide a hint for other apps about the build mode of this project
 install-exec-hook:
diff --git a/opensm/configure.in b/opensm/configure.in
index 3608a3a..409e7c6 100644
--- a/opensm/configure.in
+++ b/opensm/configure.in
@@ -13,11 +13,6 @@ AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
 dnl Defines the Language
 AC_LANG_C
 
-dnl Provides control over re-making of all auto files
-dnl We also use it to define swig dependencies so end
-dnl users do not see them.
-AM_MAINTAINER_MODE
-
 dnl Required for cases make defines a MAKE=make ??? Why
 AC_PROG_MAKE_SET
 AC_PROG_CC
-- 
1.5.5.1.178.g1f811




More information about the general mailing list