aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.inc.in
blob: 168a1ced977b97650af99721365f4783f94f05b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{***************************************************************** 
 * Configuration file for @PACKAGE_STRING@
 * @configure_input@
 *****************************************************************}

{* Libraries *}

{$IF Defined(IncludeConstants)}
  lua_lib_name = '@lua_LIB_NAME@';
{$IFEND}

{$@DEFINE_HAVE_FFMPEG@ HaveFFmpeg}
{$IF Defined(HaveFFmpeg)}
  {$MACRO ON}
  {$IFNDEF FFMPEG_DIR}
    {$IF @FFMPEG_VERSION_MINOR@ > 0}
      {$DEFINE FFMPEG_DIR := 'ffmpeg-@FFMPEG_VERSION_MAJOR@.@FFMPEG_VERSION_MINOR@'}
    {$ELSE}
      {$DEFINE FFMPEG_DIR := 'ffmpeg'}
    {$IFEND}
  {$ENDIF}
  {$IF Defined(IncludeConstants)}
    av__codec = 'libavcodec';
    LIBAVCODEC_VERSION_MAJOR   = @libavcodec_VERSION_MAJOR@;
    LIBAVCODEC_VERSION_MINOR   = @libavcodec_VERSION_MINOR@;
    LIBAVCODEC_VERSION_RELEASE = @libavcodec_VERSION_RELEASE@;

    av__format = 'libavformat';
    LIBAVFORMAT_VERSION_MAJOR   = @libavformat_VERSION_MAJOR@;
    LIBAVFORMAT_VERSION_MINOR   = @libavformat_VERSION_MINOR@;
    LIBAVFORMAT_VERSION_RELEASE = @libavformat_VERSION_RELEASE@;

    av__util = 'libavutil';
    LIBAVUTIL_VERSION_MAJOR   = @libavutil_VERSION_MAJOR@;
    LIBAVUTIL_VERSION_MINOR   = @libavutil_VERSION_MINOR@;
    LIBAVUTIL_VERSION_RELEASE = @libavutil_VERSION_RELEASE@;
  {$IFEND}
{$IFEND}

{$@DEFINE_HAVE_SWSCALE@ HaveSWScale}
{$IF Defined(HaveSWScale) and Defined(IncludeConstants)}
  sw__scale = 'libswscale';
  LIBSWSCALE_VERSION_MAJOR   = @libswscale_VERSION_MAJOR@;
  LIBSWSCALE_VERSION_MINOR   = @libswscale_VERSION_MINOR@;
  LIBSWSCALE_VERSION_RELEASE = @libswscale_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_PROJECTM@ HaveProjectM}
{$IF Defined(HaveProjectM) and Defined(IncludeConstants)}
  ProjectM_DataDir = '@libprojectM_DATADIR@';
  PROJECTM_VERSION_MAJOR   = @libprojectM_VERSION_MAJOR@;
  PROJECTM_VERSION_MINOR   = @libprojectM_VERSION_MINOR@;
  PROJECTM_VERSION_RELEASE = @libprojectM_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_PORTAUDIO@ HavePortaudio}
{$IF Defined(HavePortaudio) and Defined(IncludeConstants)}
  PORTAUDIO_VERSION_MAJOR   = @portaudio_VERSION_MAJOR@;
  PORTAUDIO_VERSION_MINOR   = @portaudio_VERSION_MINOR@;
  PORTAUDIO_VERSION_RELEASE = @portaudio_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_LIBPCRE@ HaveLibPcre}
{$IF Defined(HaveLibPcre) and Defined(IncludeConstants)}
  LIBPCRE_LIBDIR   = '@libpcre_LIBDIR@';
{$IFEND}

{$@DEFINE_HAVE_PORTMIXER@ HavePortmixer}