[PATCH input-aiptek 1/7] config: remove AH_TOP autoheader statement

Gaetan Nadon memsize at videotron.ca
Thu Apr 15 09:51:04 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     |    1 -
 src/xf86Aiptek.h |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7c090f8..6395548 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +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],
diff --git a/src/xf86Aiptek.h b/src/xf86Aiptek.h
index 2842775..810185b 100644
--- a/src/xf86Aiptek.h
+++ b/src/xf86Aiptek.h
@@ -56,6 +56,7 @@
 #   endif
 #endif
 
+#include <xorg-server.h>
 #include <xorgVersion.h>
 
 #ifndef XFree86LOADER
-- 
1.6.0.4



More information about the xorg-devel mailing list