projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4db89
)
Fix building under paths with symlinks (patch from Richard Purdie).
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Feb 2008 04:22:24 +0000
(
04:22
+0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Feb 2008 04:22:24 +0000
(
04:22
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3956
c046a42c
-6fe2-441c-8c8c-
71466251a162
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index bcb958dbc57bdc6a00ecc2052ca7a63bf52b3068..55f101fc27cf4f511150cd9f640500d64f16de9e 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-205,15
+205,17
@@
fi
# find source path
source_path=`dirname "$0"`
+source_path_used="no"
+workdir=`pwd`
+workdir=`readlink -f $workdir`
if [ -z "$source_path" ]; then
- source_path=
`pwd`
+ source_path=
$workdir
else
source_path=`cd "$source_path"; pwd`
-fi
-if test "$source_path" = `pwd` ; then
- source_path_used="no"
-else
- source_path_used="yes"
+ source_path=`readlink -f $source_path`
+ if test "$source_path" != "$workdir" ; then
+ source_path_used="yes"
+ fi
fi
werror="no"