diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c05ad14..de98d92 100644 --- a/configure.ac +++ b/configure.ac @@ -51,9 +51,13 @@ AC_SUBST([CLOCK_LIB]) PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs) PKG_CHECK_MODULES(LIBDRM, libdrm) +PKG_CHECK_MODULES(LIBDRI2, libdri2) +PKG_CHECK_MODULES(X11, x11) +PKG_CHECK_MODULES(CAPI, capi-base-common) +# PKG_CHECK_MODULES(CAPI, capi-base-common >= 0.1.1) -LIBTBM_CFLAGS="$PTHREADSTUBS_CFLAGS $LIBDRM_CFLAGS " -LIBTBM_LIBS="$PTHREADSTUBS_LIBS $LIBDRM_LIBS " +LIBTBM_CFLAGS="$PTHREADSTUBS_CFLAGS $LIBDRM_CFLAGS $LIBDRI2_CFLAGS $X11_CFLAGS $CAPI_CFLAGS" +LIBTBM_LIBS="$PTHREADSTUBS_LIBS $LIBDRM_LIBS $LIBDRI2_LIBS $X11_LIBS $CAPI_LIBS" AC_SUBST(LIBTBM_CFLAGS) AC_SUBST(LIBTBM_LIBS) |