[PATCH input-acecad 1/7] config: remove AH_TOP autoheader statement
Gaetan Nadon
memsize at videotron.ca
Mon Apr 12 14:10:57 PDT 2010
The generated config.h does not need to include xorg-server.h
for the content it provides.
Add #include <xorg-server.h> in .[hc] files as needed.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
configure.ac | 2 --
src/acecad.c | 1 +
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d71f9d7..fd7d1cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,8 +45,6 @@ AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
-AH_TOP([#include "xorg-server.h"])
-
AC_ARG_WITH(xorg-module-dir,
AC_HELP_STRING([--with-xorg-module-dir=DIR],
[Default xorg module directory [[default=$libdir/xorg/modules]]]),
diff --git a/src/acecad.c b/src/acecad.c
index 61e4c21..a30dc0d 100644
--- a/src/acecad.c
+++ b/src/acecad.c
@@ -26,6 +26,7 @@
#include "config.h"
+#include <xorg-server.h>
#include <xorgVersion.h>
#define XORG_VERSION_BOTCHED XORG_VERSION_NUMERIC(1,4,0,0,0)
#if XORG_VERSION_CURRENT >= XORG_VERSION_BOTCHED
--
1.6.0.4
More information about the xorg-devel
mailing list