Hi,

there is a slight problem when compiling libdrm-2.4.20 with separate source
and object dirs. When compiling "libkms/linux.c" the header file "xf86drm.h"
will not be found since headers are only searched for in top_builddir but not
in top_sourcedir. The attached patch is required to fix this.

Thanks a lot for your great work.
(I'm not a member in this list.)

Kind regards,

H.-A. Arnolds

diff -cr libdrm-2.4.20.orig/libkms/Makefile.in libdrm-2.4.20/libkms/Makefile.in
*** libdrm-2.4.20.orig/libkms/Makefile.in       Fri Apr  2 22:53:29 2010
--- libdrm-2.4.20/libkms/Makefile.in    Tue Apr  6 12:24:59 2010
***************
*** 84,90 ****
  libkms_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(libkms_la_LDFLAGS) $(LDFLAGS) -o $@
! DEFAULT_INCLUDES = -...@am__isrc@ -I$(top_builddir)
  depcomp = $(SHELL) $(top_srcdir)/depcomp
  am__depfiles_maybe = depfiles
  am__mv = mv -f
--- 84,90 ----
  libkms_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(libkms_la_LDFLAGS) $(LDFLAGS) -o $@
! DEFAULT_INCLUDES = -...@am__isrc@ -I$(top_builddir) -I$(top_srcdir)
  depcomp = $(SHELL) $(top_srcdir)/depcomp
  am__depfiles_maybe = depfiles
  am__mv = mv -f
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to