]> code.delx.au - gnu-emacs/commitdiff
Add a question into configure.bat whether the user want to continue at
authorVincent Belaïche <vincentb1@users.sourceforge.net>
Sun, 25 Aug 2013 20:11:56 +0000 (22:11 +0200)
committerVincent Belaïche <vincentb1@users.sourceforge.net>
Sun, 25 Aug 2013 20:11:56 +0000 (22:11 +0200)
his/her own risks.

nt/ChangeLog
nt/configure.bat

index 3fffa106c890b3b8656ef0a1a481bcfdb393798e..ebc823071a355d9c7a48daed80d3bde43f445b32 100644 (file)
@@ -1,3 +1,9 @@
+2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
+
+       * 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  <rgm@gnu.org>
 
        * INSTALL: Refer to INSTALL.MSYS.
index 74ecbc7fd7e70f7c4fc2b7fa80ffed132613e92c..8f717fd41686381d393f6fd3b1635621c9d721a9 100755 (executable)
@@ -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.\r
 rem [8] tested only on Windows XP.\r
 rem\r
-echo This method of building Emacs is no longer supported.\r
-echo Instead, follow the instructions from INSTALL.MSYS.\r
-goto end\r
-\r
+echo ****************************************************************\r
+echo *** THIS METHOD OF BUILDING EMACS IS NO LONGER SUPPORTED.     **\r
+echo *** INSTEAD, FOLLOW THE INSTRUCTIONS FROM INSTALL.MSYS.       **\r
+echo ****************************************************************\r
+:confirm_continue\r
+set /p answer=Continue running this script at your own risks ? (Y/N)\r
+if x%answer% == xy (goto confirm_continue_y)\r
+if x%answer% == xY (goto confirm_continue_y)\r
+if x%answer% == xn (goto end)\r
+if x%answer% == xN (goto end)\r
+echo Please answer by Y or N\r
+goto confirm_continue\r
+\r
+:confirm_continue_y\r
 if exist config.log del config.log\r
 \r
 rem ----------------------------------------------------------------------\r