hexversion.m4 182 B

123456
  1. AC_DEFUN([CREATE_HEX_VERSION],[
  2. HEX_VERSION=`echo $VERSION | sed 's|[\-a-z0-9]*$||' | \
  3. awk -F. '{printf "0x%0.2d%0.3d%0.3d", $[]1, $[]2, $[]3}'`
  4. AC_SUBST([HEX_VERSION])
  5. ])