aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/config.inc.in
blob: a51ce23b1dbeab248b21bf6fe17e68cbd4b6e98b (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
78
79
80
81
82
83
84
85
86
87
{***************************************************************** 
 * Configuration file for @PACKAGE_NAME@ @PACKAGE_VERSION@
 * @configure_input@
 *****************************************************************}

{* Misc options *}

{$@DEFINE_DEBUG@ DEBUG}

{* Paths *}

{$@DEFINE_USE_LOCAL_DIRS@ UseLocalDirs}
{$IF not Defined(UseLocalDirs) and Defined(IncludeConstants)}
  PathSuffix = WideString('@suffix@');
  LogPath    = WideString('@logrootdir@/'+PathSuffix);
  SharedPath = WideString('@sharerootdir@/'+PathSuffix);
{$IFEND}

{* Libraries *}

{$IF Defined(LAZARUS) and Defined(IncludeConstants)}
  LAZARUS_VERSION_MAJOR   = @LAZARUS_VERSION_MAJOR@;
  LAZARUS_VERSION_MINOR   = @LAZARUS_VERSION_MINOR@;
  LAZARUS_VERSION_RELEASE = @LAZARUS_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_FFMPEG@ HaveFFMpeg}
{$IF Defined(HaveFFMpeg) and Defined(IncludeConstants)}
  av__codec = 'libavcodec';
  //av__codec = '@AVCODEC_LIB@';
  LIBAVCODEC_VERSION_MAJOR   = @AVCODEC_VERSION_MAJOR@;
  LIBAVCODEC_VERSION_MINOR   = @AVCODEC_VERSION_MINOR@;
  LIBAVCODEC_VERSION_RELEASE = @AVCODEC_VERSION_RELEASE@;

  av__format = 'libavformat';
  //av__format = '@AVFORMAT_LIB@';
  LIBAVFORMAT_VERSION_MAJOR   = @AVFORMAT_VERSION_MAJOR@;
  LIBAVFORMAT_VERSION_MINOR   = @AVFORMAT_VERSION_MINOR@;
  LIBAVFORMAT_VERSION_RELEASE = @AVFORMAT_VERSION_RELEASE@;

  av__util = 'libavutil';
  //av__util = '@AVUTIL_LIB@';
  LIBAVUTIL_VERSION_MAJOR   = @AVUTIL_VERSION_MAJOR@;
  LIBAVUTIL_VERSION_MINOR   = @AVUTIL_VERSION_MINOR@;
  LIBAVUTIL_VERSION_RELEASE = @AVUTIL_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_SWSCALE@ HaveSWScale}
{$IF Defined(HaveSWScale) and Defined(IncludeConstants)}
  sw__scale = 'libswscale';
  //sw__scale = '@SWSCALE_LIB@';
  LIBSWSCALE_VERSION_MAJOR   = @SWSCALE_VERSION_MAJOR@;
  LIBSWSCALE_VERSION_MINOR   = @SWSCALE_VERSION_MINOR@;
  LIBSWSCALE_VERSION_RELEASE = @SWSCALE_VERSION_RELEASE@;
{$IFEND}

// define this for versions of ProjectM <  1.0 (use C-Interface)
{$@DEFINE_HAVE_PROJECTM_0_9@ HaveProjectM_0_9}
// define this for versions of ProjectM >= 1.0 (use C++-Interface)
{$@DEFINE_HAVE_PROJECTM_1_0_PLUS@ HaveProjectM_1_0_PLUS}
{$IF Defined(HaveProjectM_0_9) or Defined(HaveProjectM_1_0_PLUS)}
  {$DEFINE HaveProjectM}
{$IFEND}
{$IF Defined(HaveProjectM) and Defined(IncludeConstants)}
  libprojectM = '@PROJECTM_LIB@';
  // Note: Un/Define HaveProjectM_0_9 or HaveProjectM_1_0_PLUS accordingly
  PROJECTM_VERSION_MAJOR   = @PROJECTM_VERSION_MAJOR@;
  PROJECTM_VERSION_MINOR   = @PROJECTM_VERSION_MINOR@;
  PROJECTM_VERSION_RELEASE = @PROJECTM_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_PORTAUDIO@ HavePortaudio}
{$IF Defined(HavePortaudio) and Defined(IncludeConstants)}
  libportaudio = '@PORTAUDIO_LIB@';
  PORTAUDIO_VERSION_MAJOR   = @PORTAUDIO_VERSION_MAJOR@;
  PORTAUDIO_VERSION_MINOR   = @PORTAUDIO_VERSION_MINOR@;
  PORTAUDIO_VERSION_RELEASE = @PORTAUDIO_VERSION_RELEASE@;
{$IFEND}

{$@DEFINE_HAVE_PORTMIXER@ HavePortmixer}
{$IF Defined(HavePortmixer) and Defined(IncludeConstants)}
  libportmixer = '@PORTMIXER_LIB@';
  PORTMIXER_VERSION_MAJOR   = @PORTMIXER_VERSION_MAJOR@;
  PORTMIXER_VERSION_MINOR   = @PORTMIXER_VERSION_MINOR@;
  PORTMIXER_VERSION_RELEASE = @PORTMIXER_VERSION_RELEASE@;
{$IFEND}