[PATCH] configure: introduce --{enable,disable}-libdrm
Tiago Vignatti
tiago.vignatti at nokia.com
Mon Jan 25 10:15:59 PST 2010
On Fri, Jan 22, 2010 at 11:18:20PM +0100, ext Gaetan Nadon wrote:
> On Fri, 2010-01-22 at 19:04 +0200, Tiago Vignatti wrote:
>
> if test "x$DRI" = xyes || test "x$DRI2" = xyes; then
> - PKG_CHECK_MODULES([LIBDRM], $LIBDRM)
> - AC_SUBST(LIBDRM_CFLAGS)
> - AC_SUBST(LIBDRM_LIBS)
> + if test "x$DRM" = xyes; then
> + AC_DEFINE(WITH_LIBDRM, 1, [Building with libdrm support])
> + PKG_CHECK_MODULES([LIBDRM], $LIBDRM)
> + AC_SUBST(LIBDRM_CFLAGS)
> + AC_SUBST(LIBDRM_LIBS)
>
>
> nit: AC_SUBST not required, already done by PKG_CHECK_MODULES
>
Are you sure about it? If so, we need to patch all configure.ac doing such
correction.
Thanks,
Tiago
More information about the xorg-devel
mailing list