summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 22:22:38 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 22:22:38 +0000
commitd338bcac632280a8742741dd840a3c5a6cf852c4 (patch)
treea09294013f4ca47099eaafd7cbd553362761b039 /m4
parentbc9821c1ff642e25978199e5253ec843c9b100d6 (diff)
oops, missing file.
SVN revision: 80401
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_pkg_config.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/efl_pkg_config.m4 b/m4/efl_pkg_config.m4
new file mode 100644
index 0000000..c4f3c1e
--- /dev/null
+++ b/m4/efl_pkg_config.m4
@@ -0,0 +1,11 @@
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],
8 [m4_if([$2], [$2], [:])],
9 [m4_if([$3], [$3], [AC_MSG_ERROR([pkg-config missing $1])])]
10 )
11])