From: Skip Montanaro Date: Sat, 7 Feb 2004 12:55:46 +0000 (+0000) Subject: Remove HAVE_STRPTIME - no longer necessary with the pure Python version of X-Git-Tag: v2.4a1~862 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e11a016e6e6baa20e85557e8f346d0fcbb9d5eb;p=thirdparty%2FPython%2Fcpython.git Remove HAVE_STRPTIME - no longer necessary with the pure Python version of time.strptime(). --- diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h index 33fbda27e63e..044c0001ecc2 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 8a27059ed90f..d175f51f4362 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 bb221e2f55a1..9836b45beb99 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 7b3017c81269..6fac192ee689 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 8eb0008d1d68..f05aed4ec04f 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 a90ffaf4cff2..1cb2281d7525 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