mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
remove support for compiling on systems without getcwd()
Do we need a fallback implementation of getcwd() from 1991 that claims to support "really old Unix systems"? I don't think so.
This commit is contained in:
parent
12d5e0f016
commit
3a7dffa4ce
7 changed files with 31 additions and 138 deletions
13
configure
vendored
13
configure
vendored
|
@ -11379,19 +11379,6 @@ esac
|
|||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
|
||||
if test "x$ac_cv_func_getcwd" = xyes; then :
|
||||
$as_echo "#define HAVE_GETCWD 1" >>confdefs.h
|
||||
|
||||
else
|
||||
case " $LIBOBJS " in
|
||||
*" getcwd.$ac_objext "* ) ;;
|
||||
*) LIBOBJS="$LIBOBJS getcwd.$ac_objext"
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
|
||||
if test "x$ac_cv_func_strdup" = xyes; then :
|
||||
$as_echo "#define HAVE_STRDUP 1" >>confdefs.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue