From 4ba4c54add7f291e655fb0a5555f7049a9ed17e9 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 24 May 2011 01:16:58 -0700 Subject: [PATCH] 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) --- ChangeLog | 3 +++ configure.in | 11 ----------- 2 files changed, 3 insertions(+), 11 deletions(-) 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. -- 2.39.2