configure.ac: remove wrong include path. #24675

Don't use $(prefix)/include as include path. It can break things
when cross-compiling with DESTDIR and prefix=/usr

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
Michael Olbrich 2009-12-10 14:53:50 -05:00 committed by Gaetan Nadon
parent 483db0376d
commit 86a7baa415
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,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])