forked from enlightenment/efl
12 lines
368 B
Plaintext
12 lines
368 B
Plaintext
|
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])])]
|
||
|
)
|
||
|
])
|