1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Use shell's builtin pwd.

Insisting on /bin/pwd is unnecessary nowadays.  Autoconf-generated
scripts have been using the shell's built-in "pwd" for a long time.`
This commit is contained in:
Ludovic Courtès
2015-12-02 23:58:15 -05:00
committed by Carlos O'Donell
parent 4de3b51e08
commit db340c904d
5 changed files with 18 additions and 19 deletions

2
configure vendored
View File

@ -3228,7 +3228,7 @@ if test $libc_cv_cxx_link_ok != yes; then :
CXX=
fi
if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
if test "`cd $srcdir; pwd -P`" = "`pwd -P`"; then
as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
fi