configure: get rid of TUXBOX_APPS_*PKGCONFIG macros

Use PKG_PROG_PKG_CONFIG / PKG_CHECK_MODULES instead of home-grown macros
This commit is contained in:
Stefan Seyfried
2017-02-04 08:55:06 +01:00
parent 42fb4fe182
commit 575107b5e1

View File

@@ -6,11 +6,11 @@ AC_GNU_SOURCE
TUXBOX_APPS TUXBOX_APPS
TUXBOX_APPS_DIRECTORY TUXBOX_APPS_DIRECTORY
TUXBOX_APPS_PKGCONFIG
TUXBOX_BOXTYPE TUXBOX_BOXTYPE
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
PKG_PROG_PKG_CONFIG
## both disabled => libtool still defaults to static ## both disabled => libtool still defaults to static
## at least the libtool I tested with ;-) ## at least the libtool I tested with ;-)
## --enable-shared => build only shared ## --enable-shared => build only shared
@@ -33,7 +33,7 @@ else
fi fi
if test x"$BOXTYPE" = x"tripledragon"; then if test x"$BOXTYPE" = x"tripledragon"; then
TUXBOX_APPS_LIB_PKGCONFIG(DIRECTFB, directfb) PKG_CHECK_MODULES([DIRECTFB], [directfb])
fi fi
if test x$BOXTYPE = xgeneric; then if test x$BOXTYPE = xgeneric; then