summaryrefslogtreecommitdiff
path: root/m4/efl_pkg_config.m4
blob: 13a9516e9051678b82c43ac54e1d960b061c0e03 (plain)
1
2
3
4
5
6
7
8
9
10
dnl file with extensions to pkg-config module
dnl
dnl EFL_PKG_CHECK_STRICT(MODULE, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
dnl similar to PKG_CHECK_EXISTS() that will AC_MSG_ERROR() if not found
AC_DEFUN([EFL_PKG_CHECK_STRICT],
[
   PKG_CHECK_EXISTS([$1], [$2],
      [m4_ifval([$3], [$3], [AC_MSG_ERROR([pkg-config missing $1])])]
      )
])