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:
parent
11f6ac1665
commit
a71453bc9a
@ -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 $@
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user