mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-23 04:53:08 +02:00
16 lines
634 B
Diff
16 lines
634 B
Diff
|
Index: MPlayer-r33304/configure
|
||
|
===================================================================
|
||
|
--- MPlayer-r33304.orig/configure 2011-04-23 12:22:47.000000000 +0200
|
||
|
+++ MPlayer-r33304/configure 2011-04-23 12:24:20.000000000 +0200
|
||
|
@@ -3126,6 +3126,10 @@
|
||
|
echocheck $func
|
||
|
eval _$func=no
|
||
|
statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE $_ld_lm && eval _$func=yes
|
||
|
+# override checks for exp2f/log2f(): those exist in the headers but fail linking
|
||
|
+# (maybe only with -Os?)
|
||
|
+_exp2f=no
|
||
|
+_log2f=no
|
||
|
if eval test "x\$_$func" = "xyes"; then
|
||
|
eval def_$func="\"#define HAVE_$(echo $func | tr '[a-z]' '[A-Z]') 1\""
|
||
|
echores yes
|