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

Gaetan Nadon memsize at videotron.ca
Sat Jan 23 08:14:06 PST 2010


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

Reported-By: Michael Olbrich <m.olbrich at pengutronix.de>
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 dc12954..b4ce61c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ if test "x$GCC" = xyes ; then
 fi
 
 CFLAGS="$CFLAGS $CWARNFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
-INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src -I$(prefix)/include'
+INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src'
 AC_SUBST([CFLAGS])
 AC_SUBST([INCLUDES])
 
-- 
1.6.0.4



More information about the xorg-devel mailing list