Hi all,
the following patch adds support for passing additional flags to
autoreconf by using an environment variable, LOCAL_ACLOCAL_AMFLAGS.
cheers,
dalibor topic
2007-04-22 Dalibor Topic <[EMAIL PROTECTED]>
* Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var
LOCAL_ACLOCAL_AMFLAGS to allow for systems where the user
has a mix of system & hacked-up autotools.
Index: Makefile.am
===================================================================
RCS file: /sources/classpath/classpath/Makefile.am,v
retrieving revision 1.46
diff -u -r1.46 Makefile.am
--- Makefile.am 15 Apr 2007 20:55:31 -0000 1.46
+++ Makefile.am 22 Apr 2007 22:44:39 -0000
@@ -4,7 +4,8 @@
SUBDIRS = lib doc external include native resource scripts tools $(EXAMPLESDIR)
DIST_SUBDIRS = lib doc external include native resource scripts tools examples
-ACLOCAL_AMFLAGS = -I m4
+# Allow users to pass site-specific flags to autoreconf via an env var.
+ACLOCAL_AMFLAGS = -I m4 ${LOCAL_AUTORECONF_FLAGS}
native: lib