diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2009-12-08 17:51:00 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2009-12-10 14:49:16 -0500 |
commit | 5833d01faac576016ac90a06ccb4af2fac23b718 (patch) | |
tree | f0b2af2a8a3ed687eb065f703bc342bb813151ce | |
parent | 4509305138d04d1e2e670b6d21b54b28b69405ba (diff) |
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.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]) |