From: Pierre-Paul L. <pp...@nb...> - 2002-06-14 23:18:45
|
well, I'm not sure what to modify in configure.in to do it. I don't care to mix them personally. It's just that I think that things such as DEBUG/NDEBUG shouldn't rely on header file inclusion to be defined. I'm not really m4 aware... are you sure we would need that? I'll check some other projects to see what they do. On Fri, 2002-06-14 at 20:13, Noah Levitt wrote: > IIRC, you can use -D for everything or use config.h for > everything. If you want to mix them you probably have to > write your own m4 thing... > > > On Fri, Jun 14, 2002 at 08:09:57PM -0300, Pierre-Paul Lavoie wrote: > > blossom, if you have time... > > > > > > AC_ARG_ENABLE(debug, > > > > would it be possible to have CPP_FLAGS set to -DDEBUG instead of using > > config.h ? and if AC_ARG_ENABLE false, have -DNDEBUG for CPP_FLAGS ? > > > > thanks, ppl. |