don't use the release stuff for Windows CE

SVN revision: 40624
This commit is contained in:
Vincent Torri 2009-05-13 18:42:40 +00:00
parent 8758acd64d
commit 221882c996
1 changed files with 11 additions and 4 deletions

View File

@ -22,16 +22,23 @@ VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
release="ver-pre-svn-01"
release_info="-release $release"
AC_SUBST(VMAJ)
AC_SUBST(version_info)
AC_SUBST(release_info)
### Needed information
MODULE_ARCH="$host_os-$host_cpu-$release"
release="ver-pre-svn-01"
case "$host_os" in
mingw32ce* | cegcc*)
MODULE_ARCH="$host_os-$host_cpu"
;;
*)
release_info="-release $release"
MODULE_ARCH="$host_os-$host_cpu-$release"
;;
esac
AC_SUBST(release_info)
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "${MODULE_ARCH}", "Module architecture")