The drawback with that approach is that bug fixes and extensions to the m4 macros in the upstream source doesn't get used unless someone manually updates them in pike. I don't think it's a problem to use them directly; we must probably ensure that the machine(s) that build the distributed source dists have a complete build environment anyway. The problem is rather to recover gracefully when someone builds from cvs for personal use on an incomplete system.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-09-30 15:50: Subject: Autoconf macros and aclocal
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 ()