From: Glenn Morris Date: Tue, 25 Nov 2014 16:43:52 +0000 (-0800) Subject: * configure.ac: Fix yesterday's use of uninitialised $version. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~3423^2~355 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7dbd10d530f9c5688ad76e5ddabf53e3cd5579cf;p=emacs.git * configure.ac: Fix yesterday's use of uninitialised $version. --- diff --git a/ChangeLog b/ChangeLog index 808f3a04717..8e34db90dd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-11-25 Glenn Morris + + * configure.ac: Fix yesterday's use of uninitialised $version. + 2014-11-25 Oscar Fuentes * configure.ac [MINGW]: Set $canonical default value as per the diff --git a/configure.ac b/configure.ac index 6b6b1c7d22f..8830ec7e090 100644 --- a/configure.ac +++ b/configure.ac @@ -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)