summaryrefslogtreecommitdiff
path: root/m4/efl_pkg_config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl_pkg_config.m4')
-rw-r--r--m4/efl_pkg_config.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/efl_pkg_config.m4 b/m4/efl_pkg_config.m4
index c4f3c1eb28..13a9516e90 100644
--- a/m4/efl_pkg_config.m4
+++ b/m4/efl_pkg_config.m4
@@ -4,8 +4,7 @@ dnl EFL_PKG_CHECK_STRICT(MODULE, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
4dnl similar to PKG_CHECK_EXISTS() that will AC_MSG_ERROR() if not found 4dnl similar to PKG_CHECK_EXISTS() that will AC_MSG_ERROR() if not found
5AC_DEFUN([EFL_PKG_CHECK_STRICT], 5AC_DEFUN([EFL_PKG_CHECK_STRICT],
6[ 6[
7 PKG_CHECK_EXISTS([$1], 7 PKG_CHECK_EXISTS([$1], [$2],
8 [m4_if([$2], [$2], [:])], 8 [m4_ifval([$3], [$3], [AC_MSG_ERROR([pkg-config missing $1])])]
9 [m4_if([$3], [$3], [AC_MSG_ERROR([pkg-config missing $1])])]
10 ) 9 )
11]) 10])