1dnl Copyright (C) 2009 Sun Microsystems 2dnl This file is free software; Sun Microsystems 3dnl gives unlimited permission to copy and/or distribute it, 4dnl with or without modifications, as long as this notice is preserved. 5 6AC_DEFUN([PANDORA_VERSION],[ 7 8 PANDORA_HEX_VERSION=`echo $VERSION | sed 's|[\-a-z0-9]*$||' | \ 9 awk -F. '{printf "0x%0.2d%0.3d%0.3d", $[]1, $[]2, $[]3}'` 10 AC_SUBST([PANDORA_HEX_VERSION]) 11]) 12