From 695a6066cfe7ad0e568edc596b8704bb9bf8754f Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sat, 13 Dec 2008 04:20:20 -0200 Subject: Janitor/maintenance patches. o Define HAVE_XMODES in config.h. o Correct the LEAVE() macro declaration when SMI_DEBUG is defined. o Remove prototype for SMI_DGAInit() if HAVE_XMODES is not defined. o Properly scale value read from sm501 CURRENT_CLOCK register, to print an appropriate message on startup. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a42c14a..c157792 100644 --- a/configure.ac +++ b/configure.ac @@ -78,7 +78,7 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes) AM_CONDITIONAL(XMODES, test "x$XMODES" = xyes) if test "x$XMODES" = xyes; then - XORG_CFLAGS="$XORG_CFLAGS -DHAVE_XMODES" + AC_DEFINE(HAVE_XMODES, 1, [X server has new mode code]) fi AC_SUBST([XORG_CFLAGS]) -- cgit v1.2.3