On Mon Jun 09 2014 at 1:48:27 PM, Steven Stewart-Gallus <
sstewartgallu...@mylangara.bc.ca> wrote:

> > Do you mean other than potentially detecting something in the
> > configurescript and using an #ifdef guard?
>
> Yes, that works on a static function inside a file level but I need to
> conditionally include a whole file into the build.
>

Why specifically does the file itself be conditional? Typically you
unconditionally include the whole file and then put the entire contents of
it in a #ifdef guard.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to