From 7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sat, 7 Feb 2004 12:55:46 +0000 Subject: [PATCH] Remove HAVE_STRPTIME - no longer necessary with the pure Python version of time.strptime(). --- PC/os2emx/pyconfig.h | 3 --- PC/os2vacpp/pyconfig.h | 1 - RISCOS/pyconfig.h | 3 --- configure | 3 +-- configure.in | 2 +- pyconfig.h.in | 3 --- 6 files changed, 2 insertions(+), 13 deletions(-) diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h index 33fbda27e63..044c0001ecc 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 8a27059ed90..d175f51f436 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 */ #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 */ diff --git a/RISCOS/pyconfig.h b/RISCOS/pyconfig.h index bb221e2f55a..9836b45beb9 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 7b3017c8126..6fac192ee68 100755 --- a/configure +++ b/configure @@ -12277,7 +12277,6 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6 - for ac_func in alarm chown clock confstr ctermid execv \ @@ -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 8eb0008d1d6..f05aed4ec04 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 a90ffaf4cff..1cb2281d752 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -471,9 +471,6 @@ /* Define to 1 if you have the 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