Fix a bug in build_w32.bat when building a released tarball.
authorEli Zaretskii <eliz@gnu.org>
Fri, 17 May 2013 10:34:24 +0000 (13:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 17 May 2013 10:34:24 +0000 (13:34 +0300)
 build_w32.bat: Copy config.h.W32 to config.h regardless of
 whether or not we are building from SCM.

ChangeLog
build_w32.bat

index 9377e9097e2b351b1cd370f959e6e7fa7db17850..b3dd5a6b54a75cbf89d98ca26b102a9e3df27cb7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * build_w32.bat: Copy config.h.W32 to config.h regardless of
+       whether or not we are building from SCM.
+
 2013-05-17  Paul Smith  <psmith@gnu.org>
 
        * configure.ac: Update version to 3.99.90.
index 43ae6e2df8026c3d7ba6e362390adc1ce3980a57..bc554fea6949744e7abe46241d2dcf817b490aa9 100644 (file)
@@ -21,11 +21,11 @@ if not exist config.h.W32.template GoTo NotSCM
 sed -n "s/^AC_INIT(\[GNU make\],\[\([^]]\+\)\].*/s,%%VERSION%%,\1,g/p" configure.ac > config.h.W32.sed\r
 echo s,%%PACKAGE%%,make,g >> config.h.W32.sed\r
 sed -f config.h.W32.sed config.h.W32.template > config.h.W32\r
-copy config.h.W32 config.h\r
 echo static const char *const GUILE_module_defn = ^" \> gmk-default.h\r
 sed -e "s/;.*//" -e "/^[ \t]*$/d" -e "s/\"/\\\\\"/g" -e "s/$/ \\/" gmk-default.scm >> gmk-default.h\r
 echo ^";>> gmk-default.h\r
 :NotSCM\r
+copy config.h.W32 config.h\r
 \r
 rem Guile configuration\r
 set GUILECFLAGS=\r