[PATCH] configure.ac: remove -I$(prefix)/include from INCLUDES #24676

Gaetan Nadon memsize at videotron.ca
Tue Dec 8 14:51:00 PST 2009


Using $prefix for any purpose will yield incorrect results
as not all modules uses the same prefix and that modules can use
different directory which is configurable.

The main include dir comes from XORG_CFLAGS

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9353694..548810a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@ fi
 AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
 
 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
-INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
+INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src'
 AC_SUBST([CFLAGS])
 AC_SUBST([INCLUDES])
 
-- 
1.6.0.4


--Boundary_(ID_fbAK41s0adkocjwit5fmWQ)--


More information about the xorg-devel mailing list