diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 5842ed7..996f07c 100644 --- a/configure.ac +++ b/configure.ac @@ -23,27 +23,11 @@ LT_INIT([disable-static]) # Enable quiet compiles on automake 1.11. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -PKG_CHECK_MODULES(UDEV, libudev, [udev=yes], [udev=no]) - -PKG_CHECK_MODULES(LIBHAL_BACKEND_TDM_DRM, hal-api-common hal-api-tdm hal-api-tbm libtbm libdrm dlog pixman-1) - -if test x"$udev" = xyes; then - AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection]) - - LIBHAL_BACKEND_TDM_DRM_CFLAGS="$LIBHAL_BACKEND_TDM_DRM_CFLAGS $UDEV_CFLAGS" - LIBHAL_BACKEND_TDM_DRM_LIBS="$LIBHAL_BACKEND_TDM_DRM_LIBS $UDEV_LIBS" -fi +PKG_CHECK_MODULES(LIBHAL_BACKEND_TDM_DRM, hal-rootstrap) AC_SUBST(LIBHAL_BACKEND_TDM_DRM_CFLAGS) AC_SUBST(LIBHAL_BACKEND_TDM_DRM_LIBS) -AC_DEFINE_UNQUOTED(LIBDRM_MAJOR_VERSION, [`pkg-config --modversion libdrm | cut -d '.' -f 1`], dnl - [libdrm major version]) -AC_DEFINE_UNQUOTED(LIBDRM_MINOR_VERSION, [`pkg-config --modversion libdrm | cut -d '.' -f 2`], dnl - [libdrm major version]) -AC_DEFINE_UNQUOTED(LIBDRM_MICRO_VERSION, [`pkg-config --modversion libdrm | cut -d '.' -f 3`], dnl - [libdrm major version]) - # set the library dir for the tdm hal backend DEFAULT_HAL_LIBDIR="/hal/lib" AC_ARG_WITH(hal-libdir, AS_HELP_STRING([--with-hal-libdir=PATH], [hal backend library path]), |