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

Gaetan Nadon memsize at videotron.ca
Fri Jan 15 14:47:18 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
-INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src -I$(prefix)/include'
+INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src'

More information about the xorg-devel mailing list