acinclude: workaround for packages with empty FOO_CFLAGS

should probably be fixed differently but works for now ;-)


Origin commit data
------------------
Commit: b46a806cb9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)
This commit is contained in:
Stefan Seyfried
2013-04-06 11:38:17 +02:00
parent 93accc2dda
commit 001cfaa9bc

View File

@@ -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
])