diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2009-12-11 08:41:02 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2009-12-15 09:11:16 -0500 |
commit | 7303c72584b93575dee7f9faf323d1aaee224f9b (patch) | |
tree | bbf8b8aa4581a55e8ae1693c2eb897ffbc4945ba | |
parent | d9123009643676a89e0b86d2529ba570a1d29cc8 (diff) |
configure.ac: remove -I$(prefix)/include from INCLUDES
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.
Similar to #24676
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 2abab59..8928b6a 100644 --- a/configure.ac +++ b/configure.ac @@ -63,7 +63,7 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto fontsproto $REQUIRED_ sdkdir=$(pkg-config --variable=sdkdir xorg-server) 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]) |