summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-10-18 17:52:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-10-18 17:52:17 (GMT)
commit7c3b7390cf4e423512fe39f238d3891bec7325fb (patch)
treed0602651e2ec4bf4b27f42505b038ea1f09a48c8 /unix
parent3326db522bceddd991709874cad90b82c6fca2d1 (diff)
downloadtcl-7c3b7390cf4e423512fe39f238d3891bec7325fb.zip
tcl-7c3b7390cf4e423512fe39f238d3891bec7325fb.tar.gz
tcl-7c3b7390cf4e423512fe39f238d3891bec7325fb.tar.bz2
* compat/tmpnam.c (removed): The routine tmpnam() is no longer
* unix/Makefile.in: called by Tcl source code. Remove autogoo * unix/configure.in: the supplied a replacement version on * win/tcl.dsp: systems where the routine was not available. [RFE 1811848]. * unix/configure: autoconf-2.59
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in5
-rwxr-xr-xunix/configure3
-rw-r--r--unix/configure.in4
3 files changed, 4 insertions, 8 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 5dd78a1..1b4ad7f 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -4,7 +4,7 @@
# "./configure", which is a configuration script generated by the "autoconf"
# program (constructs like "@foo@" will get replaced in the actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.222 2007/10/11 21:35:01 dgp Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.223 2007/10/18 17:52:18 dgp Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -1504,9 +1504,6 @@ strtol.o: $(COMPAT_DIR)/strtol.c
strtoul.o: $(COMPAT_DIR)/strtoul.c
$(CC) -c $(STUB_CC_SWITCHES) $(COMPAT_DIR)/strtoul.c
-tmpnam.o: $(COMPAT_DIR)/tmpnam.c
- $(CC) -c $(STUB_CC_SWITCHES) $(COMPAT_DIR)/tmpnam.c
-
waitpid.o: $(COMPAT_DIR)/waitpid.c
$(CC) -c $(STUB_CC_SWITCHES) $(COMPAT_DIR)/waitpid.c
diff --git a/unix/configure b/unix/configure
index 629e4df..62eafc1 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9653,8 +9653,7 @@ done
-
-for ac_func in opendir strtol tmpnam waitpid
+for ac_func in opendir strtol waitpid
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/unix/configure.in b/unix/configure.in
index 2ce4f9e..9916420 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.164 2007/10/11 21:35:02 dgp Exp $
+# RCS: @(#) $Id: configure.in,v 1.165 2007/10/18 17:52:19 dgp Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -151,7 +151,7 @@ AC_CHECK_FUNCS(getcwd, , [AC_DEFINE(USEGETWD, 1, [Is getcwd Posix-compliant?])])
# Nb: if getcwd uses popen and pwd(1) (like SunOS 4) we should really
# define USEGETWD even if the posix getcwd exists. Add a test ?
-AC_REPLACE_FUNCS(opendir strtol tmpnam waitpid)
+AC_REPLACE_FUNCS(opendir strtol waitpid)
AC_CHECK_FUNC(strerror, , [AC_DEFINE(NO_STRERROR, 1, [Do we have strerror()])])
AC_CHECK_FUNC(getwd, , [AC_DEFINE(NO_GETWD, 1, [Do we have getwd()])])
AC_CHECK_FUNC(wait3, , [AC_DEFINE(NO_WAIT3, 1, [Do we have wait3()])])