From 86a7baa4156dc9569b7dde51b3042b7fd8093821 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 10 Dec 2009 14:53:50 -0500 Subject: [PATCH] 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 Signed-off-by: Gaetan Nadon --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c9857f7..426acfb 100644 --- a/configure.ac +++ b/configure.ac @@ -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])