summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-17 09:45:10 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-17 09:45:10 +0000
commitb21bbf2505b8950d2ca9c6254fb772cd5534bb0d (patch)
tree44d353cbdc45c50a1402ede45ddc6af2634887ad /configure
parentb6b143c5dcba4d4196e524ab45d467da136f33f5 (diff)
downloadmpv-b21bbf2505b8950d2ca9c6254fb772cd5534bb0d.tar.bz2
mpv-b21bbf2505b8950d2ca9c6254fb772cd5534bb0d.tar.xz
Remove unused scandir() check and fallback implementation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23799 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 0 insertions, 20 deletions
diff --git a/configure b/configure
index ed356f8316..79e057ab83 100755
--- a/configure
+++ b/configure
@@ -3323,22 +3323,6 @@ fi
echores "$_shm"
-echocheck "scandir()"
-cat > $TMPC << EOF
-int main (void) { scandir("", 0, 0, 0); alphasort(0, 0); return 0; }
-EOF
-_scandir=no
-cc_check && _scandir=yes
-if test "$_scandir" = yes ; then
- _def_scandir='#define HAVE_SCANDIR 1'
- _need_scandir=no
-else
- _def_scandir='#undef HAVE_SCANDIR'
- _need_scandir=yes
-fi
-echores "$_scandir"
-
-
echocheck "strsep()"
cat > $TMPC << EOF
#include <string.h>
@@ -7396,7 +7380,6 @@ HAVE_POSIX_SELECT = $_posix_select
NEED_GETTIMEOFDAY = $_need_gettimeofday
NEED_GLOB = $_need_glob
-NEED_SCANDIR = $_need_scandir
NEED_SETENV = $_need_setenv
NEED_SHMEM = $_need_shmem
NEED_STRSEP = $_need_strsep
@@ -7749,9 +7732,6 @@ $_def_zlib
/* Define this if you have shm support */
$_def_shm
-/* Define this if your system has scandir & alphasort */
-$_def_scandir
-
/* Define this if your system has strsep */
$_def_strsep