From 2eb4509a180a165e4c92fa15eaa0722b41f97c7e Mon Sep 17 00:00:00 2001
From: ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 8 May 2002 18:26:56 +0000
Subject: [PATCH] 	* config-ml.in: Allow for PWDCMD to determine
 ML_POPDIR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53297 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog    | 4 ++++
 config-ml.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0b7656b6850f..b58681b78740 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-08  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+	* config-ml.in: Allow for PWDCMD to determine ML_POPDIR.
+
 2002-05-06  Loren J. Rittle <ljrittle@acm.org>
 
 	* ltmain.sh: Detect and handle object name conflicts
diff --git a/config-ml.in b/config-ml.in
index 16885f95f0e1..a2780356a0c0 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -756,7 +756,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
     esac
 
     # FIXME: POPDIR=${PWD=`pwd`} doesn't work here.
-    ML_POPDIR=`pwd`
+    ML_POPDIR=`${PWDCMD-pwd}`
     cd ${ml_dir}/${ml_libdir}
 
     if [ -f ${ml_newsrcdir}/configure ]; then
-- 
GitLab