use pkg-config to configure with fdk-aac
This commit is contained in:
parent
4f91a52109
commit
152318ad7c
@ -237,7 +237,7 @@ fi
|
|||||||
# checking for fdk aac
|
# checking for fdk aac
|
||||||
if test "x$enable_fdkaac" = "xyes"
|
if test "x$enable_fdkaac" = "xyes"
|
||||||
then
|
then
|
||||||
AC_CHECK_HEADER([fdk-aac/aacenc_lib.h], [],
|
PKG_CHECK_MODULES([FDKAAC], [fdk-aac >= 0.1.0], [],
|
||||||
[AC_MSG_ERROR([please install libfdk-aac-dev or fdk-aac-devel])])
|
[AC_MSG_ERROR([please install libfdk-aac-dev or fdk-aac-devel])])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ CHANSRV_EXTRA_LIBS += $(FUSE_LIBS)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if XRDP_FDK_AAC
|
if XRDP_FDK_AAC
|
||||||
AM_CPPFLAGS += -DXRDP_FDK_AAC
|
AM_CPPFLAGS += -DXRDP_FDK_AAC $(FDKAAC_CFLAGS)
|
||||||
CHANSRV_EXTRA_LIBS += -lfdk-aac
|
CHANSRV_EXTRA_LIBS += $(FDKAAC_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if XRDP_OPUS
|
if XRDP_OPUS
|
||||||
|
Loading…
Reference in New Issue
Block a user