summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2009-12-08 17:51:00 -0500
committerGaetan Nadon <memsize@videotron.ca>2009-12-10 14:49:16 -0500
commit5833d01faac576016ac90a06ccb4af2fac23b718 (patch)
treef0b2af2a8a3ed687eb065f703bc342bb813151ce
parent4509305138d04d1e2e670b6d21b54b28b69405ba (diff)
downloadxorg-driver-xf86-video-vesa-5833d01faac576016ac90a06ccb4af2fac23b718.tar.gz
configure.ac: remove -I$(prefix)/include from INCLUDES #24676
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@pengutronix.de> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac2
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])