aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-06-21 17:59:56 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-06-21 18:05:40 +0200
commit1d01fee980edf60215acd94daf2533a9fefb9342 (patch)
tree4ab68c5c9f149e42b604e09779f9deecad0421fa /configure
parent67ffcb9613b7bd35fd37a67a0d2363bd4d564605 (diff)
downloadffmpeg-1d01fee980edf60215acd94daf2533a9fefb9342.tar.gz
fix hardcoded tables compililation caused by missing math constants
Add -D_XOPEN_SOURCE=600 to host cflags to make the constants in math.h available. Include math.h where necessary and remove redundant M_PI defines.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 07608c4df3..14642faee9 100755
--- a/configure
+++ b/configure
@@ -1682,7 +1682,7 @@ SLIB_INSTALL_LINKS='$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)'
AS_O='-o $@'
CC_O='-o $@'
-host_cflags='-D_ISOC99_SOURCE -O3 -g'
+host_cflags='-D_ISOC99_SOURCE -D_XOPEN_SOURCE=600 -O3 -g'
host_libs='-lm'
target_path='$(CURDIR)'