> It's a little bit messy:  some bits of pymath.c (hypot, and possibly
> copysign) are needed in the core, but only on platforms whose
> math libraries haven't caught up with C99.

It would be possible to only build the module if it defines any
functions; that should be checked in configure.

Alternatively, I believe that autoconf offers a mechanism to
have fallback functions in files named like the function; autoconf
will then build itself a list of all additional source files.
Using that would require to split pymath.c into multiple files.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to