[Python-Dev] Re: [Python-checkins] CVS: python/dist/src configure,1.274,1.275 configure.in,1.283,1.284 (original) (raw)

Guido van Rossum guido@python.org
Tue, 04 Dec 2001 18:12:51 -0500


Neil Schemenauer writes: > > + if test "$PyDEBUG" = 'true'; then > > + : > > + else > > + OPT="-DNDEBUG $OPT" > > + fi > > + > > Shouldn't this go into DEFS?

I didn't see DEFS getting set anywhere else, and other places in configure.in add -D options to OPT, CC, or CCSHARED. I've no personal preference though; if someone with more autokarma than I changes it, I won't scream. ;-) -Fred

I think DEFS gets put in pyconfig.h, which gets included by Python.h, defeating the whole purpose.

--Guido van Rossum (home page: http://www.python.org/~guido/)