diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-04-11 15:35:53 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-04-11 15:35:53 +0000 |
commit | 4dd6a4db3fc0c43d2903784120ffe427904e1696 (patch) | |
tree | f0a470e018a28eebbce4b12bcd9e3ecfe326045e /configure | |
parent | 009ad09d50446d63adbdd050da3b0d75b3bef9ae (diff) | |
download | cpython-4dd6a4db3fc0c43d2903784120ffe427904e1696.tar.gz |
SF patch #706707, time.tzset standards compliance update by Stuart Bishop
Update configure and test to use proper timezone specifications
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.398 . +# From configure.in Revision: 1.400 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for python 2.3. # @@ -908,7 +908,7 @@ esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` @@ -16741,10 +16741,10 @@ int main() int eastern_hour; time_t now; now = time((time_t*)NULL); - putenv("TZ=GMT"); + putenv("TZ=UTC+0"); tzset(); gmt_hour = localtime(&now)->tm_hour; - putenv("TZ=US/Eastern"); + putenv("TZ=EST+5EDT,M4.1.0,M10.5.0"); tzset(); eastern_hour = localtime(&now)->tm_hour; if (eastern_hour == gmt_hour) @@ -17828,7 +17828,7 @@ esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |