Problem with AC_DEFINE in autoconf 2.59

2008-11-06 Thread Aleksander Morgado
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__)],

Re: Problem with AC_DEFINE in autoconf 2.59

2008-11-06 Thread Aleksander Morgado
>> 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