aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-07-28 05:05:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-07-28 05:05:00 +0000
commitaea7fe4abd1f54edd3cbdadcbd8f0e2e99c5acf3 (patch)
tree4ed17a7390c8dd885180d0037c7f237e2e63cec7 /autoconf
parentd91e5f911f5fc840725771d3b27211b9748659e3 (diff)
downloadexternal_llvm-aea7fe4abd1f54edd3cbdadcbd8f0e2e99c5acf3.zip
external_llvm-aea7fe4abd1f54edd3cbdadcbd8f0e2e99c5acf3.tar.gz
external_llvm-aea7fe4abd1f54edd3cbdadcbd8f0e2e99c5acf3.tar.bz2
For PR848:
1. Get the path to the pwd binary (/bin/pwd usually) from configure. 2. Use that path to run pwd in all path variables set in Makefile.config.in The hope is that these changes will resolve symlinks to physical paths. This should work on all platforms where the binary pwd defaults to printing physical paths. The shell version of pwd generally doesn't (it will print the symlink path). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 3a40d9b..6d16244 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -374,6 +374,7 @@ AC_PROG_RANLIB
AC_PATH_PROG(RM, [rm], [rm])
AC_PATH_PROG(SED, [sed], [sed])
AC_PATH_PROG(TAR, [tar], [gtar])
+AC_PATH_PROG(BINPWD,[pwd], [pwd])
dnl Looking for misc. graph plotting software
AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])