From 4dea02ed19873fbd8ee454a1b1147ad10436ab91 Mon Sep 17 00:00:00 2001 From: brian-ch Date: Sun, 14 Feb 2016 18:13:57 +0000 Subject: Only try to include libswresample if it is installed and we have pascal headers for that specific version git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3194 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UConfig.pas | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/base/UConfig.pas') diff --git a/src/base/UConfig.pas b/src/base/UConfig.pas index 79964451..d54ca439 100644 --- a/src/base/UConfig.pas +++ b/src/base/UConfig.pas @@ -181,9 +181,12 @@ const LIBSWSCALE_VERSION = (LIBSWSCALE_VERSION_MAJOR * VERSION_MAJOR) + (LIBSWSCALE_VERSION_MINOR * VERSION_MINOR) + (LIBSWSCALE_VERSION_RELEASE * VERSION_RELEASE); + {$ENDIF} + + {$IFDEF HaveSWResample} LIBSWRESAMPLE_VERSION = (LIBSWRESAMPLE_VERSION_MAJOR * VERSION_MAJOR) + - (LIBSWRESAMPLE_VERSION_MINOR * VERSION_MINOR) + - (LIBSWRESAMPLE_VERSION_RELEASE * VERSION_RELEASE); + (LIBSWRESAMPLE_VERSION_MINOR * VERSION_MINOR) + + (LIBSWRESAMPLE_VERSION_RELEASE * VERSION_RELEASE); {$ENDIF} {$ENDIF} -- cgit v1.2.3