ast_pkgconfig.m4: AST_PKG_CONFIG_CHECK() relies on sed.

Make sure that we have a working sed before trying to use it.

ASTERISK-30059 #close

Change-Id: I9abad67a5df11b665d480feec304ab9d6f55cc76
This commit is contained in:
Sean Bright
2022-05-17 13:01:16 -04:00
committed by Friendly Automation
parent f01ce810d0
commit 9d951a9c1f
3 changed files with 95 additions and 94 deletions

View File

@@ -2,6 +2,7 @@
# AST_PKG_CONFIG_CHECK([package], [component])
AC_DEFUN([AST_PKG_CONFIG_CHECK],
[
AC_REQUIRE([AST_PROG_SED])dnl
if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
PKG_CHECK_MODULES($1, $2, [
PBX_$1=1