From e687aa335a21662f67d2d73063272504a171ffab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vincent=20Bela=C3=AFche?= Date: Sun, 25 Aug 2013 22:11:56 +0200 Subject: [PATCH] Add a question into configure.bat whether the user want to continue at his/her own risks. --- nt/ChangeLog | 6 ++++++ nt/configure.bat | 18 ++++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index 3fffa106c89..ebc823071a3 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,9 @@ +2013-08-25 Vincent Belaïche + + * configure.bat: Rather than disabling, make configure.bat produce + some warning that building with configure.bat is deprecated and + ask for confirmation to continue. + 2013-08-25 Glenn Morris * INSTALL: Refer to INSTALL.MSYS. diff --git a/nt/configure.bat b/nt/configure.bat index 74ecbc7fd7e..8f717fd4168 100755 --- a/nt/configure.bat +++ b/nt/configure.bat @@ -58,10 +58,20 @@ rem look for "cygpath" near line 85 of gmake.defs. rem [7] not recommended; please report if you try this combination. rem [8] tested only on Windows XP. rem -echo This method of building Emacs is no longer supported. -echo Instead, follow the instructions from INSTALL.MSYS. -goto end - +echo **************************************************************** +echo *** THIS METHOD OF BUILDING EMACS IS NO LONGER SUPPORTED. ** +echo *** INSTEAD, FOLLOW THE INSTRUCTIONS FROM INSTALL.MSYS. ** +echo **************************************************************** +:confirm_continue +set /p answer=Continue running this script at your own risks ? (Y/N) +if x%answer% == xy (goto confirm_continue_y) +if x%answer% == xY (goto confirm_continue_y) +if x%answer% == xn (goto end) +if x%answer% == xN (goto end) +echo Please answer by Y or N +goto confirm_continue + +:confirm_continue_y if exist config.log del config.log rem ---------------------------------------------------------------------- -- 2.39.2