On Wed, Feb 18, 2009 at 02:44:15PM +0100, Joerg Sonnenberger wrote:
On Wed, Feb 18, 2009 at 10:49:36AM +0000, Jeremy Henty wrote:
BTW: the autoconf documentation frowns on this sort of thing,
This only applies for checking things in the host filesystem.
Yes, I realised after posting that since the code I am adding is intended to reflect the build system, no matter what the host system is, cross-compilation issues just do not arise.
+#if HG + printf("HG current: %s\n", HG_CURRENT); + printf("HG qparent: %s\n", HG_QPARENT); +#endif +
Any reason why this are two lines?
No specific reason, but on general principle I usually write one line per record of information to make it easier to process the results with grep/sed etc. Regards, Jeremy Henty