From 001cfaa9bcd44e450bb17255b6e197871a45a9e2 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 6 Apr 2013 11:38:17 +0200 Subject: [PATCH] acinclude: workaround for packages with empty FOO_CFLAGS should probably be fixed differently but works for now ;-) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/b46a806cb91a758fc5b135c8ec56fa138d44a98e Author: Stefan Seyfried Date: 2013-04-06 (Sat, 06 Apr 2013) --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 2c6d9e519..b5e2bae2f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -278,7 +278,7 @@ AC_SUBST($1_LIBS) AC_DEFUN([TUXBOX_APPS_LIB_PKGCONFIG],[ _TUXBOX_APPS_LIB_PKGCONFIG($1,$2) -if test -z "$$1_CFLAGS" ; then +if test -z "$$1_CFLAGS" && test -z "$$1_LIBS"; then AC_MSG_ERROR([could not find package $2]); fi ])