aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.inc.in
blob: 967612a4db098c2713155c73eb694ad39e68152d (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
69
70
71
72
73
74
75
76
77
{***************************************************************** 
 * Configuration file for @PACKAGE_STRING@
 * @configure_input@
 *****************************************************************}

{* Libraries *}

{$IF Defined(IncludeConstants)}
  LUA_LIB_NAME        = '@lua_lib_name@';
  LUA_VERSION_INT     = @lua_VERSION_INT@;
  LUA_VERSION_RELEASE = '@lua_VERSION_RELEASE@';
  LUA_VERSION_MINOR   = '@lua_VERSION_MINOR@';
  LUA_VERSION_MAJOR   = '@lua_VERSION_MAJOR@';
  LUA_VERSION         = '@lua_VERSION@';
{$IFEND}

{$@DEFINE_HAVE_FFMPEG@ HaveFFmpeg}
{$IF Defined(HaveFFmpeg)}
  {$MACRO ON}
  {$IFNDEF FFMPEG_DIR}
    {$IF (@FFMPEG_VERSION_MINOR@ > 0) or (@FFMPEG_VERSION_MAJOR@ > 0)}
      {$DEFINE FFMPEG_DIR := 'ffmpeg-@FFMPEG_VERSION_MAJOR@.@FFMPEG_VERSION_MINOR@'}
      {$DEFINE FF_API_OLD_DECODE_AUDIO}
    {$ELSE}
      {$DEFINE FFMPEG_DIR := 'ffmpeg'}
      {$DEFINE useOLD_FFMPEG}
    {$IFEND}
  {$ENDIF}
  {$IF Defined(IncludeConstants)}
    FFMPEG_VERSION_INT = @FFMPEG_VERSION_INT@;

    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}