diff options
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/aclocal.m4 | 2 | ||||
-rwxr-xr-x | libobjc/configure | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 2c6f5e42af8..71ae5f71cdf 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. + * configure: Regenerate. + 2002-05-08 Alexandre Oliva <aoliva@redhat.com> * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at diff --git a/libobjc/aclocal.m4 b/libobjc/aclocal.m4 index 0dfc1d3017e..5c21df689ab 100644 --- a/libobjc/aclocal.m4 +++ b/libobjc/aclocal.m4 @@ -48,7 +48,7 @@ AC_SUBST(toplevel_srcdir) # These need to be absolute paths, yet at the same time need to # canonicalize only relative paths, because then amd will not unmount # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd. -glibcpp_builddir=`pwd` +glibcpp_builddir=`${PWDCMD-pwd}` case $srcdir in [\\/$]* | ?:[\\/]*) glibcpp_srcdir=${srcdir} ;; *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;; diff --git a/libobjc/configure b/libobjc/configure index 8f55d9f0178..e507277db61 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -800,7 +800,7 @@ toplevel_srcdir=\${top_srcdir}/$toprel # These need to be absolute paths, yet at the same time need to # canonicalize only relative paths, because then amd will not unmount # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd. -glibcpp_builddir=`pwd` +glibcpp_builddir=`${PWDCMD-pwd}` case $srcdir in \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;; *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;; |