summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-02-07 12:55:46 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-02-07 12:55:46 (GMT)
commit7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb (patch)
treeb93f8e9742538a1f8485c90c5911f2c71ae99cda
parent72092941125cb0a3577fbf63294d14a02bb5dd2a (diff)
downloadcpython-7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb.zip
cpython-7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb.tar.gz
cpython-7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb.tar.bz2
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
time.strptime().
-rw-r--r--PC/os2emx/pyconfig.h3
-rw-r--r--PC/os2vacpp/pyconfig.h1
-rw-r--r--RISCOS/pyconfig.h3
-rwxr-xr-xconfigure3
-rw-r--r--configure.in2
-rw-r--r--pyconfig.h.in3
6 files changed, 2 insertions, 13 deletions
diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h
index 33fbda2..044c000 100644
--- a/PC/os2emx/pyconfig.h
+++ b/PC/os2emx/pyconfig.h
@@ -239,9 +239,6 @@ typedef long intptr_t;
/* Define if you have the strftime function. */
#define HAVE_STRFTIME 1
-/* Define if you have the strptime function. */
-#define HAVE_STRPTIME 1
-
/* Define if you have the tcgetpgrp function. */
#define HAVE_TCGETPGRP 1
diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h
index 8a27059..d175f51 100644
--- a/PC/os2vacpp/pyconfig.h
+++ b/PC/os2vacpp/pyconfig.h
@@ -143,7 +143,6 @@ typedef int pid_t;
#define HAVE_FTIME 1 /* We have ftime() in <sys/timeb.h> */
#define HAVE_CLOCK 1 /* clock() */
#define HAVE_STRFTIME 1 /* strftime() */
-#define HAVE_STRPTIME 1 /* strptime() */
#define HAVE_MKTIME 1 /* mktime() */
#define HAVE_TZNAME 1 /* No tm_zone but do have tzname[] */
#define HAVE_TIMES 1 /* #include <sys/times.h> */
diff --git a/RISCOS/pyconfig.h b/RISCOS/pyconfig.h
index bb221e2..9836b45 100644
--- a/RISCOS/pyconfig.h
+++ b/RISCOS/pyconfig.h
@@ -514,9 +514,6 @@
/* Define if you have the strftime function. */
#define HAVE_STRFTIME 1
-/* Define if you have the strptime function. */
-#undef HAVE_STRPTIME
-
/* Define if you have the symlink function. */
#undef HAVE_SYMLINK
diff --git a/configure b/configure
index 7b3017c..6fac192 100755
--- a/configure
+++ b/configure
@@ -12279,7 +12279,6 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6
-
for ac_func in alarm chown clock confstr ctermid execv \
fork fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
@@ -12289,7 +12288,7 @@ for ac_func in alarm chown clock confstr ctermid execv \
putenv readlink realpath \
select setegid seteuid setgid \
setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
- sigaction siginterrupt sigrelse strftime strptime \
+ sigaction siginterrupt sigrelse strftime \
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
truncate uname unsetenv utimes waitpid wcscoll _getpty
do
diff --git a/configure.in b/configure.in
index 8eb0008..f05aed4 100644
--- a/configure.in
+++ b/configure.in
@@ -2012,7 +2012,7 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid execv \
putenv readlink realpath \
select setegid seteuid setgid \
setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
- sigaction siginterrupt sigrelse strftime strptime \
+ sigaction siginterrupt sigrelse strftime \
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
truncate uname unsetenv utimes waitpid wcscoll _getpty)
diff --git a/pyconfig.h.in b/pyconfig.h.in
index a90ffaf..1cb2281 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -471,9 +471,6 @@
/* Define to 1 if you have the <stropts.h> header file. */
#undef HAVE_STROPTS_H
-/* Define to 1 if you have the `strptime' function. */
-#undef HAVE_STRPTIME
-
/* Define to 1 if `st_blksize' is member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BLKSIZE