[PATCH 7/9] [kdrive] Add option to compile out input drivers

Daniel Stone daniel at fooishbar.org
Mon Jan 4 18:01:21 PST 2010


Hi,

On Sat, Jan 02, 2010 at 08:32:57PM +0600, Mikhail Gusarov wrote:
> @@ -2023,6 +2027,19 @@ if test "$KDRIVE" = yes; then
>          fi
>      fi
>  
> +    AM_CONDITIONAL(KDRIVE_KBD, test x$KDRIVE_KBD = xyes)
> +    if test x$KDRIVE_KBD = xyes; then
> +       AC_DEFINE(KDRIVE_KBD, 1, [Enable KDrive kbd driver])
> +    fi
> +    AM_CONDITIONAL(KDRIVE_EVDEV, test x$KDRIVE_EVDEV = xyes)
> +    if test x$KDRIVE_EVDEV = xyes; then
> +       AC_DEFINE(KDRIVE_EVDEV, 1, [Enable KDrive evdev driver])
> +    fi
> +    AM_CONDITIONAL(KDRIVE_MOUSE, test x$KDRIVE_MOUSE = xyes)
> +    if test x$KDRIVE_MOUSE = xyes; then
> +       AC_DEFINE(KDRIVE_MOUSE, 1, [Enable KDrive mouse driver])
> +    fi
> +
>      XEPHYR_REQUIRED_LIBS="x11 $LIBXEXT xfont xau xdmcp"
>      if test "x$XV" = xyes; then
>          XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS xv"

AM_CONDITIONALs must always be at the top level; AC_DEFINEs are okay
tho.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100105/fefbeb12/attachment.pgp 


More information about the xorg-devel mailing list