In theory, I think the best way is to do as follows:
When hacking XML2-support (or whatever support) for pike, copy the XML2-recommended m4 macros into aclocal.m4 or some other file included into configure.in in one way or another. Check all that into the Pike cvs.
configure.in should be system independent, and should use the same macros no matter if XML2 happens to be installed at buildtime or not.
Is there any reason that can't work?
/ Niels Möller ()
Previous text:
2002-08-29 22:42: Subject: Autoconf macros and aclocal
Guys, what's the policy about using the aclocal .m4 macro files provided with some libraries (like GTK+, XML2 etc.)? Should I include the macro in the src/aclocal.m4 or just put the AM_* macro right in the configure.in and rely on the .m4 file presence on the system where Pike is compiled/exported?
/ Marek Habersack (Grendel)