diff options
author | prasanth kamuju <prasanth.kamuju@linaro.org> | 2014-11-21 13:55:46 +0530 |
---|---|---|
committer | prasanth kamuju <prasanth.kamuju@linaro.org> | 2014-11-21 13:55:46 +0530 |
commit | ee1a8d9e5f8337bcc76542ea46e1b1181a2cd8c7 (patch) | |
tree | f651a91fb0b333675abbbd84195d3ce321767283 | |
parent | 529f31fa8d28b2cede85f2da895ff84a237869ef (diff) |
configure.ac : libdrm dependency added
This plugin requires libdrm library functions
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9221cc2..2e43ff3 100644 --- a/configure.ac +++ b/configure.ac @@ -59,6 +59,18 @@ PKG_CHECK_MODULES(GST, [ ]) ]) +dnl Check for the external libs +PKG_CHECK_MODULES([LIBDRM], [libdrm], +[ + AC_SUBST(LIBDRM_CFLAGS) + AC_SUBST(LIBDRM_LIBS) +],[ +AC_MSG_ERROR([ + You need to install libdrm-dev. + sudo apt-get install libdrm-dev + ]) +]) + dnl check if compiler understands -Wall (if yes, add -Wall to GST_CFLAGS) AC_MSG_CHECKING([to see if compiler understands -Wall]) save_CFLAGS="$CFLAGS" |