[MPlayer-cvslog] r23798 - in trunk: configure osdep/Makefile osdep/ftello.c
diego
subversion at mplayerhq.hu
Tue Jul 17 11:41:47 CEST 2007
Author: diego
Date: Tue Jul 17 11:41:47 2007
New Revision: 23798
Log:
Remove unused ftello() check and fallback implementation.
Removed:
trunk/osdep/ftello.c
Modified:
trunk/configure
trunk/osdep/Makefile
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Tue Jul 17 11:41:47 2007
@@ -7128,23 +7128,6 @@ else
echores "no"
fi
-echocheck "ftello()"
-# if we don't have ftello use the osdep/ compatibility module
-cat > $TMPC << EOF
-#include <stdio.h>
-#include <sys/types.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'
- _need_ftello=no
-else
- _def_ftello='#undef HAVE_FTELLO'
- _need_ftello=yes
-fi
-echores "$_ftello"
# Dynamic linking flags
# (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly)
@@ -7411,7 +7394,6 @@ HAVE_XVMC_ACCEL = $_xvmc
HAVE_SYS_MMAN_H = $_mman
HAVE_POSIX_SELECT = $_posix_select
-NEED_FTELLO = $_need_ftello
NEED_GETTIMEOFDAY = $_need_gettimeofday
NEED_GLOB = $_need_glob
NEED_SCANDIR = $_need_scandir
@@ -7734,16 +7716,6 @@ $_def_soundcard
/* Define this if your system has the sysinfo header */
$_def_sys_sysinfo
-/* Define this if your system has ftello() */
-
-$_def_ftello
-#ifndef HAVE_FTELLO
-/* Need these for FILE and off_t an config.h is usually before other includes*/
-#include <stdio.h>
-#include <sys/types.h>
-off_t ftello(FILE *);
-#endif
-
/* Define this if your system has the "malloc.h" header file */
$_def_malloc
Modified: trunk/osdep/Makefile
==============================================================================
--- trunk/osdep/Makefile (original)
+++ trunk/osdep/Makefile Tue Jul 17 11:41:47 2007
@@ -5,7 +5,6 @@ LIBNAME_COMMON = libosdep.a
SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c
SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
-SRCS_COMMON-$(NEED_FTELLO) += ftello.c
SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c
SRCS_COMMON-$(NEED_GLOB) += glob-win.c
SRCS_COMMON-$(NEED_SCANDIR) += scandir.c
More information about the MPlayer-cvslog
mailing list