annotate configure.ac @ 1213:e49e02828f85

OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer settings). Warning!!! The ALSA and OSS3 users will experience build failures because it's enabled by default. Anyway, now you have another reason to switch ;)
author Cristi Magherusan <majeru@atheme-project.org>
date Sat, 07 Jul 2007 04:54:06 +0300
parents ed2d7787779e
children 386342d66a4f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1 dnl Process this file with autoconf to produce a configure script.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
2
1062
1d65dcdb714c [svn] - bump version of plugins and version requirements per plugin api v2
nenolod
parents: 1058
diff changeset
3 AC_INIT([audacious-plugins], [1.4.0], [bugs+audacious-plugins@atheme.org])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
4 AC_PREREQ([2.59])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
5
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
6 AC_CANONICAL_HOST
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
7 AC_CANONICAL_TARGET
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
8
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
9 AC_CONFIG_HEADERS([config.h])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
10
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
11 dnl libbeep
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
12 LIBBEEP_MAJOR_VERSION=2
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
13 LIBBEEP_MINOR_VERSION=0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
14 LIBBEEP_MICRO_VERSION=0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
15 LIBBEEP_VERSION=$LIBBEEP_MAJOR_VERSION.$LIBBEEP_MINOR_VERSION.$LIBBEEP_MICRO_VERSION
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
16 AC_SUBST(LIBBEEP_MAJOR_VERSION)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
17 AC_SUBST(LIBBEEP_MINOR_VERSION)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
18 AC_SUBST(LIBBEEP_MICRO_VERSION)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
19
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
20 dnl XXX kludge for FreeBSD
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
21 if test -d "/usr/X11R6/include"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
23 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
24
419
37a183b4ce60 [svn] - rovascope: more randomization
nenolod
parents: 411
diff changeset
25 dnl OMK bootstrap
37a183b4ce60 [svn] - rovascope: more randomization
nenolod
parents: 411
diff changeset
26 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])
37a183b4ce60 [svn] - rovascope: more randomization
nenolod
parents: 411
diff changeset
27 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])
37a183b4ce60 [svn] - rovascope: more randomization
nenolod
parents: 411
diff changeset
28
37a183b4ce60 [svn] - rovascope: more randomization
nenolod
parents: 411
diff changeset
29 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
37a183b4ce60 [svn] - rovascope: more randomization
nenolod
parents: 411
diff changeset
30 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
31
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
32 dnl Check for C compiler
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
33
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
34 AC_PROG_CC
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
35 AC_PROG_CXX
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
36 AC_ISC_POSIX
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
37 AC_C_BIGENDIAN
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
38
1046
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
39
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
40 dnl Locate a program and check that its version is acceptable.
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
41 dnl AC_PROG_CHECK_VER(var, namelist, version-switch,
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
42 dnl [version-extract-regexp], version-glob [, do-if-fail])
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
43 AC_DEFUN([AC_CHECK_PROG_VER],
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
44 [AC_CHECK_PROGS([$1], [$2])
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
45 if test -z "[$]$1"; then
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
46 ac_verc_fail=yes
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
47 else
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
48 # Found it, now check the version.
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
49 AC_MSG_CHECKING([version of [$]$1])
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
50 changequote(<<,>>)dnl
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
51 ac_prog_version=`<<$>>$1 $3 2>&1 ifelse(<<$4>>,,,
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
52 <<| sed -n 's/^.*patsubst(<<$4>>,/,\/).*$/\1/p'>>)`
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
53 case $ac_prog_version in
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
54 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
55 <<$5>>)
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
56 changequote([,])dnl
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
57 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
58 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
59
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
60 esac
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
61 AC_MSG_RESULT([$ac_prog_version])
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
62 fi
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
63 ifelse([$6],,,
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
64 [if test $ac_verc_fail = yes; then
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
65 $6
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
66 fi])
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
67 ])
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
68
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
69 GCC42_CFLAGS="-fgnu89-inline"
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
70 AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
71 [version \([egcygnustpi-]*[0-9.]*\)], [4.[2-9]* ],
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
72 GCC42_CFLAGS="")
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
73
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
74 dnl Check for assembler
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
75
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
76 AM_PROG_AS
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
77
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
78 dnl Checks for various programs
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
79
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
80 AC_PROG_INSTALL
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
81 AC_PROG_LN_S
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
82 AC_PROG_MAKE_SET
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
83
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
84 AC_PATH_PROG(RM, rm)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
85 AC_PATH_PROG(MV, mv)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
86 AC_PATH_PROG(CP, cp)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
87 AC_PATH_PROG(AR, ar)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
88 AC_PATH_PROG(RANLIB, ranlib)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
89
390
6bb98fbbae04 [svn] - translation framework
nenolod
parents: 389
diff changeset
90 dnl Gettext -nenolod
6bb98fbbae04 [svn] - translation framework
nenolod
parents: 389
diff changeset
91 AM_GNU_GETTEXT([external])
6bb98fbbae04 [svn] - translation framework
nenolod
parents: 389
diff changeset
92
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
93 dnl Path settings
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
94
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
95 AC_ARG_WITH(dev-dsp,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
96 [ --with-dev-dsp=path Path to OSS DSP data pipe, default is /dev/dsp.],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
97 [dev_dsp=$withval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
98 [dev_dsp=/dev/dsp]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
99 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
100 AC_DEFINE_UNQUOTED(DEV_DSP, "$dev_dsp",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
101 [Path to OSS DSP, really just a data pipe, default is /dev/dsp.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
102 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
103
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
104 AC_ARG_WITH(dev-mixer,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
105 [ --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer.],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
106 [dev_mixer=$withval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
107 [dev_mixer=/dev/mixer]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
108 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
109 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
110 [Path to OSS mixer, default is /dev/mixer.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
111 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
112
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
113 AC_ARG_WITH(cdda-device,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
114 [ --with-cdda-device=path Path to default cdaudio device.],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
115 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
116 [Path to default cdaudio device.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
117 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
118 ]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
119 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
120
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
121 AC_ARG_WITH(cdda-dir,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
122 [ --with-cdda-dir=path Path to default cdaudio directory.],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
123 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
124 [Path to default cdaudio directory.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
125 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
126 ]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
127 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
128
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
129 dnl These plugins are always built.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
130
749
26ff35aa9b2b [svn] - vtx input plugin based on a submission from Pavel Vymetalek.
nenolod
parents: 748
diff changeset
131 INPUT_PLUGINS="tonegen console sexypsf wav cue alac metronom vtx"
1007
0e4ee1c4e6cb [svn] completed diskwriter and out_lame removal
majeru
parents: 1005
diff changeset
132 OUTPUT_PLUGINS="null"
882
d58c48b014ed [svn] - integrated SndStretch into build process
mf0102
parents: 878
diff changeset
133 EFFECT_PLUGINS="audiocompress ladspa voice_removal sndstretch stereo_plugin echo_plugin"
121
b59bca84e3cd [svn] - add xmms-alarm port
nenolod
parents: 118
diff changeset
134 GENERAL_PLUGINS="song_change alarm"
146
03cfb311eafd [svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents: 144
diff changeset
135 VISUALIZATION_PLUGINS="blur_scope spectrum"
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
136 CONTAINER_PLUGINS="m3u pls"
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
137 TRANSPORT_PLUGINS="stdio"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
138
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
139 dnl Check for Audacious
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
140
1062
1d65dcdb714c [svn] - bump version of plugins and version requirements per plugin api v2
nenolod
parents: 1058
diff changeset
141 PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 1.3.99],
1d65dcdb714c [svn] - bump version of plugins and version requirements per plugin api v2
nenolod
parents: 1058
diff changeset
142 [ADD_PC_REQUIRES([audacious >= 1.3.99])],
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
143 [AC_MSG_ERROR([Cannot find Audacious, have you installed audacious yet?])]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
144 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
145
1005
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
146 dnl Check for GTK/GLib/GThread/Pango/DBus
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
147
578
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
148 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0 gthread-2.0],
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
149 [ADD_PC_REQUIRES([glib-2.0 >= 2.6.0])],
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
150 [AC_MSG_ERROR([Cannot find glib2 >= 2.6.0])]
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
151 )
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
152
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
153 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.6.0],
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
154 [ADD_PC_REQUIRES([gtk+-2.0 >= 2.6.0])],
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
155 [AC_MSG_ERROR([Cannot find gtk2 >= 2.6.0])]
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
156 )
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
157
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
158 PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
159 [ADD_PC_REQUIRES([pango >= 1.8.0])],
550c9e382cf8 [svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents: 560
diff changeset
160 [AC_MSG_ERROR([Cannot find pango >= 1.8.0])]
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
161 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
162
1005
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
163 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60],
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
164 [ADD_PC_REQUIRES([dbus-1 >= 0.60 dbus-glib-1 >= 0.60])
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
165 AC_DEFINE(USE_DBUS, 1, [Define if D-Bus support enabled])],
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
166 [AC_MSG_ERROR([Cannot find dbus-glib >= 0.60])]
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
167 ])
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
168
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
169 PKG_CHECK_MODULES(MOWGLI, [libmowgli >= 0.2.0],
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
170 [ADD_PC_REQUIRES([libmowgli >= 0.2.0])],
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
171 [AC_MSG_ERROR([Cannot find libmowgli >= 0.2.0])]
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
172 )
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
173
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
174 dnl IPv6 support
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
175 dnl ========================
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
176 AC_ARG_ENABLE(ipv6,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
177 [ --enable-ipv6 enable IPv6 support (default=no)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
178 enable_ipv6=$enableval, enable_ipv6=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
179 if test "x$enable_ipv6" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
180 AC_DEFINE(USE_IPV6,, [Define if building with IPv6 support] )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
181 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
182 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
183 AC_SUBST(USE_IPV6)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
184
44
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
185 dnl chardet support
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
186 dnl ========================
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
187 AC_ARG_ENABLE(chardet,
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
188 [ --enable-chardet enable character set detection support (default=no)],
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
189 enable_chardet=$enableval, enable_chardet=no)
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
190 if test "x$enable_chardet" = xyes; then
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
191 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] )
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
192 fi
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
193 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes)
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
194 AC_SUBST(USE_CHARDET)
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
195
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
196 dnl plugin stuff
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
197 dnl ========================
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
198
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
199 dnl Ok, first we find out what flags we need to use.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
200 AC_MSG_CHECKING([for what extension and flags to use for plugin compilation])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
201 case "$target" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
202 *-apple-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
203 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
204 PICFLAGS="-fPIC -DPIC"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
205 PICLDFLAGS="-fPIC -DPIC -bundle -fno-common -flat_namespace -undefined suppress"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
206 LIBLDFLAGS="-dynamiclib"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
207 AUDLDFLAGS=""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
208 SHARED_SUFFIX=".dylib"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
209 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
210 *)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
211 AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
212 PICFLAGS="-fPIC -DPIC"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
213 PICLDFLAGS="-fPIC -DPIC -shared"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
214 LIBLDFLAGS="-fPIC -DPIC -shared"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
215 AUDLDFLAGS="-Wl,-export-dynamic -Wl,-rpath=\${libdir}"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
216 SHARED_SUFFIX=".so"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
217 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
218 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
219 AC_SUBST(PICFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
220 AC_SUBST(PICLDFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
221 AC_SUBST(LIBLDFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
222 AC_SUBST(AUDLDFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
223 AC_SUBST(SHARED_SUFFIX)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
224 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
225 [Define the shared module suffix extension on your platform.])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
226
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
227 AC_MSG_CHECKING([if you are running Apple-GCC])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
228 case "$target" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
229 *-apple-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
230 AC_MSG_RESULT([yes, sorry you poor bastard])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
231 LDFLAGS="$LDFLAGS -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
232 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
233 *)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
234 AC_MSG_RESULT([no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
235 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
236 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
237
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
238 dnl Check for esound
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
239
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
240 AC_ARG_ENABLE( esd,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
241 [ --disable-esd disable esound output plugin [default=enabled]],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
242 [enable_esd=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
243 [enable_esd="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
244 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
245
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
246 if test "$enable_esd" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
247 PKG_CHECK_MODULES(ESD, [esound >= 0.2],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
248 [have_esd=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
249 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
250 [have_esd=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
251 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
252 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
253 AC_MSG_RESULT([*** esound plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
254 have_esd=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
255 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
256
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
257 dnl Check for PulseAudio
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
258
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
259 AC_ARG_ENABLE( pulse,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
260 [ --disable-pulse disable PulseAudio output plugin [default=enabled]],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
261 [enable_pulse=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
262 [enable_pulse="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
263 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
264
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
265 if test "$enable_pulse" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
266 PKG_CHECK_MODULES(PULSE, [libpulse >= 0.9.3],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
267 [have_pulse=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
268 OUTPUT_PLUGINS="$OUTPUT_PLUGINS pulse_audio"],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
269 [have_pulse=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
270 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
271 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
272 AC_MSG_RESULT([*** pulseaudio output plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
273 have_pulse=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
274 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
275
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
276 dnl *** CoreAudio
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
277
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
278 AC_ARG_ENABLE(coreaudio,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
279 [ --disable-coreaudio disable CoreAudio output plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
280 [enable_coreaudio=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
281 [enable_coreaudio="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
282 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
283
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
284 if test "$enable_coreaudio" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
285 AC_CHECK_HEADERS([CoreServices/CoreServices.h],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
286 [have_coreaudio=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
287 OUTPUT_PLUGINS="$OUTPUT_PLUGINS CoreAudio"],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
288 [have_coreaudio=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
289 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
290 AC_MSG_RESULT([*** CoreAudio output plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
291 have_coreaudio=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
292 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
293
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
294 dnl *** AltiVec
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
295
1138
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
296 AC_ARG_ENABLE(altivec,
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
297 [ --disable-altivec disable AltiVec support. (default=enabled) ],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
298 [enable_altivec=$enableval],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
299 [enable_altivec=yes]
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
300 )
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
301 if test "x$enable_altivec" = "xyes"; then
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
302 AC_CHECK_HEADERS(altivec.h,
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
303 [AC_DEFINE(HAVE_ALTIVEC, 1, [Define to 1 if your system has AltiVec.])
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
304 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Define to 1 if your system has an altivec.h file.])
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
305 AC_DEFINE(ARCH_POWERPC, 1, [Define to 1 if your system is a PowerPC.])
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
306 DCT64=dct64_altivec.c
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
307 SIMD_CFLAGS=-maltivec
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
308 AC_SUBST(SIMD_CFLAGS)],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
309 [DCT64=dct64.c]
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
310 )
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
311 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
312 AC_SUBST(DCT64)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
313
922
7e14701aef54 [svn] - replace random number generator in dithering code with SIMD-oriented Fast Mersenne Twister (SFMT). it reduces CPU load on SSE2 or AltiVec capable platform.
yaz
parents: 908
diff changeset
314 dnl *** SSE2
7e14701aef54 [svn] - replace random number generator in dithering code with SIMD-oriented Fast Mersenne Twister (SFMT). it reduces CPU load on SSE2 or AltiVec capable platform.
yaz
parents: 908
diff changeset
315
1138
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
316 AC_ARG_ENABLE(sse2,
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
317 [ --disable-sse2 disable SSE2 support. (default=enabled) ],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
318 [enable_sse2=$enableval],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
319 [enable_sse2=yes]
923
053baea2cbef [svn] - replace SSE2 detection macro.
yaz
parents: 922
diff changeset
320 )
1138
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
321 if test "x$enable_sse2" = "xyes"; then
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
322 AC_MSG_CHECKING(SSE2)
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
323 ac_save_CFLAGS="$CFLAGS"
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
324 CFLAGS="-msse2"
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
325 AC_TRY_RUN([
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
326 #include <emmintrin.h>
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
327 int main()
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
328 {
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
329 _mm_setzero_pd();
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
330 return 0;
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
331 }
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
332 ],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
333 [AC_MSG_RESULT(SSE2 yes)
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
334 AC_DEFINE(HAVE_SSE2, 1, [Define to 1 if your system has SSE2])
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
335 SIMD_CFLAGS=-msse2],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
336 [AC_MSG_RESULT(SSE2 no)],
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
337 )
402ee2120cb1 [svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents: 1083
diff changeset
338 fi
923
053baea2cbef [svn] - replace SSE2 detection macro.
yaz
parents: 922
diff changeset
339 AC_SUBST(SIMD_CFLAGS)
053baea2cbef [svn] - replace SSE2 detection macro.
yaz
parents: 922
diff changeset
340 CFLAGS="$ac_save_CFLAGS"
922
7e14701aef54 [svn] - replace random number generator in dithering code with SIMD-oriented Fast Mersenne Twister (SFMT). it reduces CPU load on SSE2 or AltiVec capable platform.
yaz
parents: 908
diff changeset
341
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
342 dnl *** MP3
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
343
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
344 AC_ARG_ENABLE(mp3,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
345 [ --disable-mp3 disable mp3 plugin. (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
346 [enable_mp3=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
347 [enable_mp3=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
348 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
349
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
350 if test "$enable_mp3" = "yes"; then
748
559c68ce2e3d [svn] - using mad.pc makes us dependant on a nonstandard packaging of mad --
nenolod
parents: 736
diff changeset
351 AC_CHECK_LIB(mad, mad_timer_add,
559c68ce2e3d [svn] - using mad.pc makes us dependant on a nonstandard packaging of mad --
nenolod
parents: 736
diff changeset
352 [INPUT_PLUGINS="$INPUT_PLUGINS madplug"],
559c68ce2e3d [svn] - using mad.pc makes us dependant on a nonstandard packaging of mad --
nenolod
parents: 736
diff changeset
353 [enable_mp3="no"])
634
65606ed19c76 [svn] - make use of integrated libid3tag
yaz
parents: 622
diff changeset
354 fi
622
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
355 # XXX rtsp support
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
356 # PKG_CHECK_MODULES(LIBNMS,[libnms >= 0.6.0],
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
357 # [LIBNMS_SRC=rtsp.c
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
358 # AC_DEFINE(HAVE_NEMESI,,[Define if rtp/rtsp support is available])
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
359 # ],[LIBNMS_SRC=""])
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
360 # AC_SUBST(LIBNMS_CFLAGS)
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
361 # AC_SUBST(LIBNMS_LIBS)
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
362 # AC_SUBST(LIBNMS_SRC)
634
65606ed19c76 [svn] - make use of integrated libid3tag
yaz
parents: 622
diff changeset
363 # fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
364
327
f3f77cbd58f3 [svn] Add support for Apple PMU front LED to Rocklight. Tested on PowerBook 5,9; works but is rather slow to update.
chainsaw
parents: 315
diff changeset
365 dnl *** Rocklight
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
366
411
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
367 AC_ARG_ENABLE(rocklight,
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
368 AS_HELP_STRING([--disable-rocklight], [disable Rocklight vis plugin (default=enabled)]),
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
369 [enable_rocklight="$enableval"],
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
370 [enable_rocklight="yes"]
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
371 )
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
372
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
373 if test "$enable_rocklight" = "yes"; then
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
374 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight"
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
375 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
376
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
377 dnl *** LIRC client libraries
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
378
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
379 AC_ARG_ENABLE(lirc,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
380 [ --disable-lirc disable LIRC plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
381 [enable_lirc=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
382 [enable_lirc="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
383 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
384
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
385 if test "$enable_lirc" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
386 AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
387 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
388 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
389 have_lirc="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
390 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
391
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
392 if test "$have_lirc" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
393 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
394 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
395
422
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
396 dnl *** EvDev-Plug general plugin (only built on Linux)
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
397
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
398 AC_ARG_ENABLE(evdevplug,
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
399 [ --disable-evdevplug disable Linux evdev plugin (default=enabled)],
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
400 [enable_evdevplug=$enableval],
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
401 [enable_evdevplug="yes"]
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
402 )
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
403
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
404 if test "x$enable_evdevplug" = "xyes"; then
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
405 case "$target" in
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
406 *-*-linux*)
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
407 have_evdevplug="yes"
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
408 ;;
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
409 *)
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
410 AC_MSG_RESULT([*** Linux evdev plugin disabled (host does not run linux) ***])
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
411 have_evdevplug="no"
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
412 ;;
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
413 esac
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
414 else
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
415 AC_MSG_RESULT([*** Linux evdev plugin disabled per user request ***])
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
416 have_evdevplug="no"
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
417 fi
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
418
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
419 if test "x$have_evdevplug" = "xyes"; then
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
420 GENERAL_PLUGINS="$GENERAL_PLUGINS evdev-plug"
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
421 fi
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
422
433
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
423 dnl *** Status Icon plugin (for X11 only)
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
424
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
425 AC_ARG_ENABLE(statusicon,
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
426 [ --disable-statusicon disable X11 Status Icon plugin (default=enabled)],
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
427 [enable_statusicon=$enableval],
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
428 [enable_statusicon="yes"]
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
429 )
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
430
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
431 if test "x$enable_statusicon" = "xyes"; then
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
432 have_statusicon="yes"
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
433 PKG_CHECK_MODULES(GDKX11,[gdk-x11-2.0 >= 2.6.0],,[have_statusicon="no"])
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
434 else
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
435 AC_MSG_RESULT([*** X11 Status Icon plugin disabled per user request ***])
856
a5f4472faa6b [svn] - couldn't disable statusicon.
yaz
parents: 839
diff changeset
436 have_statusicon="no"
433
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
437 fi
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
438
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
439 if test "x$have_statusicon" = "xyes"; then
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
440 GENERAL_PLUGINS="$GENERAL_PLUGINS statusicon"
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
441 fi
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
442
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
443 dnl *** Audacious OSD plugin (pangocairo-based)
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
444
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
445 AC_ARG_ENABLE(aosd,
908
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
446 [ --disable-aosd disable Audacious OSD plugin (default=enabled)],
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
447 [enable_aosd=$enableval],
933
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
448 [enable_aosd="guess"]
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
449 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
450
908
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
451 AC_ARG_ENABLE(aosd_xcomp,
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
452 [ --disable-aosd-xcomp disable Audacious OSD X Composite Support (default=enabled)],
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
453 [enable_aosd_xcomp=$enableval],
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
454 [enable_aosd_xcomp="yes"]
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
455 )
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
456
933
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
457 if test "x$enable_aosd" = "xguess"; then
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
458 have_aosd="yes"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
459 PKG_CHECK_MODULES(PANGO,[pango >= 1.14.7],,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
460 [have_aosd="no"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
461 AC_MSG_RESULT([*** pango >= 1.14.7 is required for Audacious OSD plugin ***])]
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
462 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
463 PKG_CHECK_MODULES(CAIRO,[cairo >= 1.2.6],,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
464 [have_aosd="no"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
465 AC_MSG_RESULT([*** cairo >= 1.2.6 is required for Audacious OSD plugin ***])]
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
466 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
467 PKG_CHECK_MODULES(PANGOCAIRO,[pangocairo >= 1.14.7],,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
468 [have_aosd="no"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
469 AC_MSG_RESULT([*** pangocairo >= 1.14.7 is required for Audacious OSD plugin ***])]
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
470 )
908
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
471 PKG_CHECK_MODULES(XRENDER, xrender,,
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
472 [have_aosd="no"
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
473 AC_MSG_RESULT([*** X Render extension is required for Audacious OSD plugin ***])]
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
474 )
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
475 if test "x$enable_aosd_xcomp" = "xyes"; then
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
476 have_aosd_xcomp="yes"
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
477 PKG_CHECK_MODULES(XCOMPOSITE, xcomposite,
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
478 [AC_DEFINE([HAVE_XCOMPOSITE],[],[X Composite extension available])],
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
479 [have_aosd_xcomp="no"
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
480 AC_MSG_RESULT([*** X Composite extension not found, composite support for Audacious OSD will not be compiled ***])]
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
481 )
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
482 else
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
483 AC_MSG_RESULT([*** X Composite support for Audacious OSD plugin disabled per user request ***])
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
484 have_aosd_xcomp="no"
933
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
485 fi
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
486 else
933
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
487 if test "x$enable_aosd" = "xyes"; then
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
488 AC_MSG_RESULT([*** Audacious OSD plugin has been forcefully enabled ***])
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
489 have_aosd="yes"
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
490 if test "x$enable_aosd_xcomp" = "xyes"; then
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
491 have_aosd_xcomp="yes"
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
492 PKG_CHECK_MODULES(XCOMPOSITE, xcomposite,
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
493 [AC_DEFINE([HAVE_XCOMPOSITE],[],[X Composite extension available])],
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
494 [have_aosd_xcomp="no"
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
495 AC_MSG_RESULT([*** X Composite extension not found, composite support for Audacious OSD will not be compiled ***])]
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
496 )
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
497 else
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
498 AC_MSG_RESULT([*** X Composite support for Audacious OSD plugin disabled per user request ***])
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
499 have_aosd_xcomp="no"
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
500 fi
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
501 else
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
502 AC_MSG_RESULT([*** Audacious OSD plugin disabled per user request ***])
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
503 have_aosd="no"
35ec41daad52 [svn] - allow AOSD to be forcefully enabled
nenolod
parents: 930
diff changeset
504 fi
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
505 fi
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
506
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
507 if test "x$have_aosd" = "xyes"; then
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
508 GENERAL_PLUGINS="$GENERAL_PLUGINS aosd"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
509 fi
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
510
900
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
511 dnl *** Rootwindow vis plugin (imlib2 based)
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
512
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
513 AC_ARG_ENABLE(rootvis,
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
514 [ --disable-rootvis disable X11 RootWindow vis plugin (default=enabled)],
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
515 [enable_rootvis=$enableval],
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
516 [enable_rootvis="yes"]
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
517 )
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
518
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
519 if test "x$enable_rootvis" = "xyes"; then
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
520 have_rootvis="yes"
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
521 PKG_CHECK_MODULES(IMLIB2, [imlib2 >= 1.1.0],,
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
522 [have_rootvis="no"
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
523 AC_MSG_RESULT([*** imlib2 >= 1.1.0 is required for Audacious RootVis plugin ***])]
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
524 )
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
525 else
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
526 AC_MSG_RESULT([*** RootVis plugin disabled per user request ***])
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
527 have_rootvis="no"
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
528 fi
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
529
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
530 if test "x$have_rootvis" = "xyes"; then
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
531 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rootvis"
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
532 fi
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
533
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
534 dnl *** AdPlug requirement (libbinio)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
535
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
536 AC_ARG_ENABLE(adplug,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
537 [ --disable-adplug disable AdPlug plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
538 [enable_adplug=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
539 [enable_adplug="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
540 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
541
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
542 if test "$enable_adplug" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
543 have_adplug="yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
544 PKG_CHECK_MODULES(BINIO,[libbinio >= 1.4],,[have_adplug=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
545 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
546 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
547 have_adplug="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
548 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
549
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
550 if test "$have_adplug" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
551 INPUT_PLUGINS="$INPUT_PLUGINS adplug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
552 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
553
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
554 dnl *** Ogg Vorbis
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
555
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
556 AC_ARG_ENABLE(vorbis,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
557 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
558 [enable_vorbis=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
559 [enable_vorbis="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
560 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
561
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
562 if test "$enable_vorbis" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
563 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
564 [have_oggvorbis=yes],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
565 [AC_MSG_WARN([*** Cannot find libogg/libvorbis, Ogg Vorbis support will not be built ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
566 have_oggvorbis=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
567 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
568 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
569 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
570 have_oggvorbis=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
571 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
572
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
573 if test "$have_oggvorbis" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
574 INPUT_PLUGINS="$INPUT_PLUGINS vorbis"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
575 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
576
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
577 dnl *** FLACng (in progress replacement to XMMS-flac port)
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
578
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
579 AC_ARG_ENABLE(flacng,
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
580 [ --disable-flacng disable flac input plugin (default=enabled)],
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
581 [enable_flacng=$enableval],
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
582 [enable_flacng="yes"]
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
583 )
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
584
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
585 if test "$enable_flacng" = "yes"; then
1038
ertzing
parents: 1007
diff changeset
586 PKG_CHECK_MODULES(FLAC, [flac >= 1.1.3],
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
587 [have_flacng=yes],
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
588 [AC_MSG_WARN([*** Cannot find libFLAC, FLACng will not be built ***])
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
589 have_flacng=no]
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
590 )
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
591 else
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
592 AC_MSG_RESULT([*** FLACng plugin disabled per user request ***])
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
593 have_flacng=no
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
594 fi
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
595
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
596 if test "$have_flacng" = "yes"; then
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
597 INPUT_PLUGINS="$INPUT_PLUGINS flacng"
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
598 fi
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
599
110
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
600 dnl *** WavPack 4.31 support
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
601
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
602 AC_ARG_ENABLE(wavpack,
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
603 [ --disable-wavpack disable WavPack input plugin (default=enabled)],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
604 [enable_wavpack=$enableval],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
605 [enable_wavpack="yes"]
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
606 )
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
607
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
608 if test "$enable_wavpack" = "yes"; then
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
609 PKG_CHECK_MODULES(WAVPACK, [wavpack >= 4.31],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
610 [have_wavpack=yes],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
611 [AC_MSG_WARN([*** Cannot find WavPack 4.31+, WavPack support will not be built ***])
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
612 have_wavpack=no]
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
613 )
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
614 else
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
615 AC_MSG_RESULT([*** WavPack plugin disabled per user request ***])
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
616 have_wavpack=no
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
617 fi
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
618
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
619 if test "$have_wavpack" = "yes"; then
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
620 INPUT_PLUGINS="$INPUT_PLUGINS wavpack"
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
621 fi
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
622
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
623 dnl *** AAC
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
624
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
625 AC_ARG_ENABLE(aac,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
626 [ --disable-aac disable aac plugin (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
627 [enable_aac=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
628 [enable_aac=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
629 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
630
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
631 if test "$enable_aac" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
632 INPUT_PLUGINS="$INPUT_PLUGINS aac"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
633 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
634
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
635 dnl *** sndfile
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
636
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
637 AC_ARG_ENABLE(sndfile,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
638 [ --disable-sndfile disable sndfile extensions. [default=enabled] ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
639 [enable_sndfile=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
640 [enable_sndfile=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
641 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
642
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
643 if test "$enable_sndfile" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
644 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
645 [enable_sndfile=yes],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
646 [enable_sndfile=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
647 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
648 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
649 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
650 enable_sndfile=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
651 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
652
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
653 if test "$enable_sndfile" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
654 WAV_SNDFILE="-sndfile"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
655 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
656
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
657 AC_SUBST(WAV_SNDFILE)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
658
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
659 dnl *** modplug
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
660
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
661 AC_ARG_ENABLE(modplug,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
662 [ --disable-modplug disable ModPlug plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
663 [enable_modplug=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
664 [enable_modplug="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
665 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
666
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
667 if test "$enable_modplug" = "yes"; then
136
6b5a52635b3b [svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents: 135
diff changeset
668 INPUT_PLUGINS="$INPUT_PLUGINS modplug"
6b5a52635b3b [svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents: 135
diff changeset
669 have_modplug="yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
670 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
671 AC_MSG_RESULT([*** ModPlug plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
672 have_modplug="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
673 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
674
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
675 dnl *** flac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
676 AC_ARG_ENABLE( flac,
1039
ertzing
parents: 1038
diff changeset
677 [ --enable-flac enable flac input plugin (default=disabled)],
ertzing
parents: 1038
diff changeset
678 [enable_flac=$enableval],
ertzing
parents: 1038
diff changeset
679 [enable_flac="no"])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
680
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
681 if test "x$enable_flac" = xyes; then
728
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
682 if test "x$have_oggvorbis" = xyes; then
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
683 INPUT_PLUGINS="$INPUT_PLUGINS flac"
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
684 have_flac=yes
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
685 else
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
686 AC_MSG_RESULT([*** flac plugin couldn't be enabled due to missing dependencies ***])
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
687 have_flac=no
c26dc360a03e [svn] - no vorbis? disallow flac too.
nenolod
parents: 725
diff changeset
688 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
689 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
690 AC_MSG_RESULT([*** flac plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
691 have_flac=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
692 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
693
232
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
694 dnl *** Musepack
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
695
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
696 AC_ARG_ENABLE(musepack,
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
697 [ --disable-musepack disable musepack input plugin (default=enabled)],
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
698 [enable_musepack=$enableval],
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
699 [enable_musepack="yes"]
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
700 )
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
701
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
702 if test "$enable_musepack" = "yes"; then
662
fb0196e8f03f [svn] - remove a bunch of audacious-core cruft
nenolod
parents: 634
diff changeset
703 PKG_CHECK_MODULES(TAGLIB, [taglib >= 1.4], [
fb0196e8f03f [svn] - remove a bunch of audacious-core cruft
nenolod
parents: 634
diff changeset
704 AC_CHECK_HEADERS(mpcdec/config_types.h,, [
fb0196e8f03f [svn] - remove a bunch of audacious-core cruft
nenolod
parents: 634
diff changeset
705 enable_musepack=no
fb0196e8f03f [svn] - remove a bunch of audacious-core cruft
nenolod
parents: 634
diff changeset
706 ])
fb0196e8f03f [svn] - remove a bunch of audacious-core cruft
nenolod
parents: 634
diff changeset
707 ], [enable_musepack=no])
232
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
708 else
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
709 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***])
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
710 enable_musepack=no
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
711 fi
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
712
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
713 if test "$enable_musepack" = "yes"; then
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
714 INPUT_PLUGINS="$INPUT_PLUGINS musepack"
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
715 fi
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
716
878
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
717 dnl *** WMA
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
718
878
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
719 AC_ARG_ENABLE(wma,
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
720 [ --disable-wma disable wma plugin. (default=enabled)],
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
721 [enable_wma=$enableval],
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
722 [enable_wma=yes]
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
723 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
724
878
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
725 if test "$enable_wma" = "yes"; then
aa044d71838f [svn] Goodbye ffmpeg, welcome back WMA.
chainsaw
parents: 874
diff changeset
726 INPUT_PLUGINS="$INPUT_PLUGINS wma"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
727 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
728
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
729 dnl *** jack output plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
730 AC_ARG_ENABLE( jack,
50
ea473b7f6afe [svn] - allow jack to be forcefully disabled
nenolod
parents: 46
diff changeset
731 [ --disable-jack disable jack output plugin (default=enabled)], [enable_jack=$enableval],
ea473b7f6afe [svn] - allow jack to be forcefully disabled
nenolod
parents: 46
diff changeset
732 [enable_jack="yes"])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
733
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
734 if test "x$enable_jack" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
735 AM_PATH_JACK(have_jack=yes, have_jack=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
736 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
737 AC_MSG_RESULT([*** jack plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
738 have_jack=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
739 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
740
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
741 if test "$have_jack" = yes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
742 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
743 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
744
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
745 dnl *** arts output plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
746 AC_ARG_ENABLE( arts,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
747 [ --disable-arts disable arts output plugin (default=enabled)],,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
748 enable_arts="yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
749
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
750 if test "x$enable_arts" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
751 AM_PATH_ARTSC(0.9.5, have_arts=yes, have_arts=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
752 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
753 AC_MSG_RESULT([*** arts plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
754 have_arts=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
755 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
756
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
757 if test "$have_arts" = yes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
758 OUTPUT_PLUGINS="$OUTPUT_PLUGINS arts"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
759 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
760
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
761 dnl *** sid
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
762 AC_ARG_ENABLE( sid,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
763 [ --disable-sid disable sid input plugin (default=enabled)],,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
764 enable_sid="yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
765
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
766 if test "x$enable_sid" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
767 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
768 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
769 AC_MSG_RESULT([*** sid plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
770 have_sidplay=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
771 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
772
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
773 if test "$have_sidplay" = yes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
774 INPUT_PLUGINS="$INPUT_PLUGINS sid"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
775 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
776
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
777 dnl *** OSS output
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
778
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
779 AC_ARG_ENABLE(oss,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
780 [ --disable-oss disable the OSS output plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
781 [enable_oss=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
782 [enable_oss=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
783 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
784
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
785 have_oss=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
786 if test "$enable_oss" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
787 AC_MSG_CHECKING(for OSS include dir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
788 OSS_CFLAGS=""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
789 if test -f "/etc/oss.conf" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
790 for i in `cat /etc/oss.conf`; do
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
791 t=`echo $i | sed -e 's/OSSLIBDIR=//'`
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
792 if test "$i" != "$t" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
793 if test -f "$t/include/sys/soundcard.h" -o -f "$i/include/soundcard.h" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
794 OSS_CFLAGS="-I$t/include"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
795 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
796 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
797 done
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
798 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
799 if test -n "$OSS_CFLAGS" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
800 AC_MSG_RESULT([$OSS_CFLAGS])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
801 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
802 AC_MSG_RESULT([not found])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
803 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
804 CFLAGS_save=$CFLAGS
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
805 CFLAGS="$CFLAGS $OSS_CFLAGS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
806 AC_CHECK_HEADERS(soundcard.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
807 AC_CHECK_HEADERS(sys/soundcard.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
808 AC_CHECK_HEADERS(machine/soundcard.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
809 CFLAGS=$CFLAGS_save
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
810
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
811 if test "${ac_cv_header_soundcard_h}" = "yes" || test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
812 have_oss=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
813 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
814
6
7cac35581bd0 [svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents: 5
diff changeset
815 if test "${have_oss}" = "yes"; then
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
816 AC_MSG_CHECKING(whether we need -lossaudio)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
817 AC_TRY_LINK([
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
818 #include <sys/ioctl.h>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
819 #ifdef HAVE_SYS_SOUNDCARD_H
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
820 #include <sys/soundcard.h>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
821 #else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
822 #include <soundcard.h>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
823 #endif
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
824 ], [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
825 int fd, value;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
826 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value);
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
827 ], AC_MSG_RESULT(no), [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
828 OSS_LIBS="-lossaudio"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
829 AC_MSG_RESULT(yes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
830 ])
6
7cac35581bd0 [svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents: 5
diff changeset
831 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
832 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
833
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
834 if test "$have_oss" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
835 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
836 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
837 have_oss=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
838 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
839
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
840 if test "$have_oss" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
841 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
842 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
843
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
844 AC_SUBST(OSS_LIBS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
845
1213
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
846
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
847 dnl *** OSS4 output
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
848
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
849 AC_ARG_ENABLE(oss4,
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
850 [ --disable-oss4 disable the OSS4 output plugin (default=enabled)],
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
851 [enable_oss4=$enableval],
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
852 [enable_oss4=yes]
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
853 )
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
854
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
855 have_oss4=no
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
856 if test "$enable_oss4" = "yes"; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
857 AC_MSG_CHECKING(for OSS4 include dir)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
858 OSS4_CFLAGS=""
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
859 if test -f "/etc/oss.conf" ; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
860 for i in `cat /etc/oss.conf`; do
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
861 t=`echo $i | sed -e 's/OSSLIBDIR=//'`
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
862 if test "$i" != "$t" ; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
863 if test -f "$t/include/sys/soundcard.h" -o -f "$i/include/soundcard.h" ; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
864 OSS4_CFLAGS="-I$t/include"
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
865 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
866 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
867 done
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
868 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
869 if test -n "$OSS4_CFLAGS" ; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
870 AC_MSG_RESULT([$OSS4_CFLAGS])
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
871 else
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
872 AC_MSG_RESULT([not found])
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
873 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
874 CFLAGS_save=$CFLAGS
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
875 CFLAGS="$CFLAGS $OSS4_CFLAGS"
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
876 AC_CHECK_HEADERS(soundcard.h)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
877 AC_CHECK_HEADERS(sys/soundcard.h)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
878 AC_CHECK_HEADERS(machine/soundcard.h)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
879 CFLAGS=$CFLAGS_save
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
880
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
881 if test "${ac_cv_header_soundcard_h}" = "yes" || test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
882 have_oss4=yes
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
883 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
884
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
885 if test "${have_oss4}" = "yes"; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
886 AC_MSG_CHECKING(whether we need -lossaudio)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
887 AC_TRY_LINK([
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
888 #include <sys/ioctl.h>
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
889 #ifdef HAVE_SYS_SOUNDCARD_H
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
890 #include <sys/soundcard.h>
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
891 #else
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
892 #include <soundcard.h>
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
893 #endif
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
894 ], [
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
895 int fd, value;
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
896 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value);
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
897 ], AC_MSG_RESULT(no), [
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
898 OSS_LIBS="-lossaudio"
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
899 AC_MSG_RESULT(yes)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
900 ])
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
901 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
902 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
903
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
904 if test "$have_oss4" = "yes"; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
905 AC_DEFINE(HAVE_OSS4, 1, [Define if the OSS4 output plugin should be built])
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
906 else
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
907 have_oss4=no
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
908 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
909
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
910 if test "$have_oss4" = "yes"; then
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
911 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS4"
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
912 fi
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
913
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
914 AC_SUBST(OSS_LIBS)
e49e02828f85 OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents: 1190
diff changeset
915
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
916 dnl *** ALSA output plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
917
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
918 AC_ARG_ENABLE(alsa,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
919 [ --disable-alsa disable ALSA input plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
920 [enable_alsa=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
921 [enable_alsa=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
922 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
923
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
924 if test "$enable_alsa" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
925 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
926 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
927 have_alsa=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
928 alsalib_available=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
929 ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
930 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
931 have_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
932 alsalib_available=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
933 ]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
934 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
935 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
936 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
937 have_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
938 alsalib_available=check
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
939 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
940
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
941 if test "$have_alsa" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
942 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
943 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
944
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
945
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
946 dnl *** amidi-plug (note: to avoid checking twice ALSA, this should appear somewhere after the alsa output plugin check)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
947
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
948 AC_ARG_ENABLE(amidiplug,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
949 [ --disable-amidiplug disable amidi-plug input plugin (default=check) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
950 [enable_amidiplug=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
951 [enable_amidiplug=check]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
952 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
953
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
954 AC_ARG_ENABLE(amidiplug-alsa,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
955 [ --disable-amidiplug-alsa disable amidi-plug ALSA backend (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
956 [enable_amidiplug_alsa=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
957 [enable_amidiplug_alsa=auto]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
958 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
959
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
960 AC_ARG_ENABLE(amidiplug-flsyn,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
961 [ --disable-amidiplug-flsyn disable amidi-plug FluidSynth backend (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
962 [enable_amidiplug_fluidsynth=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
963 [enable_amidiplug_fluidsynth=auto]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
964 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
965
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
966 AC_ARG_ENABLE(amidiplug-dummy,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
967 [ --disable-amidiplug-dummy disable amidi-plug dummy backend (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
968 [enable_amidiplug_dummy=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
969 [enable_amidiplug_dummy=auto]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
970 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
971
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
972
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
973 if test "x$enable_amidiplug" = "xno"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
974 AC_MSG_RESULT([*** amidi-plug disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
975 enable_amidiplug=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
976 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
977 if test "x$enable_amidiplug_alsa" != "xauto"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
978 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
979 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
980 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
981 elif test "x$enable_amidiplug_dummy" != "xauto"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
982 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
983 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
984 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
985
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
986 if test "x$enable_amidiplug" = "xcheck"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
987 if test "x$alsalib_available" = "xcheck"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
988 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
989 [alsalib_available=yes],[alsalib_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
990 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
991 if test "x$alsalib_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
992 AM_PATH_AMIDIPLUG_HWSYNTH(ap_have_hwsynth=yes, ap_have_hwsynth=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
993 if test "x$ap_have_hwsynth" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
994 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
995 ap_disable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
996 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
997 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
998 [fluidsynth_available=yes],[fluidsynth_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
999 if test "x$fluidsynth_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1000 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1001 ap_disable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1002 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1003 enable_amidiplug=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1004 AC_MSG_WARN([*** Neither an ALSA-supported hardware synth or FluidSynth software synth (>= 1.0.6) have been found (even if ALSA was detected), so amidi-plug won't be compiled unless you explicitly request it with --enable-amidiplug ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1005 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1006 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1007 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1008 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1009 [fluidsynth_available=yes],[fluidsynth_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1010 if test "x$fluidsynth_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1011 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1012 ap_disable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1013 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1014 enable_amidiplug=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1015 AC_MSG_WARN([*** Neither ALSA or FluidSynth software synth (>= 1.0.6) have been found, so amidi-plug won't be compiled unless you explicitly request it with --enable-amidiplug ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1016 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1017 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1018 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1019
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1020 if test "x$enable_amidiplug" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1021 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1022 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0],,)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1023 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,)
954
d7a6fd179cd2 [svn] - changed directory for amidi-plug backends
giacomo
parents: 933
diff changeset
1024 AMIDIPLUGBACKENDDIR=${libdir}/audacious/amidi-plug
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1025 AC_SUBST(AMIDIPLUGBACKENDDIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1026 if test "x$enable_amidiplug_alsa" = "xauto" -o "x$enable_amidiplug_alsa" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1027 if test "x$alsalib_available" = "xcheck"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1028 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1029 [alsalib_available=yes],[alsalib_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1030 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1031 if test "x$alsalib_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1032 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1033 enable_amidiplug_alsa=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1034 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1035 if test "x$enable_amidiplug_alsa" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1036 AC_MSG_ERROR([Cannot find ALSA development files (ver >= 1.0), but compilation of AMIDI-Plug ALSA backend has been explicitly requested; please install ALSA dev files and run configure again])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1037 enable_amidiplug_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1038 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1039 enable_amidiplug_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1040 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1041 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1042 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1043 if test "x$enable_amidiplug_fluidsynth" = "xauto" -o "x$enable_amidiplug_fluidsynth" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1044 if test "x$fluidsynth_available" != "xyes" -a "x$fluidsynth_available" != "xno"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1045 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1046 [fluidsynth_available=yes],[fluidsynth_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1047 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1048 if test "x$fluidsynth_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1049 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1050 enable_amidiplug_fluidsynth=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1051 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1052 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1053 AC_MSG_ERROR([Cannot find FluidSynth development files (ver >= 1.0.6), but compilation of AMIDI-Plug FluidSynth backend has been explicitly requested; please install FluidSynth dev files and run configure again])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1054 enable_amidiplug_fluidsynth=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1055 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1056 enable_amidiplug_fluidsynth=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1057 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1058 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1059 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1060 if test "x$enable_amidiplug_dummy" = "xauto" -o "x$enable_amidiplug_dummy" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1061 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1062 enable_amidiplug_dummy=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1063 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1064 AC_SUBST(AMIDIPLUG_BACKENDS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1065 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1066
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1067
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1068 dnl *** TiMidity input plugin (note: should appear somewhere after the amidi-plug check)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1069
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1070 AC_ARG_ENABLE(timidity,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1071 [ --disable-timidity disable timidity plugin. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1072 [enable_timidity=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1073 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1074 if test "x$ap_disable_timidity" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1075 enable_timidity=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1076 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1077 enable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1078 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1079 ]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1080 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1081
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1082 if test "$enable_timidity" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1083 INPUT_PLUGINS="$INPUT_PLUGINS timidity"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1084 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1085
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1086 dnl FreeBSD newpcm driver detection
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1087
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1088 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1089 if test -r "/dev/sndstat"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1090 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1091 if test "x$?" = "x0"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1092 beep_cv_newpcm_driver="yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1093 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1094 beep_cv_newpcm_driver="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1095 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1096 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1097 beep_cv_newpcm_driver="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1098 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1099 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1100
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1101 if test "$beep_cv_newpcm_driver" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1102 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1103 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1104
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1105
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1106 AC_CHECK_HEADERS(linux/cdrom.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1107 AC_CHECK_HEADERS(sys/cdio.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1108 AC_CHECK_HEADERS(sys/cdrio.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1109 AC_CHECK_HEADERS(linux/joystick.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1110 AC_CHECK_HEADERS(unistd.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1111 AC_CHECK_HEADERS(fcntl.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1112 AC_CHECK_HEADERS(sys/ioctl.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1113 AC_CHECK_HEADERS(fnmatch.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1114 AC_CHECK_HEADERS(limits.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1115 AC_CHECK_HEADERS(wchar.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1116 AC_CHECK_HEADERS(fts.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1117
736
f7a3d66d9911 [svn] - fix configure.ac lrintf check
nenolod
parents: 734
diff changeset
1118 AC_CHECK_DECL([lrintf],[AC_DEFINE(HAVE_LRINTF,1)],[AC_CHECK_FUNCS([lrintf])],[
f7a3d66d9911 [svn] - fix configure.ac lrintf check
nenolod
parents: 734
diff changeset
1119 #define _ISOC9X_SOURCE
f7a3d66d9911 [svn] - fix configure.ac lrintf check
nenolod
parents: 734
diff changeset
1120 #include <math.h>
f7a3d66d9911 [svn] - fix configure.ac lrintf check
nenolod
parents: 734
diff changeset
1121 ], [AC_CHECK_FUNCS([lrintf])])
734
ff62f5530a36 [svn] - freebsd portability fixes from "The_Paya". Closes #814.
nenolod
parents: 729
diff changeset
1122 AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1123
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1124
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1125 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1126 then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1127 INPUT_PLUGINS="cdaudio $INPUT_PLUGINS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1128 case "$host" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1129 *-*-sunos* | *-*-solaris* | *-*-linux*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1130 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1131 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1132 *-*-freebsd*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1133 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1134 ;;
314
29e5e3b6f1b6 [svn] - MirBSD support from <bsiegert -at gmx.de>
nenolod
parents: 306
diff changeset
1135 *-*-netbsd* | *-*-openbsd* | *-*-mirbsd*)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1136 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1137 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1138 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1139 *-*darwin*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1140 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1141 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1142 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1143 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1144 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1145
1051
0f2f68b9c98c [svn] dnl CD-Audio New Generation; you need to add cdaudio-ng to INPUT_PLUGINS if CDIO_LIBS is set. Or something like that. Good luck.
chainsaw
parents: 1046
diff changeset
1146 dnl CD-Audio New Generation
1058
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1147
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1148 AC_ARG_ENABLE(cdaudio-ng,
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1149 [ --enable-cdaudio_ng enable cdaudio-ng input plugin (default=disabled) ],
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1150 [enable_cdaudio_ng=$enableval],
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1151 [enable_cdaudio_ng=no]
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1152 )
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1153
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1154 if test "$enable_cdaudio_ng" = "yes"; then
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1155 PKG_CHECK_MODULES(CDIO, [libcdio >= 0.78.2],
1082
b2f24bd2b7db [svn] Fixed a typo in the cdaudio-ng portion of configure.ac as discovered by Crazy_Hopper.
deitarion
parents: 1062
diff changeset
1156 [INPUT_PLUGINS="$INPUT_PLUGINS cdaudio-ng"
1083
325c52b01e56 [svn] Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
deitarion
parents: 1082
diff changeset
1157 CDIO_LIBS=`pkg-config --libs libcdio_cdda`
325c52b01e56 [svn] Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
deitarion
parents: 1082
diff changeset
1158 CDIO_CFLAGS=`pkg-config --cflags libcdio_cdda`
1058
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1159 AC_SUBST(CDIO_LIBS)
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1160 AC_SUBST(CDIO_CFLAGS)],
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1161 [AC_MSG_WARN([*** Cannot find libcdio 0.78.2 or newer, cdaudio-ng will not be built ***])]
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1162 )
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1163 fi
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1164
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1165
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1166 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1167 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1168
1005
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
1169 CFLAGS="$CFLAGS $AUDACIOUS_CFLAGS $DBUS_CFLAGS"
2346d918470d [svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents: 1001
diff changeset
1170 CXXFLAGS="$CXXFLAGS $AUDACIOUS_CFLAGS $DBUS_CFLAGS"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1171
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1172 AC_MSG_CHECKING(if __ELF__ is defined)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1173 AC_EGREP_CPP(yes,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1174 [#ifdef __ELF__
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1175 yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1176 #endif
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1177 ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1178 [is_elf=yes],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1179 [is_elf=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1180 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1181 AC_MSG_RESULT([${is_elf}])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1182
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1183
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1184 have_solaris=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1185 have_sun=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1186 ARCH_DEFINES=""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1187 case "$host" in
314
29e5e3b6f1b6 [svn] - MirBSD support from <bsiegert -at gmx.de>
nenolod
parents: 306
diff changeset
1188 *-*-openbsd* | *-*-netbsd* | *-*-mirbsd*)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1189 have_sun=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1190 if test "${is_elf}" = "no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1191 then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1192 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1193 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1194 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1195 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1196 *-*-darwin*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1197 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1198 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1199 *-hpux-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1200 ARCH_DEFINES="-DHPUX"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1201 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1202 *-*-solaris* | *-*-sunos*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1203 have_solaris=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1204 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1205 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1206
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1207 arch_type=other
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1208 x86_asm=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1209 case "$host" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1210 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1211 arch_type=ix86
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1212 case "$host" in
314
29e5e3b6f1b6 [svn] - MirBSD support from <bsiegert -at gmx.de>
nenolod
parents: 306
diff changeset
1213 *-*-netbsd* | *-*openbsd* | *-*-mirbsd*)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1214 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1215 *)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1216 ARCH_DEFINES="-DI386_ASSEM"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1217 x86_asm=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1218 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1219 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1220 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1221 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1222
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1223 dnl *** Scrobbler ***
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1224
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1225 scrobbler="yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1226
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1227 dnl libcurl check
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1228
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1229 my_cv_curl_vers=NONE
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1230 dnl check is the plain-text version of the required version
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1231 check="7.9.7"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1232 dnl check_hex must be UPPERCASE if any hex letters are present
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1233 check_hex="070907"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1234
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1235 have_curl="no"
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1236 have_lastfm="no"
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1237 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7],
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1238 [
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1239 TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS curl"
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1240 have_curl="yes"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1241 ], [scrobbler="no"])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1242
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1243 if test "x$scrobbler" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1244 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler"
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1245 TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS lastfm"
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1246 have_lastfm="yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1247 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1248
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1249 AC_SUBST(CURL_CFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1250 AC_SUBST(CURL_LIBS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1251
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1252 dnl *** End of Scrobbler checks ***
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1253
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1254 dnl *** MMS
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1255
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1256 AC_ARG_ENABLE(mms,
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1257 [ --disable-mms disable mms support. (default=enabled)],
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1258 [have_mms=$enableval],
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1259 [have_mms=yes])
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1260
874
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1261 if test "x$have_mms" = "xyes"; then
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1262 have_mms=yes
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1263 PKG_CHECK_MODULES(MMS, [libmms >= 0.3], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS mms" ], [have_mms="no"])
874
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1264 else
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1265 have_mms=no
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1266 AC_MSG_RESULT([*** mms plugin disabled by request ***])
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1267 fi
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1268
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1269 dnl *** libparanormal checks
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1270
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1271 AC_ARG_ENABLE(paranormal,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1272 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1273 [have_paranormal=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1274 [have_paranormal=yes])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1275
874
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1276 if test "x$have_paranormal" = "xyes"; then
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1277 have_paranormal=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1278 AM_PATH_SDL(1.2.5, , [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1279 AC_MSG_WARN([*** SDL is not installed. Paranormal will not be built. ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1280 have_paranormal="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1281 ])
874
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1282 else
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1283 have_paranormal=no
5b29a6fe9295 [svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents: 856
diff changeset
1284 AC_MSG_RESULT([*** paranormal plugin disabled by request ***])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1285 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1286
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1287 AC_ARG_ENABLE(xspf,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1288 [ --disable-xspf disable XSPF support. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1289 [have_xspf=$enableval], [have_xspf=yes])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1290
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1291 AM_PATH_XML2(2.0.0, , [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1292 AC_MSG_WARN([*** libxml2 is not installed. Paranormal nor XSPF support will not be built. ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1293 have_paranormal="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1294 have_xspf="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1295 ])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1296
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents: 148
diff changeset
1297 if test "$have_paranormal" = "yes"; then
408
290588854a9d [svn] - rovascope -- a variant of the paranormal visualization engine that is
nenolod
parents: 391
diff changeset
1298 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal rovascope"
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents: 148
diff changeset
1299 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1300
364
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1301 if test "$have_xspf" = "yes"; then
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1302 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf"
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1303 fi
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1304
358
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1305 dnl *** ProjectM (GL Milkdrop port)
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1306
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1307 AC_ARG_ENABLE(projectm,
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1308 [ --disable-projectm disable projectM vis plugin. (default=enabled)],
358
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1309 [have_projectm=$enableval],
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1310 [have_projectm=yes])
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1311
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1312 if test "$have_projectm" = "yes"; then
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1313 PKG_CHECK_MODULES(LIBPROJECTM, libprojectM >= 0.0.0, [have_projectm="yes"], [have_projectm="no"])
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1314 if test x$libprjM = xno; then
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1315 AC_MSG_WARN([*** libprojectM not found.
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1316 libprojectM is needed to build this package.
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1317 You can download libprojectM at http://xmms-projectM.sf.net/])
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1318 fi
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1319 LIBPROJECTM_datadir=`pkg-config --variable=pkgdatadir libprojectM`;
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1320 LIBPROJECTM_sysconfdir=`pkg-config --variable=sysconfdir libprojectM`;
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1321 LIBPROJECTM_CFLAGS="$LIBPROJECTM_CFLAGS -DPROJECTM_DATADIR=\\\"$LIBPROJECTM_datadir\\\" -DPROJECTM_SYSCONFDIR=\\\"$LIBPROJECTM_sysconfdir\\\"";
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1322 fi
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1323 AC_SUBST(LIBPROJECTM_LIBS)
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1324 AC_SUBST(LIBPROJECTM_CFLAGS)
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1325
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1326 if test "$have_projectm" = "yes"; then
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1327 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS projectm"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1328 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1329
290
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1330 dnl *** TTA
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1331
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1332 AC_ARG_ENABLE(tta,
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1333 [ --disable-tta disable TrueAudio plugin (default=enabled) ],
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1334 [enable_tta=$enableval],
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1335 [enable_tta=yes]
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1336 )
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1337
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1338 if test "$enable_tta" = "yes"; then
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1339 INPUT_PLUGINS="$INPUT_PLUGINS tta"
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1340 fi
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1341
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1342 dnl *** FileWriter
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1343
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1344 AC_ARG_ENABLE(filewriter,
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1345 [ --disable-filewriter disable FileWriter output plugin (default=enabled) ],
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1346 [enable_filewriter=$enableval],
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1347 [enable_filewriter=yes]
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1348 )
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1349
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1350 if test "$enable_filewriter" = "yes"; then
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1351 OUTPUT_PLUGINS="$OUTPUT_PLUGINS filewriter"
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1352 fi
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1353
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1354
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1355 AC_ARG_ENABLE(filewriter_mp3,
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1356 [ --disable-filewriter_mp3 disable FileWriter MP3 output part (default=enabled) ],
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1357 [enable_filewriter_mp3=$enableval], [enable_filewriter_mp3=yes]
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1358 )
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1359
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1360 if test "$enable_filewriter_mp3" = "yes"; then
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1361 AC_CHECK_LIB(mp3lame -lm, lame_init, [have_lame=yes], [have_lame=no])
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1362 if test "$have_lame" = yes; then
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1363 AC_DEFINE(FILEWRITER_MP3, 1, [Define if Vorbis output part should be built])
1056
8e58b7dc2bd1 [svn] - FILEWRITER_LIBS had been left blank if bash 3.0 was used for configure, since this version doesn't accept '+='.
yaz
parents: 1051
diff changeset
1364 FILEWRITER_LIBS="$FILEWRITER_LIBS -lmp3lame"
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1365 fi
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1366 fi
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1367
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1368
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1369 AC_ARG_ENABLE(filewriter_vorbis,
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1370 [ --disable-filewriter_vorbis disable FileWriter Vorbis output part (default=enabled) ],
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1371 [enable_filewriter_vorbis=$enableval], [enable_filewriter_vorbis=yes]
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1372 )
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1373
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1374 if test "$enable_filewriter_vorbis" = "yes"; then
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1375 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1376 [have_vorbisenc=yes], [have_vorbisenc=no])
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1377 if test "$have_vorbisenc" = yes; then
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1378 AC_DEFINE(FILEWRITER_VORBIS, 1, [Define if Vorbis output part should be built])
1190
ed2d7787779e more warning elimination.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 1173
diff changeset
1379 FILEWRITER_LIBS="$FILEWRITER_LIBS `pkg-config --libs vorbisenc`"
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1380 fi
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1381 fi
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1382
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1383
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1384 AC_ARG_ENABLE(filewriter_flac,
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1385 [ --disable-filewriter_flac disable FileWriter FLAC output part (default=enabled) ],
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1386 [enable_filewriter_flac=$enableval], [enable_filewriter_flac=yes]
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1387 )
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1388
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1389 if test "$enable_filewriter_flac" = "yes"; then
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1390 PKG_CHECK_MODULES(FLAC, [flac >= 1.1.2],
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1391 [have_writer_flac=yes], [have_writer_flac=no]
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1392 )
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1393 if test "$have_writer_flac" = yes; then
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1394 AC_DEFINE(FILEWRITER_FLAC, 1, [Define if FLAC output part should be built])
1190
ed2d7787779e more warning elimination.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 1173
diff changeset
1395 FILEWRITER_LIBS="$FILEWRITER_LIBS `pkg-config --libs flac`"
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1396 fi
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1397 fi
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1398
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1399 if test "$enable_filewriter" != yes; then
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1400 have_lame=no
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1401 have_vorbisenc=no
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1402 have_writer_flac=no
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1403 FILEWRITER_LIBS=""
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1404 fi
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1405 AC_SUBST(FILEWRITER_LIBS)
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1406
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1407 dnl *** End of all plugin checks ***
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1408
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1409 AC_SUBST(ARCH_DEFINES)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1410
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1411 dnl XXX delete ASAP -nenolod
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1412 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1413 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1414 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1415 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1416
10
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1417 plugindir=`pkg-config audacious --variable=plugin_dir`
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1418 AC_SUBST(plugindir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1419
10
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1420 dnl XXX
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1421
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1422 INPUT_PLUGIN_DIR=Input
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1423 OUTPUT_PLUGIN_DIR=Output
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1424 EFFECT_PLUGIN_DIR=Effect
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1425 GENERAL_PLUGIN_DIR=General
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1426 VISUALIZATION_PLUGIN_DIR=Visualization
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1427 CONTAINER_PLUGIN_DIR=Container
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1428 TRANSPORT_PLUGIN_DIR=Transport
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1429
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1430 AC_SUBST(INPUT_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1431 AC_SUBST(OUTPUT_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1432 AC_SUBST(EFFECT_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1433 AC_SUBST(GENERAL_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1434 AC_SUBST(VISUALIZATION_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1435 AC_SUBST(CONTAINER_PLUGIN_DIR)
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1436 AC_SUBST(TRANSPORT_PLUGIN_DIR)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1437 AC_SUBST(pluginsubs)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1438
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1439 dnl XXX Work around some autoconf bugs.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1440 if test "$prefix" = "NONE"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1441 prefix="${ac_default_prefix}"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1442 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1443
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1444 if test -z "$datadir"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1445 datadir="${prefix}/share"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1446 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1447
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1448 localedir="$datadir/locale"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1449 AC_SUBST(localedir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1450
94
230d8b49db8b [svn] - do not use a different DATA_DIR for audacious-plugins
giacomo
parents: 59
diff changeset
1451 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\""
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1452 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1453
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1454 if test "$enable_user_plugin_dir" = "no"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1455 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1456 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1457
33
e6d2dc95dda1 [svn] Removed BMP_RCPATH from configure.ac, mk/rules.mk.in and Makefiles and added it to config.h via configure.ac
js
parents: 32
diff changeset
1458 AC_DEFINE(BMP_RCPATH, ".audacious", [Config dir to use])
e6d2dc95dda1 [svn] Removed BMP_RCPATH from configure.ac, mk/rules.mk.in and Makefiles and added it to config.h via configure.ac
js
parents: 32
diff changeset
1459
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1460 AC_SUBST(BEEP_DEFINES)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1461
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1462 AC_SUBST(beepdir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1463 AC_SUBST(plugindir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1464
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1465 AC_SUBST(EFFECT_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1466 AC_SUBST(GENERAL_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1467 AC_SUBST(INPUT_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1468 AC_SUBST(OUTPUT_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1469 AC_SUBST(VISUALIZATION_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1470 AC_SUBST(CONTAINER_PLUGINS)
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1471 AC_SUBST(TRANSPORT_PLUGINS)
1046
9b8400ca5ee8 [svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents: 1043
diff changeset
1472 AC_SUBST(GCC42_CFLAGS)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1473
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1474 AC_CONFIG_FILES([
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1475 mk/rules.mk
391
d2d262d3064a [svn] - build fix
yaz
parents: 390
diff changeset
1476 po/Makefile.in
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1477 ])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1478
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1479 AC_OUTPUT
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1480
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1481
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1482 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1483 echo "Configuration:"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1484 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1485 echo " Install path: ${audacious_plugin_root}"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1486 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1487 echo " Output Plugins"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1488 echo " --------------"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1489 echo " Open Sound System (oss): $have_oss"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1490 echo " Advanced Linux Sound Arch. (alsa): $have_alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1491 echo " Enlightenment Sound Daemon (esd): $have_esd"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1492 echo " Jack Audio Connection Kit (jack): $have_jack"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1493 echo " Analog Realtime Synthesizer (arts): $have_arts"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1494 echo " BSD/SUN audio output (sun): $have_sun"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1495 echo " PulseAudio sound server (pulse_audio): $have_pulse"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1496 echo " Mac OS X sound support (CoreAudio): $have_coreaudio"
1001
8825a00d57d7 [svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents: 973
diff changeset
1497 echo " FileWriter: $enable_filewriter"
1043
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1498 echo " -> FileWriter MP3 output part: $have_lame"
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1499 echo " -> FileWriter Vorbis output part: $have_vorbisenc"
f65aa5417221 [svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents: 1039
diff changeset
1500 echo " -> FileWriter FLAC output part: $have_writer_flac"
560
7b4b37819c9d [svn] made null always build
kiyoshi
parents: 503
diff changeset
1501 echo " Null Audio output (null): yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1502 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1503 echo " Input Plugins"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1504 echo " -------------"
622
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
1505 echo " MPEG 1/2/3 (madplug): $enable_mp3"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1506 echo " MPEG 4 Audio (AAC): $enable_aac"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1507 echo " Windows Media Audio (wma): $enable_wma"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1508 echo " Module decoder (modplug): $have_modplug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1509 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1510 echo " -> ALSA backend: $enable_amidiplug_alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1511 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1512 echo " -> dummy backend: $enable_amidiplug_dummy"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1513 echo " MIDI to WAVE converter (timidity): $enable_timidity"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1514 echo " CD Digital Audio (cdda): yes"
1058
75f713176b2f [svn] - make build of cdaudio-ng configurable.
yaz
parents: 1056
diff changeset
1515 echo " New CD Digital Audio (cdaudio-ng): $enable_cdaudio_ng"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1516 echo " Microsoft WAV (wav): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1517 echo " + sndfile extensions: $enable_sndfile"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1518 echo " Tone Generator: yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1519 echo " Ogg Vorbis (vorbis): $have_oggvorbis"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1520 echo " Free Lossless Audio Codec (flac): $have_flac"
930
2f742d127b3e [svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents: 923
diff changeset
1521 echo " Free Lossless Audio Codec (flacng): $have_flacng"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1522 echo " Commodore 64 audio (sid): $have_sidplay"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1523 echo " Game music (spc, nsf & gbs): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1524 echo " PlayStation audio (sexypsf): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1525 echo " AdLib synthesizer (adplug): $have_adplug"
59
72ad216a01ac [svn] - tell audacious that playback is starting when we open an alac file
nenolod
parents: 50
diff changeset
1526 echo " Apple Lossless Audio Codec (alac): yes"
110
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
1527 echo " WavPack 4.31+ (wavpack): $have_wavpack"
232
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
1528 echo " Musepack support (musepack): $enable_musepack"
290
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1529 echo " TrueAudio (tta): $enable_tta"
315
2294f3a6f136 [svn] Metronom (a.k.a. tact generator) input plugin, ported from XMMS.
chainsaw
parents: 314
diff changeset
1530 echo " Metronom: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1531 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1532 echo " General"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1533 echo " -------"
121
b59bca84e3cd [svn] - add xmms-alarm port
nenolod
parents: 118
diff changeset
1534 echo " Alarm: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1535 echo " Song Change: yes"
433
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
1536 echo " Status Icon: $have_statusicon"
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
1537 echo " Audacious OSD: $have_aosd"
908
8b4b381b4399 [svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents: 900
diff changeset
1538 echo " -> X Composite support: $have_aosd_xcomp"
422
5e46b57d1eda [svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents: 419
diff changeset
1539 echo " Control via event device (evdev-plug): $have_evdevplug"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1540 echo " LIRC: $have_lirc"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1541 echo " AudioScrobbler Client: $scrobbler"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1542 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1543 echo " Effect"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1544 echo " ------"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1545 echo " AudioCompressor (AGC): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1546 echo " LADSPA effects host (ladspa): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1547 echo " Voice Removal: yes"
125
f5ba91225985 [svn] - re-enable extra stereo plugin build
nenolod
parents: 121
diff changeset
1548 echo " Extra Stereo: yes"
127
46730e83b1e2 [svn] - echo plugin support by Christian Birchinger <joker -at- gentoo.org>
nenolod
parents: 125
diff changeset
1549 echo " Echo/Surround: yes"
882
d58c48b014ed [svn] - integrated SndStretch into build process
mf0102
parents: 878
diff changeset
1550 echo " SndStretch: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1551 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1552 echo " Visualization"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1553 echo " -------------"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1554 echo " Blur Scope: yes"
146
03cfb311eafd [svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents: 144
diff changeset
1555 echo " Spectrum Analyzer: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1556 echo " Paranormal Visualization Library: $have_paranormal"
358
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1557 echo " ProjectM (GL milkdrop): $have_projectm"
900
d985f0dcdeb0 [svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents: 882
diff changeset
1558 echo " RootVis plugin: $have_rootvis"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1559 echo
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1560 echo " Transport"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1561 echo " ---------"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1562 echo " stdio transport: yes"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1563 echo " curl-based http/https: $have_curl"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1564 echo " libmms-based mms: $have_mms"
1173
5896bd827cbc [svn] - move transport plugins into Transport subdirectory.
yaz
parents: 1138
diff changeset
1565 echo " lastfm transport: $have_lastfm"
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1566 echo
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1567 echo " Container"
44
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
1568 echo " ---------"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1569 echo " Winamp PLS playlist format (pls): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1570 echo " M3U playlist format (m3u): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1571 echo " XML Sharable Playlist Format (xspf): $have_xspf"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1572 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1573
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1574 if test "x$ap_disable_timidity" = "xyes" && test "x$enable_timidity" = "xno"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1575 echo "Note: an ALSA-supported hardware midi synth or a FluidSynth software synth"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1576 echo "was detected in configuration; in order to use it, the amidi-plug input"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1577 echo "plugin will be compiled in place of timidity. If you wish to compile timidity"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1578 echo "anyway, simply use --enable-timidity in configuration."
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1579 echo ""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1580 fi