From f4719cd8a9274a45a1128fea1bc39db89d110623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 18 May 2015 09:21:45 +0000 Subject: [PATCH] fix build on mac, fix wrong AX_PKG_CHECK --- ax_init_standard_project.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index 157c37a..77c1e73 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -455,7 +455,7 @@ AC_DEFUN([AX_PKG_REQUIRE], [ AC_MSG_ERROR([Required header $3 for feature $1 not found]) ]) CPPFLAGS=${old_CPPFLAGS} - else + elif test ${$1_found} -eq 0; then AC_MSG_ERROR([Required package $2 for feature $1 not installed]) fi ])