On 15 May 2016 at 13:46, Axel Davy <axel.d...@ens.fr> wrote:
> Export d3dadapter9.pc
>
> It is essentially the same than d3d.pc,
> except we want to drop d3d.pc in the future
> (we prefer the name d3dadapter9).
>
> v2: Resend because one file was missing.
>
> Signed-off-by: Axel Davy <axel.d...@ens.fr>
> ---
>  configure.ac                                      |  1 +
>  src/gallium/targets/d3dadapter9/Makefile.am       |  2 +-
>  src/gallium/targets/d3dadapter9/d3dadapter9.pc.in | 11 +++++++++++
An alternative solution (slightly better imho) is to rename the
existing file, and make d3d.pc a symlink to it at build/install time.

Something like

d3d.pc: d3dadapter9.pc
    $(AM_V_GEN)$(LN_S) d3dadapter9.pc $@

You'll need to add AC_PROG_LN_S to configure.ac (somewhere around the
other  AC_PROG_) and keep both .pc files in pkgconfig_DATA.

An inline comment about d3d.pc would be amazing.

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to