summaryrefslogtreecommitdiff
path: root/Build/source/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/configure.in')
-rw-r--r--Build/source/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/configure.in b/Build/source/configure.in
index b2961fd91ee..80d3ff56801 100644
--- a/Build/source/configure.in
+++ b/Build/source/configure.in
@@ -241,7 +241,7 @@ for pkg in $PKGS; do
if test $pkg = sam2p; then
# attempt to discover if srcdir = builddir.
dir1=`cd $srcdir/utils/sam2p && /bin/pwd`
- dir2=`cd utils/sam2p && /bin/pwd`
+ dir2=`cd utils/sam2p 2>/dev/null && /bin/pwd`
if test "$dir1" != "$dir2"; then
# this is a terrible kludge, but sam2p configure actively
# defeats srcdir!=objdir support, and Peter S. doesn't want to