aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure b/configure
index 9b2bdb1bcb..e059f4d30e 100755
--- a/configure
+++ b/configure
@@ -260,10 +260,13 @@ case $ARCH in
fi
esac
-# Is the source tree checked out from svn ?
+# Is the source tree checked out from a recognised
+# version control system ?
if test -e .svn/entries ; then
- checkedout=1
-else
+ checkedout=svn
+elif [ -d '{arch}' ]; then
+ checkedout=gnuarch
+else
checkedout=0
fi