diff --git a/configure b/configure index 3125c4444d9..7ff3737bda4 100755 --- a/configure +++ b/configure @@ -4288,14 +4288,6 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -case "$srcdir" in - .) ;; - *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then - as_fn_error $? "you are building out of the source tree, but the source tree contains object files. -You need to run 'make distclean' in the source tree first." "$LINENO" 5 - fi ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } diff --git a/configure.ac b/configure.ac index 5e363315967..681d315eed0 100644 --- a/configure.ac +++ b/configure.ac @@ -117,15 +117,6 @@ AC_ARG_WITH(wine64, AS_HELP_STRING([--with-wine64=DIR],[use the 64-bit Wine i AC_CANONICAL_HOST -dnl check for out of tree build with unclean source tree -case "$srcdir" in - .) ;; - *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then - AC_MSG_ERROR([you are building out of the source tree, but the source tree contains object files. -You need to run 'make distclean' in the source tree first.]) - fi ;; -esac - dnl **** Check for some programs **** AC_PROG_MAKE_SET