aboutsummaryrefslogtreecommitdiff
path: root/libf2c/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/aclocal.m4')
-rw-r--r--libf2c/aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/libf2c/aclocal.m4 b/libf2c/aclocal.m4
index 5cd9369..6e63516 100644
--- a/libf2c/aclocal.m4
+++ b/libf2c/aclocal.m4
@@ -1,4 +1,4 @@
-dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+dnl Copyright (C) 1994, 1995-8, 1999, 2001, 2002 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -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"` ;;