diff options
-rw-r--r-- | autoconf/configure.ac | 2 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index ec25ff8942..fee1c2c4be 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -190,7 +190,7 @@ dnl command line switches. When we build with a CVS directory, we get a dnl debug with assertions turned on. Without, we assume a source release and we dnl get an optimized build without assertions. See --enable-optimized and dnl --enable-assertions below -if test -d "CVS" ; then +if test -d "CVS" -o -d "${srcdir}/CVS"; then cvsbuild="yes" optimize="no" asserts="yes" @@ -2968,7 +2968,7 @@ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} esac -if test -d "CVS" ; then +if test -d "CVS" -o -d "${srcdir}/CVS"; then cvsbuild="yes" optimize="no" asserts="yes" |