summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-11-24 20:12:17 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-11-24 20:12:17 (GMT)
commitd6081589259d1d89b00f356d279aef95d395ba2c (patch)
tree208920819158ac89ef4160e5c3ed3eb9cfebee79 /unix/configure
parent29adaea589aecef2abd89539f90534d4aed48258 (diff)
downloadtcl-d6081589259d1d89b00f356d279aef95d395ba2c.zip
tcl-d6081589259d1d89b00f356d279aef95d395ba2c.tar.gz
tcl-d6081589259d1d89b00f356d279aef95d395ba2c.tar.bz2
* unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check for
3-argument readdir_r [Bug 1001325]. * unix/configure: Regenerated. * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index 9d86d48..1bc459b 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4966,6 +4966,8 @@ fi
done
if test "x$ac_cv_func_readdir_r" = "xyes"; then
+ echo "$as_me:$LINENO: checking how many args readdir_r takes" >&5
+echo $ECHO_N "checking how many args readdir_r takes... $ECHO_C" >&6
# IRIX 5.3 has a 2 arg version of readdir_r
# while other systems have a 3 arg version.
if test "${tcl_cv_two_arg_readdir_r+set}" = set; then
@@ -4978,6 +4980,7 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/dir.h>
int
@@ -5020,6 +5023,7 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/dir.h>
int
@@ -5053,11 +5057,15 @@ rm -f conftest.$ac_objext conftest.$ac_ext
fi
if test "x$tcl_cv_two_arg_readdir_r" = "xyes" ; then
+ echo "$as_me:$LINENO: result: 2" >&5
+echo "${ECHO_T}2" >&6
cat >>confdefs.h <<\_ACEOF
#define HAVE_TWO_ARG_READDIR_R 1
_ACEOF
elif test "x$tcl_cv_three_arg_readdir_r" = "xyes" ; then
+ echo "$as_me:$LINENO: result: 3" >&5
+echo "${ECHO_T}3" >&6
cat >>confdefs.h <<\_ACEOF
#define HAVE_THREE_ARG_READDIR_R 1
_ACEOF