Skip to content

Commit

Permalink
build: autotools: check for dlopen library
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyusa authored and xhaihao committed Feb 11, 2018
1 parent 3497cb1 commit 1e066ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ AC_CHECK_PROGS([PYTHON2], [python2 python])
LIBVA_PACKAGE_VERSION=libva_package_version
AC_SUBST(LIBVA_PACKAGE_VERSION)

AC_SEARCH_LIBS([dlopen], [dl], [], [
AC_MSG_ERROR([unable to find the dlopen() function])
])

dnl Check for recent enough DRM
LIBDRM_VERSION=libdrm_version
PKG_CHECK_MODULES([DRM], [libdrm >= $LIBDRM_VERSION libdrm_intel])
Expand Down

0 comments on commit 1e066ea

Please sign in to comment.