mirror of https://github.com/nu774/fdkaac.git
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
|
dist_man_MANS = man/fdkaac.1
|
||||||
|
|
||||||
|
fdkaac_CFLAGS = @CFLAGS@ @FDK_AAC_CFLAGS@
|
||||||
|
|
||||||
fdkaac_LDADD = \
|
fdkaac_LDADD = \
|
||||||
@LIBICONV@ @CHARSET_LIB@ -lfdk-aac -lm
|
@LIBICONV@ @CHARSET_LIB@ @FDK_AAC_LIBS@ -lm
|
||||||
|
|
||||||
.rc.o:
|
.rc.o:
|
||||||
$(RC) $< -o $@
|
$(RC) $< -o $@
|
||||||
|
|
|
@ -16,8 +16,7 @@ AC_CHECK_TOOL(RC, windres,)
|
||||||
|
|
||||||
AC_CHECK_HEADERS([sys/time.h])
|
AC_CHECK_HEADERS([sys/time.h])
|
||||||
AC_CHECK_HEADERS([libcharset.h langinfo.h endian.h byteswap.h])
|
AC_CHECK_HEADERS([libcharset.h langinfo.h endian.h byteswap.h])
|
||||||
AC_CHECK_HEADERS([fdk-aac/aacenc_lib.h], ,
|
PKG_CHECK_MODULES([FDK_AAC],[fdk-aac])
|
||||||
AC_MSG_ERROR([libfdk-aac is required]))
|
|
||||||
|
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
Loading…
Reference in New Issue