aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-03 12:52:12 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-03 12:52:12 +0000
commit9d821fc2d22b1306fce7cc595466fd333b448684 (patch)
tree066292eb92eba914478750043b51983a52d21148 /configure
parent892438a3d10459f218235054c633ff9382d8981f (diff)
downloadffmpeg-9d821fc2d22b1306fce7cc595466fd333b448684.tar.gz
Do not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to
CFLAGS. Apparently there are some systems that do not like these definitions. Originally committed as revision 17755 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 1e51ebecb5..2b761fe1e0 100755
--- a/configure
+++ b/configure
@@ -1418,6 +1418,12 @@ if test "$?" != 0; then
fi
check_cflags -std=c99
+check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cflags -D_FILE_OFFSET_BITS=64
+#include <stdlib.h>
+EOF
+check_cc -D_LARGEFILE_SOURCE <<EOF && add_cflags -D_LARGEFILE_SOURCE
+#include <stdlib.h>
+EOF
case "$arch" in
alpha)