From 7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sat, 7 Feb 2004 12:55:46 +0000 Subject: 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 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 */ #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 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 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 -- cgit v0.12