comparison configure @ 30249:d383b93fa3f8

Add checks for exp2, exp2 and log2f required by FFmpeg.
author reimar
date Tue, 12 Jan 2010 19:41:44 +0000
parents 57c05b99c8a2
children 0fe4119d6115
comparison
equal deleted inserted replaced
30248:cb820f087ce0 30249:d383b93fa3f8
3004 if test "$_posix4" = yes ; then 3004 if test "$_posix4" = yes ; then
3005 extra_ldflags="$extra_ldflags -lposix4" 3005 extra_ldflags="$extra_ldflags -lposix4"
3006 fi 3006 fi
3007 echores "$_posix4" 3007 echores "$_posix4"
3008 3008
3009 for func in llrint log2 lrint lrintf round roundf truncf; do 3009 for func in exp2 exp2f llrint log2 log2f lrint lrintf round roundf truncf; do
3010 echocheck $func 3010 echocheck $func
3011 cat > $TMPC << EOF 3011 cat > $TMPC << EOF
3012 #include <math.h> 3012 #include <math.h>
3013 int main(void) { long (*foo)(float); foo = $func; (void)(*foo)(0.0); return 0; } 3013 int main(void) { long (*foo)(float); foo = $func; (void)(*foo)(0.0); return 0; }
3014 EOF 3014 EOF
8680 $def_termios_sys_h 8680 $def_termios_sys_h
8681 $def_winsock2_h 8681 $def_winsock2_h
8682 8682
8683 8683
8684 /* system functions */ 8684 /* system functions */
8685 $def_exp2
8686 $def_exp2f
8685 $def_gethostbyname2 8687 $def_gethostbyname2
8686 $def_gettimeofday 8688 $def_gettimeofday
8687 $def_glob 8689 $def_glob
8688 $def_langinfo 8690 $def_langinfo
8689 $def_llrint 8691 $def_llrint
8690 $def_log2 8692 $def_log2
8693 $def_log2f
8691 $def_lrint 8694 $def_lrint
8692 $def_lrintf 8695 $def_lrintf
8693 $def_map_memalign 8696 $def_map_memalign
8694 $def_memalign 8697 $def_memalign
8695 $def_nanosleep 8698 $def_nanosleep