* configure.ac: Fix yesterday's use of uninitialised $version.
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Nov 2014 16:43:52 +0000 (08:43 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Nov 2014 16:43:52 +0000 (08:43 -0800)
ChangeLog
configure.ac

index 808f3a04717e7970f9ab7472c5e29403c5a9ff94..8e34db90dd5e22448829fdbd073f689e207a6a68 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-25  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac: Fix yesterday's use of uninitialised $version.
+
 2014-11-25  Oscar Fuentes  <ofv@wanadoo.es>
 
        * configure.ac [MINGW]: Set $canonical default value as per the
index 6b6b1c7d22f66763e7080b3d9988bda1294a3120..8830ec7e0900fc2f6d5e9ce85db4e5d2651ab609 100644 (file)
@@ -1914,7 +1914,7 @@ if test "${HAVE_W32}" = "yes"; then
     *) EMACS_MANIFEST="emacs-x86.manifest" ;;
   esac
   dnl Construct something of the form "24,4,0,0" with 4 components.
-  comma_version=`echo "$version.0.0" | sed -e 's/\./,/g' -e 's/^\([[^,]]*,[[^,]]*,[[^,]]*,[[^,]]*\).*/\1/'`
+  comma_version=`echo "${PACKAGE_VERSION}.0.0" | sed -e 's/\./,/g' -e 's/^\([[^,]]*,[[^,]]*,[[^,]]*,[[^,]]*\).*/\1/'`
 
   comma_space_version=`echo "$comma_version" | sed 's/,/, /g'`
   AC_SUBST(comma_version)