diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-12-15 05:25:09 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-12-15 05:25:09 (GMT) |
commit | a716eabca79f5da1605d758654b74798b90931d9 (patch) | |
tree | cb333c9e506fc6bef075058ff5b848d6b4677168 /configure | |
parent | b1975436808898d7588a00adec33524bb561089f (diff) | |
download | cpython-a716eabca79f5da1605d758654b74798b90931d9.zip cpython-a716eabca79f5da1605d758654b74798b90931d9.tar.gz cpython-a716eabca79f5da1605d758654b74798b90931d9.tar.bz2 |
Revert r41662 and the part of 41552 that originally caused the problem
(calling ftell(stdin) doesn't seem defined). So we won't test errors
from ftell unless we can do it portably.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 63 |
1 files changed, 1 insertions, 62 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 41662 . +# From configure.in Revision: 39267 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for python 2.5. # @@ -20118,67 +20118,6 @@ _ACEOF fi -echo "$as_me:$LINENO: checking for broken ftell()" >&5 -echo $ECHO_N "checking for broken ftell()... $ECHO_C" >&6 -if test "${ac_cv_broken_ftell+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -if test "$cross_compiling" = yes; then - ac_cv_broken_ftell=no -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include <stdio.h> -int main() -{ - long val = ftell(stdin); - if (val != -1) - exit(0); - exit(1); -} - -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_broken_ftell=yes -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_broken_ftell=no -fi -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -fi - -echo "$as_me:$LINENO: result: $ac_cv_broken_ftell" >&5 -echo "${ECHO_T}$ac_cv_broken_ftell" >&6 -if test "$ac_cv_broken_ftell" = yes -then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_BROKEN_FTELL 1 -_ACEOF - -fi - # Before we can test tzset, we need to check if struct tm has a tm_zone # (which is not required by ISO C or UNIX spec) and/or if we support # tzname[] |