added MouseWheel event support for Silverlight 3.0
[moon.git] / m4 / utilities.m4
blobdf0c1baba0bdc657974d04566cb08285388ebb0c
1 AC_DEFUN([MOON_ARG_ENABLED_DISABLED_BY_DEFAULT],
3         case "$1" in
4                 enable) enableval=no ;;
5                 disable) enableval=yes ;;
6                 *) AC_ERROR(Invalid arguments to m4 macro) ;;
7         esac
9         AC_ARG_ENABLE([$2], AC_HELP_STRING([--$1-$2], [$3]), [])        
12 AC_DEFUN([MOON_ARG_ENABLED_BY_DEFAULT], [MOON_ARG_ENABLED_DISABLED_BY_DEFAULT([disable], [$1], [$2])])
13 AC_DEFUN([MOON_ARG_DISABLED_BY_DEFAULT], [MOON_ARG_ENABLED_DISABLED_BY_DEFAULT([enable], [$1], [$2])])