From: Glenn Morris Date: Tue, 24 May 2011 08:16:58 +0000 (-0700) Subject: Remove dead code in configure.in. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ba4c54add7f291e655fb0a5555f7049a9ed17e9;p=emacs.git Remove dead code in configure.in. * configure.in: Remove test for already configured source directory. AM_INIT_AUTOMAKE has already done a more stringent test. (Bug#953) --- diff --git a/ChangeLog b/ChangeLog index 61d23540e55..1175988d897 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ 2011-05-24 Glenn Morris + * configure.in: Remove test for already configured source directory. + AM_INIT_AUTOMAKE has already done a more stringent test. (Bug#953) + * Makefile.in (TAGS, tags, check): Pass MFLAGS to sub-makes. * configure.in (OPT_MAKEFILES_IN): Remove. diff --git a/configure.in b/configure.in index c8f561a6c5e..aa7d890781c 100644 --- a/configure.in +++ b/configure.in @@ -364,17 +364,6 @@ case "${srcdir}" in * ) srcdir="`(cd ${srcdir}; pwd)`" ;; esac -#### Check if the source directory already has a configured system in it. -if test `pwd` != `(cd ${srcdir} && pwd)` \ - && test -f "${srcdir}/src/config.h" ; then - AC_MSG_WARN([[The directory tree `${srcdir}' is being used - as a build directory right now; it has been configured in its own - right. To configure in another directory as well, you MUST - use GNU make. If you do not have GNU make, then you must - now do `make distclean' in ${srcdir}, - and then run $0 again.]]) -fi - #### Given the configuration name, set machfile and opsysfile to the #### names of the m/*.h and s/*.h files we should use.