acinclude: workaround for packages with empty FOO_CFLAGS

should probably be fixed differently but works for now ;-)
This commit is contained in:
Stefan Seyfried
2013-04-06 11:38:17 +02:00
parent d88ba86e90
commit b46a806cb9

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