summaryrefslogtreecommitdiff
path: root/m4/efl_pkg_config.m4
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:12:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:12:53 +0200
commit4f8e15c16c4f68b6fae8708b177ce672daefc59c (patch)
tree8c1bf8d808e0939bbd83291855961512ee42e70c /m4/efl_pkg_config.m4
parente8c69667b01e2795c1e4ead0536652f935ffa674 (diff)
Revert "autotools: REMOVAL!"
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
Diffstat (limited to 'm4/efl_pkg_config.m4')
-rw-r--r--m4/efl_pkg_config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/m4/efl_pkg_config.m4 b/m4/efl_pkg_config.m4
new file mode 100644
index 0000000000..13a9516e90
--- /dev/null
+++ b/m4/efl_pkg_config.m4
@@ -0,0 +1,10 @@
1dnl file with extensions to pkg-config module
2dnl
3dnl 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
5AC_DEFUN([EFL_PKG_CHECK_STRICT],
6[
7 PKG_CHECK_EXISTS([$1], [$2],
8 [m4_ifval([$3], [$3], [AC_MSG_ERROR([pkg-config missing $1])])]
9 )
10])