On Wed, Feb 18, 2009 at 10:49:36AM +0000, Jeremy Henty wrote:
I'm completely convinced that this really adds any safety, but it's easy enough to do. Revised patch attached.
Looks good.
BTW: the autoconf documentation frowns on this sort of thing, from (autoconf.info)Limitations of Builtins:
`test' (files) To enable `configure' scripts to support cross-compilation, they shouldn't do anything that tests features of the build system instead of the host system.
This only applies for checking things in the host filesystem. E.g. testing for the existance of /etc/passwd would be bad for cross-compilation.
--- a/src/dillo.cc +++ b/src/dillo.cc @@ -211,6 +211,11 @@ int width = D_GEOMETRY_DEFAULT_WIDTH, height = D_GEOMETRY_DEFAULT_HEIGHT; char **opt_argv;
+#if HG + printf("HG current: %s\n", HG_CURRENT); + printf("HG qparent: %s\n", HG_QPARENT); +#endif +
Any reason why this are two lines? Joerg