On GNU Smalltalk with M4 1.4.8:
2.6110.0sec 1037568 bytes
2.627.0sec 1057356 bytes
2.637.5sec 1058211 bytes
2.63+funcs 6.0sec 742044 bytes
git 4.6sec 744144 bytes
Not to mention that system time went up from ~7% to 12-
Hi all,
I am trying to define in configure.ac a macro which will be included in
config.h.
The code in configure.ac is as follows:
if test "x$release_mode" = "xyes" ; then
AC_DEFINE([my_debug(s, ...)],[], [Disable my_debug calls])
else
AC_DEFINE([my_debug(s, ...)],[g_debug(s, ##__VA_ARGS__)],
Hi Paolo,
* Paolo Bonzini wrote on Thu, Nov 06, 2008 at 11:51:19AM CET:
> On GNU Smalltalk with M4 1.4.8:
>
> 2.61 10.0sec 1037568 bytes
> 2.62 7.0sec 1057356 bytes
> 2.63 7.5sec 1058211 bytes
> 2.63+funcs 6.0sec 742044 bytes
> git 4.6sec
> if test "x$release_mode" = "xyes" ; then
> AC_DEFINE([my_debug(s, ...)],[], [Disable my_debug calls])
> else
> AC_DEFINE([my_debug(s, ...)],[g_debug(s, ##__VA_ARGS__)], [Enable
> my_debug calls])
> fi
>
> The problem is that using autoconf 2.59, the previous code will generate
> in config.h:
>> 2.61 10.0sec 1037568 bytes
>> 2.62 7.0sec 1057356 bytes
>> 2.63 7.5sec 1058211 bytes
>> 2.63+funcs 6.0sec742044 bytes
>> git 4.6sec 744144 bytes
>>
>
> Yes, it is! Could you denote whether that is autoconf run time or
> configure r
>> if test "x$release_mode" = "xyes" ; then
>> AC_DEFINE([my_debug(s, ...)],[], [Disable my_debug calls])
>> else
>> AC_DEFINE([my_debug(s, ...)],[g_debug(s, ##__VA_ARGS__)], [Enable
>> my_debug calls])
>> fi
>>
>> The problem is that using autoconf 2.59, the previous code will generate
>> in