summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac21
1 files changed, 3 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac
index 49060b1..66c6e7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AC_PREREQ(2.60)
-AC_INIT(libtbm-vc4, 0.1.0)
+AC_INIT(hal-backend-tbm-vc4, 0.1.0)
AC_USE_SYSTEM_EXTENSIONS
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2])
@@ -38,7 +38,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
PKG_CHECK_MODULES(LIBDRM, libdrm)
PKG_CHECK_MODULES(LIBDRM_VC4, libdrm_vc4)
-PKG_CHECK_MODULES(LIBTBM, libtbm)
PKG_CHECK_MODULES(HAL_API_COMMON, hal-api-common)
PKG_CHECK_MODULES(HAL_API_TBM, hal-api-tbm)
PKG_CHECK_MODULES(DLOG, dlog)
@@ -82,35 +81,21 @@ if test "x$BACKEND_CTRL" = xyes; then
AC_DEFINE(ALWAYS_BACKEND_CTRL, 1, [Enable always backend ctrl])
fi
-# for libtbm-vc4
-LIBTBM_VC4_CFLAGS="$LIBDRM_CFLAGS $LIBTBM_CFLAGS $DLOG_CFLAGS $LIBUDEV_CFLAGS $LIBDRM_VC4_CFLAGS"
-LIBTBM_VC4_LIBS="$LIBDRM_LIBS $LIBTBM_LIBS $DLOG_LIBS $LIBUDEV_LIBS $LIBDRM_VC4_LIBS"
-AC_SUBST(LIBTBM_VC4_CFLAGS)
-AC_SUBST(LIBTBM_VC4_LIBS)
-
-bufmgr_dir=${libdir#*/}
-AC_SUBST(bufmgr_dir)
-
-# for libhal-backend-tbm-vc4
LIBHAL_BACKEND_TBM_VC4_CFLAGS="$HAL_API_COMMON_CFLAGS $HAL_API_TBM_CFLAGS $LIBDRM_CFLAGS $LIBDRM_VC4_CFLAGS $DLOG_CFLAGS $LIBUDEV_CFLAGS"
LIBHAL_BACKEND_TBM_VC4_LIBS="$HAL_API_COMMON_LIBS $HAL_API_TBM_LIBS $LIBDRM_LIBS $LIBDRM_VC4_LIBS $DLOG_LIBS $LIBUDEV_LIBS"
+
AC_SUBST(LIBHAL_BACKEND_TBM_VC4_CFLAGS)
AC_SUBST(LIBHAL_BACKEND_TBM_VC4_LIBS)
AC_OUTPUT([
Makefile
- src/libtbm-vc4/Makefile
- src/libhal-backend-tbm-vc4/Makefile
src/Makefile])
echo ""
echo "CFLAGS : $CFLAGS"
echo "LDFLAGS : $LDFLAGS"
-echo "LIBTBM_VC4_CFLAGS : $LIBTBM_VC4_CFLAGS"
-echo "LIBTBM_VC4_LIBS : $LIBTBM_VC4_LIBS"
-echo "bufmgr_dir : $bufmgr_dir"
echo "LIBHAL_BACKEND_TBM_VC4_CFLAGS : $LIBHAL_BACKEND_TBM_VC4_CFLAGS"
echo "LIBHAL_BACKEND_TBM_VC4_LIBS : $LIBHAL_BACKEND_TBM_VC4_LIBS"
-echo "hal-libdir : $HAL_LIBDIR"
+echo "HAL_LIBDIR : $HAL_LIBDIR"
echo ""