diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | sesman/chansrv/Makefile.am | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index fc54fa99..94990ddc 100644 --- a/configure.ac +++ b/configure.ac @@ -237,7 +237,7 @@ fi # checking for fdk aac if test "x$enable_fdkaac" = "xyes" 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])]) fi diff --git a/sesman/chansrv/Makefile.am b/sesman/chansrv/Makefile.am index 1e72b4ef..b46fa63d 100644 --- a/sesman/chansrv/Makefile.am +++ b/sesman/chansrv/Makefile.am @@ -24,8 +24,8 @@ CHANSRV_EXTRA_LIBS += $(FUSE_LIBS) endif if XRDP_FDK_AAC -AM_CPPFLAGS += -DXRDP_FDK_AAC -CHANSRV_EXTRA_LIBS += -lfdk-aac +AM_CPPFLAGS += -DXRDP_FDK_AAC $(FDKAAC_CFLAGS) +CHANSRV_EXTRA_LIBS += $(FDKAAC_LIBS) endif if XRDP_OPUS |