Do not overwrite config.status while executing it.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Jul 2012 20:34:58 +0000 (13:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Jul 2012 20:34:58 +0000 (13:34 -0700)
commit8f25abd317c64e2a69e1839633382841c3848a2d
treeb935c1910d2babd5f8646c8a7654f859420e534f
parentadff3182ba51523423ce15cf26347c2b8b130826
Do not overwrite config.status while executing it.

* Makefile.in (MAKEFILE_NAME): New macro.
($(MAKEFILE_NAME)): Rename rule from Makefile.
* configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
so that GNU 'make' isn't tempted to make the Makefile and then
regenerate config.status while config.status is running.

Fixes: debbugs:11214
ChangeLog
Makefile.in
configure.ac