https://bugs.freedesktop.org/show_bug.cgi?id=35441

--- Comment #8 from Себастьян Gliţa Κατινα <cgl...@yahoo.com> 2011-03-27 
12:44:29 PDT ---
(In reply to comment #7)
> (From update of attachment 44813 [details])
> Emm, why rename the radeon variable?
> 
> 
> -RADEON_LIBS = `pkg-config --libs libdrm_radeon`
> +NOUVEAU_LIBS = `shell pkg-config libdrm_nouveau --libs`
> +NOUVEAU_CFLAGS = `shell pkg-config libdrm_nouveau --cflags`
> +
> +RADEON_LDFLAGS = `pkg-config --libs libdrm_radeon`

It seemed as a bug w.r.t. uninformed use in all Makefiles.

RADEON_LIBS looks like gone (not LIBDRM_RADEON_LIBS though with one occurence
in `configure.ac':1053); it's not coming from normal PKG_CHECK_MODULES m4
macro: LIBDRM_RADEON_* do in lines 870-873, and then are read in lines
1052-1053.

Is this better?

-RADEON_LIBS = `pkg-config --libs libdrm_radeon`
-RADEON_CFLAGS = `pkg-config --cflags libdrm_radeon`
+LIBDRM_RADEON_LIBS = `pkg-config --libs libdrm_radeon`
+LIBDRM_RADEON_CFLAGS = `pkg-config --cflags libdrm_radeon`
+RADEON_CFLAGS = "-DHAVE_LIBDRM_RADEON=1 $LIBDRM_RADEON_CFLAGS"
+RADEON_LDFLAGS = "$LIBDRM_RADEON_LIBS"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to