about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index fc260c1bd3..97240bcc43 100644
--- a/configure.in
+++ b/configure.in
@@ -68,9 +68,11 @@ AC_ARG_WITH(elf, dnl
 AC_ARG_WITH(cvs, dnl
 [  --without-cvs           if CVS should not be used],
 	    with_cvs=$withval, with_cvs=yes)
-if test "$with_cvs" = yes && test -d CVS && grep :pserver: CVS/Root > /dev/null
-then
-  with_cvs=no
+if test "$with_cvs" = yes; then
+  if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
+  then
+    with_cvs=no
+  fi
 fi
 AC_SUBST(with_cvs)