summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-12 10:40:38 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-12 10:40:38 +0000
commite40b5a0509ebee9406e4651c99f3c7f89bd89ac8 (patch)
tree4bbc67311223c1ba0d746b9cf4a375e119220ad3 /configure
parent90bfc582ca7c54b57c2c303ec8b43b00dd45d8d9 (diff)
downloadmpv-e40b5a0509ebee9406e4651c99f3c7f89bd89ac8.tar.bz2
mpv-e40b5a0509ebee9406e4651c99f3c7f89bd89ac8.tar.xz
BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com>
- tvi interface changes, grab_audio/video now returns timestamp! - tv demuxer gets 'ds' hint too - some verbose skip/dup counters to mencoder - tvi_bsdbt848.c updates - aviwrite/mencoder size types int->off_t git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5573 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index 4d1a0c764a..4958a62869 100755
--- a/configure
+++ b/configure
@@ -3228,6 +3228,21 @@ if test "$_largefiles" = yes || freebsd ; then
fi
fi
+echocheck "ftello()"
+# if we dont have ftello map it to ftell
+cat > $TMPC << EOF
+#include <stdio.h>
+int main (void) { ftello(stdin); return 0; }
+EOF
+_ftello=no
+cc_check && _ftello=yes
+if test "$_ftello" = yes ; then
+ _def_ftello='#define HAVE_FTELLO 1'
+else
+ _def_ftello='#undef HAVE_FTELLO'
+fi
+echores "$_ftello"
+
# Determine OS dependent libs
if cygwin ; then
_confcygwin='TARGET_CYGWIN = yes'
@@ -3507,6 +3522,13 @@ $_def_rtc
/* Define this if your system has the header file for the OSS sound interface */
$_def_sys_soundcard
+/* Define this if your system uses ftello() for off_t seeking */
+
+$_def_ftello
+#ifndef HAVE_FTELLO
+# define ftello(a) ftell(a)
+#endif
+
/* Define this if your system has the "malloc.h" header file */
$_def_malloc