summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStelios Tsampas <loathingkernel@gmail.com>2017-07-10 20:59:31 +0300
committerStelios Tsampas <loathingkernel@gmail.com>2017-07-16 21:21:14 +0300
commit8f19dd4bc9e8189b3aa28040b2a7ee3fcd977f35 (patch)
tree41555f534e1c6969dba49be55534a1efb050874a /configure.ac
parentd880179b2a3aacae96bb4771a3c9e227ca6d5818 (diff)
downloadpcsxr-8f19dd4bc9e8189b3aa28040b2a7ee3fcd977f35.tar.gz
Bring cdriso.c up to date to enable CCDDA
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1aff4c41..6f8166a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,6 +177,7 @@ if test "$BUILD_CCDDA" = "yes"; then
AC_CHECK_LIB([avcodec], [main], [LIBS="$LIBS -lavcodec"], AC_MSG_ERROR("No avcodec library"))
AC_CHECK_LIB([avutil], [main], [LIBS="$LIBS -lavutil"], AC_MSG_ERROR("No avutil library"))
AC_CHECK_LIB([avformat], [main], [LIBS="$LIBS -lavformat"], AC_MSG_ERROR("No avformat library"))
+ AC_CHECK_LIB([swresample], [main], [LIBS="$LIBS -lswresample"], AC_MSG_ERROR("No swresample library"))
#AC_CHECK_LIB(avcodec ,[main],AC_DEFINE([HAVE_LIBAVCODEC], [1], [ ]),AC_MSG_ERROR([$errormsgl]))
#AC_CHECK_LIB(swscale ,[main],AC_DEFINE([HAVE_LIBSWSCALE], [1], [ ]),AC_MSG_ERROR([$errormsgl]), [-lavutil])
#AC_CHECK_LIB(avdevice ,[main],AC_DEFINE([HAVE_LIBAVDEVICE], [1], [ ]),AC_MSG_ERROR([$errormsgl]), [-lavcodec -lavutil -lavformat])