[FFmpeg-devel] [PATCH] configure: add check_feature_test_macro for exp10, exp10f

Nicolas George george at nsup.org
Thu Dec 24 18:55:09 CET 2015

Le quartidi 4 nivôse, an CCXXIV, Ganesh Ajjanagadde a écrit :
> exp10 and exp10f need _GNU_SOURCE. check_mathfunc only tests if the
> function is available, and not whether it is locked or unlocked via
> This adds some support to configure to test for _GNU_SOURCE and
> accordingly report the existence of exp10, exp10f.

I do not think this is a good solution. IMHO, the correct way would be to
detect if the function has a prototype. It could probably be done by trying
to cast it to int: if it is not declared, it will fail.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151224/e45d4ed6/attachment.sig>

More information about the ffmpeg-devel mailing list