Make VIDEO_DEBUG into a configure option
This commit is contained in:
parent
1d4cfaa391
commit
adae75ef2f
10
configure.ac
10
configure.ac
|
|
@ -65,6 +65,11 @@ AC_ARG_ENABLE(dri, AC_HELP_STRING([--disable-dri],
|
|||
[DRI="$enableval"],
|
||||
[DRI=auto])
|
||||
|
||||
AC_ARG_ENABLE(video-debug, AC_HELP_STRING([--enable-video-debug],
|
||||
[Enable video debugging support [[default=no]]]),
|
||||
[VIDEO_DEBUG="$enableval"],
|
||||
[VIDEO_DEBUG=no])
|
||||
|
||||
|
||||
# Checks for extensions
|
||||
XORG_DRIVER_CHECK_EXT(XINERAMA, xineramaproto)
|
||||
|
|
@ -122,6 +127,11 @@ if test "$DRI" = yes; then
|
|||
AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(VIDEO_DEBUG, test x$VIDEO_DEBUG = xyes)
|
||||
if test "$VIDEO_DEBUG" = yes; then
|
||||
AC_DEFINE(VIDEO_DEBUG,1,[Enable debug support])
|
||||
fi
|
||||
|
||||
AC_SUBST([DRI_CFLAGS])
|
||||
AC_SUBST([XORG_CFLAGS])
|
||||
AC_SUBST([moduledir])
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#define VIDEO_DEBUG 0
|
||||
/***************************************************************************
|
||||
|
||||
Copyright 2000 Intel Corporation. All Rights Reserved.
|
||||
|
|
|
|||
Loading…
Reference in New Issue