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 <[email protected]> Signed-off-by: Gaetan Nadon <[email protected]> --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index dc12954..b4ce61c 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,7 @@ if test "x$GCC" = xyes ; then fi CFLAGS="$CFLAGS $CWARNFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src' -INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src -I$(prefix)/include' +INCLUDES="$XORG_INCS "'-I$(top_srcdir)/src' AC_SUBST([CFLAGS]) AC_SUBST([INCLUDES]) -- 1.6.0.4 _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
