* configure.ac: Fix yesterday's use of uninitialised $version.

This commit is contained in:
Glenn Morris 2014-11-25 08:43:52 -08:00
parent cfe0d44ecb
commit 7dbd10d530
2 changed files with 5 additions and 1 deletions

View file

@ -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

View 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)