1
0
mirror of https://github.com/nu774/fdkaac.git synced 2024-12-27 07:42:39 +01:00

use PKG_CHECK_MODULES for fdk-aac

https://github.com/nu774/fdkaac/issues/60
This commit is contained in:
nu774 2024-05-06 00:42:20 +09:00
parent 11f6ac1665
commit a71453bc9a
2 changed files with 4 additions and 3 deletions

View File

@ -22,8 +22,10 @@ fdkaac_SOURCES = \
dist_man_MANS = man/fdkaac.1
fdkaac_CFLAGS = @CFLAGS@ @FDK_AAC_CFLAGS@
fdkaac_LDADD = \
@LIBICONV@ @CHARSET_LIB@ -lfdk-aac -lm
@LIBICONV@ @CHARSET_LIB@ @FDK_AAC_LIBS@ -lm
.rc.o:
$(RC) $< -o $@

View File

@ -16,8 +16,7 @@ AC_CHECK_TOOL(RC, windres,)
AC_CHECK_HEADERS([sys/time.h])
AC_CHECK_HEADERS([libcharset.h langinfo.h endian.h byteswap.h])
AC_CHECK_HEADERS([fdk-aac/aacenc_lib.h], ,
AC_MSG_ERROR([libfdk-aac is required]))
PKG_CHECK_MODULES([FDK_AAC],[fdk-aac])
AC_C_INLINE
AC_C_BIGENDIAN