diff configure @ 23779:56aa4200a492

Remove unused scandir() check and fallback implementation.
author diego
date Tue, 17 Jul 2007 09:45:10 +0000
parents ba16c3a35250
children c356d375517d
line wrap: on
line diff
--- a/configure	Tue Jul 17 09:41:47 2007 +0000
+++ b/configure	Tue Jul 17 09:45:10 2007 +0000
@@ -3323,22 +3323,6 @@
 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 @@
 
 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 @@
 /* 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