oops, missing file.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 6 Dec 2012 22:22:38 +0000 (22:22 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 6 Dec 2012 22:22:38 +0000 (22:22 +0000)
SVN revision: 80401

m4/efl_pkg_config.m4 [new file with mode: 0644]

diff --git a/m4/efl_pkg_config.m4 b/m4/efl_pkg_config.m4
new file mode 100644 (file)
index 0000000..c4f3c1e
--- /dev/null
@@ -0,0 +1,11 @@
+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],
+      [m4_if([$2], [$2], [:])],
+      [m4_if([$3], [$3], [AC_MSG_ERROR([pkg-config missing $1])])]
+      )
+])