annotate configure.ac @ 634:65606ed19c76 trunk

[svn] - make use of integrated libid3tag
author yaz
date Sun, 11 Feb 2007 05:39:56 -0800
parents 70f3b14434b2
children fb0196e8f03f
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
289
a60da24269dc [svn] - bump version to 1.3.0
yaz
parents: 232
diff changeset
3 AC_INIT([audacious-plugins], [1.3.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
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
39 dnl Check for assembler
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
40
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
41 AM_PROG_AS
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
42
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
43 dnl Checks for various programs
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
44
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
45 AC_PROG_INSTALL
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
46 AC_PROG_LN_S
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
47 AC_PROG_MAKE_SET
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
48
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
49 AC_PATH_PROG(RM, rm)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
50 AC_PATH_PROG(MV, mv)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
51 AC_PATH_PROG(CP, cp)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
52 AC_PATH_PROG(AR, ar)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
53 AC_PATH_PROG(RANLIB, ranlib)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
54
390
6bb98fbbae04 [svn] - translation framework
nenolod
parents: 389
diff changeset
55 dnl Gettext -nenolod
6bb98fbbae04 [svn] - translation framework
nenolod
parents: 389
diff changeset
56 AM_GNU_GETTEXT([external])
6bb98fbbae04 [svn] - translation framework
nenolod
parents: 389
diff changeset
57
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
58 dnl Path settings
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
59
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
60 AC_ARG_WITH(dev-dsp,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
61 [ --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
62 [dev_dsp=$withval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
63 [dev_dsp=/dev/dsp]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
64 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
65 AC_DEFINE_UNQUOTED(DEV_DSP, "$dev_dsp",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
66 [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
67 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
68
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
69 AC_ARG_WITH(dev-mixer,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
70 [ --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
71 [dev_mixer=$withval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
72 [dev_mixer=/dev/mixer]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
73 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
74 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
75 [Path to OSS mixer, default is /dev/mixer.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
76 )
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 AC_ARG_WITH(cdda-device,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
79 [ --with-cdda-device=path Path to default cdaudio device.],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
80 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
81 [Path to default cdaudio device.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
82 )
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 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
85
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
86 AC_ARG_WITH(cdda-dir,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
87 [ --with-cdda-dir=path Path to default cdaudio directory.],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
88 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
89 [Path to default cdaudio directory.]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
90 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
91 ]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
92 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
93
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
94 dnl These plugins are always built.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
95
315
2294f3a6f136 [svn] Metronom (a.k.a. tact generator) input plugin, ported from XMMS.
chainsaw
parents: 314
diff changeset
96 INPUT_PLUGINS="tonegen console sexypsf wav cue alac metronom"
560
7b4b37819c9d [svn] made null always build
kiyoshi
parents: 503
diff changeset
97 OUTPUT_PLUGINS="disk_writer null"
127
46730e83b1e2 [svn] - echo plugin support by Christian Birchinger <joker -at- gentoo.org>
nenolod
parents: 125
diff changeset
98 EFFECT_PLUGINS="audiocompress ladspa voice_removal stereo_plugin echo_plugin"
121
b59bca84e3cd [svn] - add xmms-alarm port
nenolod
parents: 118
diff changeset
99 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
100 VISUALIZATION_PLUGINS="blur_scope spectrum"
306
b47f02042530 [svn] - pluginize the transport layer.
nenolod
parents: 290
diff changeset
101 CONTAINER_PLUGINS="m3u pls stdio"
0
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 dnl Check for Audacious
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
104
289
a60da24269dc [svn] - bump version to 1.3.0
yaz
parents: 232
diff changeset
105 PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 1.2.99],
a60da24269dc [svn] - bump version to 1.3.0
yaz
parents: 232
diff changeset
106 [ADD_PC_REQUIRES([audacious >= 1.2.99])],
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
107 [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
108 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
109
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
110 dnl Check for GTK/GLib/GThread/Pango
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
111
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
112 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
113 [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
114 [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
115 )
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
116
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
117 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
118 [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
119 [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
120 )
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
121
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
122 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
123 [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
124 [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
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 dnl Check for libglade
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 PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= 2.3.1],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
130 [],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
131 [AC_MSG_ERROR([Cannot find libglade])]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
132 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
133
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
134 AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, [no], [$PATH:$prefix/bin])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
135 if test "x$TAGLIB_CONFIG" = "xno" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
136 AC_MSG_ERROR([Cannot find taglib])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
137 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
138 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
139 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
140 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
141 AC_SUBST(TAGLIB_CFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
142 AC_SUBST(TAGLIB_LIBS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
143
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
144 dnl IPv6 support
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
145 dnl ========================
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
146 AC_ARG_ENABLE(ipv6,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
147 [ --enable-ipv6 enable IPv6 support (default=no)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
148 enable_ipv6=$enableval, enable_ipv6=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
149 if test "x$enable_ipv6" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
150 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
151 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
152 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
153 AC_SUBST(USE_IPV6)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
154
44
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
155 dnl chardet support
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
156 dnl ========================
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
157 AC_ARG_ENABLE(chardet,
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
158 [ --enable-chardet enable character set detection support (default=no)],
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
159 enable_chardet=$enableval, enable_chardet=no)
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
160 if test "x$enable_chardet" = xyes; then
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
161 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] )
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
162 fi
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
163 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes)
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
164 AC_SUBST(USE_CHARDET)
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
165
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
166 dnl plugin stuff
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
167 dnl ========================
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
168
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
169 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
170 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
171 case "$target" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
172 *-apple-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
173 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
174 PICFLAGS="-fPIC -DPIC"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
175 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
176 LIBLDFLAGS="-dynamiclib"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
177 AUDLDFLAGS=""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
178 SHARED_SUFFIX=".dylib"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
179 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
180 *)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
181 AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
182 PICFLAGS="-fPIC -DPIC"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
183 PICLDFLAGS="-fPIC -DPIC -shared"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
184 LIBLDFLAGS="-fPIC -DPIC -shared"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
185 AUDLDFLAGS="-Wl,-export-dynamic -Wl,-rpath=\${libdir}"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
186 SHARED_SUFFIX=".so"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
187 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
188 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
189 AC_SUBST(PICFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
190 AC_SUBST(PICLDFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
191 AC_SUBST(LIBLDFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
192 AC_SUBST(AUDLDFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
193 AC_SUBST(SHARED_SUFFIX)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
194 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}",
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
195 [Define the shared module suffix extension on your platform.])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
196
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
197 AC_MSG_CHECKING([if you are running Apple-GCC])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
198 case "$target" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
199 *-apple-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
200 AC_MSG_RESULT([yes, sorry you poor bastard])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
201 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
202 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
203 *)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
204 AC_MSG_RESULT([no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
205 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
206 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
207
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
208 dnl GConf support
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 AC_ARG_ENABLE( gconf,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
211 [ --enable-gconf enable GConf support (default=disabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
212 [enable_gconf=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
213 [enable_gconf="no"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
214 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
215
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
216 if test "$enable_gconf" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
217 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
218 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
219 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
220 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
221 ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
222 [AC_MSG_ERROR([Cannot find GConf])]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
223 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
224 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
225
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
226 if test "$enable_gconf" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
227 CONFIGDB_BACKEND="gconf"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
228 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
229 CONFIGDB_BACKEND="rcfile"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
230 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
231
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
232 AC_SUBST(CONFIGDB_BACKEND)
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 dnl Check for esound
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 AC_ARG_ENABLE( esd,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
237 [ --disable-esd disable esound output plugin [default=enabled]],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
238 [enable_esd=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
239 [enable_esd="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
240 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
241
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
242 if test "$enable_esd" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
243 PKG_CHECK_MODULES(ESD, [esound >= 0.2],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
244 [have_esd=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
245 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
246 [have_esd=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
247 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
248 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
249 AC_MSG_RESULT([*** esound plugin disabled per user request ***])
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 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
252
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
253 dnl Check for PulseAudio
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
254
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
255 AC_ARG_ENABLE( pulse,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
256 [ --disable-pulse disable PulseAudio output plugin [default=enabled]],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
257 [enable_pulse=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
258 [enable_pulse="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
259 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
260
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
261 if test "$enable_pulse" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
262 PKG_CHECK_MODULES(PULSE, [libpulse >= 0.9.3],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
263 [have_pulse=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
264 OUTPUT_PLUGINS="$OUTPUT_PLUGINS pulse_audio"],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
265 [have_pulse=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
266 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
267 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
268 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
269 have_pulse=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
270 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
271
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
272 dnl *** CoreAudio
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
273
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
274 AC_ARG_ENABLE(coreaudio,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
275 [ --disable-coreaudio disable CoreAudio output plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
276 [enable_coreaudio=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
277 [enable_coreaudio="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
278 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
279
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
280 if test "$enable_coreaudio" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
281 AC_CHECK_HEADERS([CoreServices/CoreServices.h],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
282 [have_coreaudio=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
283 OUTPUT_PLUGINS="$OUTPUT_PLUGINS CoreAudio"],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
284 [have_coreaudio=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
285 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
286 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
287 have_coreaudio=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
288 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
289
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
290 dnl *** AltiVec
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
291
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
292 AC_CHECK_HEADERS(altivec.h,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
293 [AC_DEFINE(HAVE_ALTIVEC, 1, [Define to 1 if your system has AltiVec.])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
294 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Define to 1 if your system has an altivec.h file.])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
295 AC_DEFINE(ARCH_POWERPC, 1, [Define to 1 if your system is a PowerPC.])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
296 DCT64=dct64_altivec.c],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
297 [DCT64=dct64.c]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
298 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
299 AC_SUBST(DCT64)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
300
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
301 dnl *** MP3
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
302
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
303 AC_ARG_ENABLE(mp3,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
304 [ --disable-mp3 disable mp3 plugin. (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
305 [enable_mp3=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
306 [enable_mp3=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
307 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
308
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
309 if test "$enable_mp3" = "yes"; then
634
65606ed19c76 [svn] - make use of integrated libid3tag
yaz
parents: 622
diff changeset
310 PKG_CHECK_MODULES(MAD, [mad],
622
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
311 [INPUT_PLUGINS="$INPUT_PLUGINS madplug"])
634
65606ed19c76 [svn] - make use of integrated libid3tag
yaz
parents: 622
diff changeset
312 fi
622
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
313 # XXX rtsp support
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
314 # 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
315 # [LIBNMS_SRC=rtsp.c
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
316 # 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
317 # ],[LIBNMS_SRC=""])
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
318 # AC_SUBST(LIBNMS_CFLAGS)
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
319 # AC_SUBST(LIBNMS_LIBS)
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
320 # AC_SUBST(LIBNMS_SRC)
634
65606ed19c76 [svn] - make use of integrated libid3tag
yaz
parents: 622
diff changeset
321 # fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
322
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
323 dnl *** Rocklight
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
324
411
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
325 AC_ARG_ENABLE(rocklight,
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
326 AS_HELP_STRING([--disable-rocklight], [disable Rocklight vis plugin (default=enabled)]),
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
327 [enable_rocklight="$enableval"],
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
328 [enable_rocklight="yes"]
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
329 )
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
330
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
331 if test "$enable_rocklight" = "yes"; then
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
332 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight"
78a5e9c37469 [svn] - Rework and clean up code
hansmi
parents: 408
diff changeset
333 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
334
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
335 dnl *** LIRC client libraries
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
336
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
337 AC_ARG_ENABLE(lirc,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
338 [ --disable-lirc disable LIRC plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
339 [enable_lirc=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
340 [enable_lirc="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
341 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
342
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
343 if test "$enable_lirc" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
344 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
345 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
346 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
347 have_lirc="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
348 fi
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 "$have_lirc" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
351 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
352 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
353
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
354 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
355
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
356 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
357 [ --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
358 [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
359 [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
360 )
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
361
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
362 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
363 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
364 *-*-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
365 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
366 ;;
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
367 *)
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
368 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
369 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
370 ;;
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
371 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
372 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
373 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
374 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
375 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
376
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
377 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
378 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
379 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
380
433
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
381 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
382
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
383 AC_ARG_ENABLE(statusicon,
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
384 [ --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
385 [enable_statusicon=$enableval],
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
386 [enable_statusicon="yes"]
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
387 )
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
388
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
389 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
390 have_statusicon="yes"
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
391 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
392 else
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
393 AC_MSG_RESULT([*** X11 Status Icon plugin disabled per user request ***])
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
394 have_statusicon="yes"
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
395 fi
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
396
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
397 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
398 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
399 fi
38fe08dff5cd [svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents: 429
diff changeset
400
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
401 dnl *** Audacious OSD plugin (pangocairo-based)
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
402
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
403 AC_ARG_ENABLE(aosd,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
404 [ --disable-aosd disable X11 Audacious OSD plugin (default=enabled)],
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
405 [enable_aosd=$enableval],
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
406 [enable_aosd="yes"]
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
407 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
408
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
409 if test "x$enable_aosd" = "xyes"; then
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
410 have_aosd="yes"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
411 PKG_CHECK_MODULES(PANGO,[pango >= 1.14.7],,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
412 [have_aosd="no"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
413 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
414 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
415 PKG_CHECK_MODULES(CAIRO,[cairo >= 1.2.6],,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
416 [have_aosd="no"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
417 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
418 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
419 PKG_CHECK_MODULES(PANGOCAIRO,[pangocairo >= 1.14.7],,
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
420 [have_aosd="no"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
421 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
422 )
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
423 else
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
424 AC_MSG_RESULT([*** Audacious OSD plugin disabled per user request ***])
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
425 have_aosd="yes"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
426 fi
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
427
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
428 if test "x$have_aosd" = "xyes"; then
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
429 GENERAL_PLUGINS="$GENERAL_PLUGINS aosd"
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
430 fi
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
431
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
432 dnl *** AdPlug requirement (libbinio)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
433
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
434 AC_ARG_ENABLE(adplug,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
435 [ --disable-adplug disable AdPlug plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
436 [enable_adplug=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
437 [enable_adplug="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
438 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
439
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
440 if test "$enable_adplug" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
441 have_adplug="yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
442 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
443 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
444 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
445 have_adplug="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
446 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
447
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
448 if test "$have_adplug" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
449 INPUT_PLUGINS="$INPUT_PLUGINS adplug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
450 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
451
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
452 dnl *** Ogg Vorbis
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
453
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
454 AC_ARG_ENABLE(vorbis,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
455 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
456 [enable_vorbis=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
457 [enable_vorbis="yes"]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
458 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
459
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
460 if test "$enable_vorbis" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
461 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
462 [have_oggvorbis=yes],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
463 [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
464 have_oggvorbis=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
465 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
466 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
467 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
468 have_oggvorbis=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
469 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
470
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
471 if test "$have_oggvorbis" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
472 INPUT_PLUGINS="$INPUT_PLUGINS vorbis"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
473 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
474
110
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
475 dnl *** WavPack 4.31 support
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
476
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
477 AC_ARG_ENABLE(wavpack,
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
478 [ --disable-wavpack disable WavPack input plugin (default=enabled)],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
479 [enable_wavpack=$enableval],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
480 [enable_wavpack="yes"]
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
481 )
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
482
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
483 if test "$enable_wavpack" = "yes"; then
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
484 PKG_CHECK_MODULES(WAVPACK, [wavpack >= 4.31],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
485 [have_wavpack=yes],
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
486 [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
487 have_wavpack=no]
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
488 )
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
489 else
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
490 AC_MSG_RESULT([*** WavPack plugin disabled per user request ***])
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
491 have_wavpack=no
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
492 fi
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
493
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
494 if test "$have_wavpack" = "yes"; then
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
495 INPUT_PLUGINS="$INPUT_PLUGINS wavpack"
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
496 fi
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
497
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
498 dnl *** AAC
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
499
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
500 AC_ARG_ENABLE(aac,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
501 [ --disable-aac disable aac plugin (default=enabled) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
502 [enable_aac=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
503 [enable_aac=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
504 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
505
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
506 if test "$enable_aac" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
507 INPUT_PLUGINS="$INPUT_PLUGINS aac"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
508 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
509
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
510 dnl *** sndfile
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
511
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
512 AC_ARG_ENABLE(sndfile,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
513 [ --disable-sndfile disable sndfile extensions. [default=enabled] ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
514 [enable_sndfile=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
515 [enable_sndfile=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
516 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
517
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
518 if test "$enable_sndfile" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
519 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
520 [enable_sndfile=yes],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
521 [enable_sndfile=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
522 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
523 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
524 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
525 enable_sndfile=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
526 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
527
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
528 if test "$enable_sndfile" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
529 WAV_SNDFILE="-sndfile"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
530 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
531
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
532 AC_SUBST(WAV_SNDFILE)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
533
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
534 dnl *** modplug
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(modplug,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
537 [ --disable-modplug disable ModPlug plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
538 [enable_modplug=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
539 [enable_modplug="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_modplug" = "yes"; then
136
6b5a52635b3b [svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents: 135
diff changeset
543 INPUT_PLUGINS="$INPUT_PLUGINS modplug"
6b5a52635b3b [svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents: 135
diff changeset
544 have_modplug="yes"
0
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([*** ModPlug plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
547 have_modplug="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 dnl *** flac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
551 AC_ARG_ENABLE( flac,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
552 [ --disable-flac disable flac input plugin (default=enabled)],,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
553 enable_flac="yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
554
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
555 if test "x$enable_flac" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
556 AM_PATH_LIBFLAC(have_flac=yes, have_flac=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
557 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
558 AC_MSG_RESULT([*** flac plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
559 have_flac=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
560 fi
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 "$have_flac" = "yes"; then
105
03aaf25229d6 [svn] - choose between flac112 or flac113 based on which version is
nenolod
parents: 94
diff changeset
563 INPUT_PLUGINS="$INPUT_PLUGINS flac$FLAC_VERSION"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
564 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
565
232
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
566 dnl *** Musepack
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
567
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
568 AC_ARG_ENABLE(musepack,
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
569 [ --disable-musepack disable musepack input plugin (default=enabled)],
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
570 [enable_musepack=$enableval],
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
571 [enable_musepack="yes"]
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
572 )
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
573
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
574 if test "$enable_musepack" = "yes"; then
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
575 AC_CHECK_HEADERS(mpcdec/config_types.h,,
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
576 enable_musepack=no
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
577 )
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
578 else
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
579 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***])
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
580 enable_musepack=no
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
581 fi
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
582
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
583 if test "$enable_musepack" = "yes"; then
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
584 INPUT_PLUGINS="$INPUT_PLUGINS musepack"
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
585 fi
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
586
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
587 dnl *** WMA
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
588
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
589 AC_ARG_ENABLE(wma,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
590 [ --disable-wma disable wma plugin. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
591 [enable_wma=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
592 [enable_wma=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
593 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
594
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
595 if test "$enable_wma" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
596 INPUT_PLUGINS="$INPUT_PLUGINS wma"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
597 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
598
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
599 dnl *** jack output plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
600 AC_ARG_ENABLE( jack,
50
ea473b7f6afe [svn] - allow jack to be forcefully disabled
nenolod
parents: 46
diff changeset
601 [ --disable-jack disable jack output plugin (default=enabled)], [enable_jack=$enableval],
ea473b7f6afe [svn] - allow jack to be forcefully disabled
nenolod
parents: 46
diff changeset
602 [enable_jack="yes"])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
603
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
604 if test "x$enable_jack" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
605 AM_PATH_JACK(have_jack=yes, have_jack=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
606 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
607 AC_MSG_RESULT([*** jack plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
608 have_jack=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
609 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
610
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
611 if test "$have_jack" = yes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
612 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
613 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
614
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
615 dnl *** arts output plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
616 AC_ARG_ENABLE( arts,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
617 [ --disable-arts disable arts output plugin (default=enabled)],,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
618 enable_arts="yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
619
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
620 if test "x$enable_arts" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
621 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
622 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
623 AC_MSG_RESULT([*** arts plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
624 have_arts=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
625 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
626
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
627 if test "$have_arts" = yes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
628 OUTPUT_PLUGINS="$OUTPUT_PLUGINS arts"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
629 fi
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 dnl *** sid
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
632 AC_ARG_ENABLE( sid,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
633 [ --disable-sid disable sid input plugin (default=enabled)],,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
634 enable_sid="yes")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
635
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
636 if test "x$enable_sid" = xyes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
637 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
638 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
639 AC_MSG_RESULT([*** sid plugin disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
640 have_sidplay=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
641 fi
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 "$have_sidplay" = yes; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
644 INPUT_PLUGINS="$INPUT_PLUGINS sid"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
645 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
646
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
647 dnl *** OSS output
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
648
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
649 AC_ARG_ENABLE(oss,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
650 [ --disable-oss disable the OSS output plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
651 [enable_oss=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
652 [enable_oss=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
653 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
654
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
655 have_oss=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
656 if test "$enable_oss" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
657 AC_MSG_CHECKING(for OSS include dir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
658 OSS_CFLAGS=""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
659 if test -f "/etc/oss.conf" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
660 for i in `cat /etc/oss.conf`; do
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
661 t=`echo $i | sed -e 's/OSSLIBDIR=//'`
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
662 if test "$i" != "$t" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
663 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
664 OSS_CFLAGS="-I$t/include"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
665 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
666 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
667 done
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
668 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
669 if test -n "$OSS_CFLAGS" ; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
670 AC_MSG_RESULT([$OSS_CFLAGS])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
671 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
672 AC_MSG_RESULT([not found])
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 CFLAGS_save=$CFLAGS
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
675 CFLAGS="$CFLAGS $OSS_CFLAGS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
676 AC_CHECK_HEADERS(soundcard.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
677 AC_CHECK_HEADERS(sys/soundcard.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
678 AC_CHECK_HEADERS(machine/soundcard.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
679 CFLAGS=$CFLAGS_save
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 "${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
682 have_oss=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
683 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
684
6
7cac35581bd0 [svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents: 5
diff changeset
685 if test "${have_oss}" = "yes"; then
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
686 AC_MSG_CHECKING(whether we need -lossaudio)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
687 AC_TRY_LINK([
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
688 #include <sys/ioctl.h>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
689 #ifdef HAVE_SYS_SOUNDCARD_H
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
690 #include <sys/soundcard.h>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
691 #else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
692 #include <soundcard.h>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
693 #endif
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
694 ], [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
695 int fd, value;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
696 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value);
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
697 ], AC_MSG_RESULT(no), [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
698 OSS_LIBS="-lossaudio"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
699 AC_MSG_RESULT(yes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
700 ])
6
7cac35581bd0 [svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents: 5
diff changeset
701 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
702 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
703
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
704 if test "$have_oss" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
705 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
706 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
707 have_oss=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
708 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
709
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
710 if test "$have_oss" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
711 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
712 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
713
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
714 AC_SUBST(OSS_LIBS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
715
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
716 dnl *** ALSA output plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
717
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
718 AC_ARG_ENABLE(alsa,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
719 [ --disable-alsa disable ALSA input plugin (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
720 [enable_alsa=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
721 [enable_alsa=yes]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
722 )
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 if test "$enable_alsa" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
725 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
726 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
727 have_alsa=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
728 alsalib_available=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
729 ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
730 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
731 have_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
732 alsalib_available=no
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 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
735 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
736 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
737 have_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
738 alsalib_available=check
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_alsa" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
742 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa"
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
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
746 dnl *** amidi-plug (note: to avoid checking twice ALSA, this should appear somewhere after the alsa ouput plugin check)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
747
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
748 AC_ARG_ENABLE(amidiplug,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
749 [ --disable-amidiplug disable amidi-plug input plugin (default=check) ],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
750 [enable_amidiplug=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
751 [enable_amidiplug=check]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
752 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
753
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
754 AC_ARG_ENABLE(amidiplug-alsa,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
755 [ --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
756 [enable_amidiplug_alsa=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
757 [enable_amidiplug_alsa=auto]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
758 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
759
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
760 AC_ARG_ENABLE(amidiplug-flsyn,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
761 [ --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
762 [enable_amidiplug_fluidsynth=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
763 [enable_amidiplug_fluidsynth=auto]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
764 )
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 AC_ARG_ENABLE(amidiplug-dummy,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
767 [ --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
768 [enable_amidiplug_dummy=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
769 [enable_amidiplug_dummy=auto]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
770 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
771
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 "x$enable_amidiplug" = "xno"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
774 AC_MSG_RESULT([*** amidi-plug disabled per user request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
775 enable_amidiplug=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
776 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
777 if test "x$enable_amidiplug_alsa" != "xauto"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
778 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
779 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
780 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
781 elif test "x$enable_amidiplug_dummy" != "xauto"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
782 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
783 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
784 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
785
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
786 if test "x$enable_amidiplug" = "xcheck"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
787 if test "x$alsalib_available" = "xcheck"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
788 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
789 [alsalib_available=yes],[alsalib_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
790 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
791 if test "x$alsalib_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
792 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
793 if test "x$ap_have_hwsynth" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
794 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
795 ap_disable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
796 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
797 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
798 [fluidsynth_available=yes],[fluidsynth_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
799 if test "x$fluidsynth_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
800 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
801 ap_disable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
802 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
803 enable_amidiplug=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
804 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
805 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
806 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
807 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
808 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
809 [fluidsynth_available=yes],[fluidsynth_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
810 if test "x$fluidsynth_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
811 enable_amidiplug=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
812 ap_disable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
813 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
814 enable_amidiplug=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
815 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
816 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
817 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
818 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
819
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
820 if test "x$enable_amidiplug" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
821 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
822 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
823 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,)
40
f15e55bc0e60 [svn] - fixed some issues for amidiplug compilation after migraton in audacious-plugins (backends were not compiled and amidiplug was uselessly installed twice on make install)
giacomo
parents: 39
diff changeset
824 AMIDIPLUGBACKENDDIR=${libdir}/amidi-plug/audacious
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
825 AC_SUBST(AMIDIPLUGBACKENDDIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
826 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
827 if test "x$alsalib_available" = "xcheck"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
828 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
829 [alsalib_available=yes],[alsalib_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
830 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
831 if test "x$alsalib_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
832 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
833 enable_amidiplug_alsa=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
834 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
835 if test "x$enable_amidiplug_alsa" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
836 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
837 enable_amidiplug_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
838 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
839 enable_amidiplug_alsa=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
840 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
841 fi
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 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
844 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
845 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
846 [fluidsynth_available=yes],[fluidsynth_available=no])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
847 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
848 if test "x$fluidsynth_available" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
849 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
850 enable_amidiplug_fluidsynth=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
851 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
852 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
853 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
854 enable_amidiplug_fluidsynth=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
855 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
856 enable_amidiplug_fluidsynth=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
857 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
858 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
859 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
860 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
861 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
862 enable_amidiplug_dummy=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
863 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
864 AC_SUBST(AMIDIPLUG_BACKENDS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
865 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
866
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
867
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
868 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
869
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
870 AC_ARG_ENABLE(timidity,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
871 [ --disable-timidity disable timidity plugin. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
872 [enable_timidity=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
873 [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
874 if test "x$ap_disable_timidity" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
875 enable_timidity=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
876 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
877 enable_timidity=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
878 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
879 ]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
880 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
881
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
882 if test "$enable_timidity" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
883 INPUT_PLUGINS="$INPUT_PLUGINS timidity"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
884 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
885
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
886 dnl FreeBSD newpcm driver detection
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
887
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
888 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
889 if test -r "/dev/sndstat"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
890 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
891 if test "x$?" = "x0"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
892 beep_cv_newpcm_driver="yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
893 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
894 beep_cv_newpcm_driver="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
895 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
896 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
897 beep_cv_newpcm_driver="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
898 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
899 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
900
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
901 if test "$beep_cv_newpcm_driver" = "yes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
902 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
903 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
904
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
905
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
906 AC_CHECK_HEADERS(linux/cdrom.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
907 AC_CHECK_HEADERS(sys/cdio.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
908 AC_CHECK_HEADERS(sys/cdrio.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
909 AC_CHECK_HEADERS(linux/joystick.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
910 AC_CHECK_HEADERS(unistd.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
911 AC_CHECK_HEADERS(fcntl.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
912 AC_CHECK_HEADERS(sys/ioctl.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
913 AC_CHECK_HEADERS(fnmatch.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
914 AC_CHECK_HEADERS(limits.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
915 AC_CHECK_HEADERS(wchar.h)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
916 AC_CHECK_HEADERS(fts.h)
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_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
919
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
920
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
921 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
922 then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
923 INPUT_PLUGINS="cdaudio $INPUT_PLUGINS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
924 case "$host" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
925 *-*-sunos* | *-*-solaris* | *-*-linux*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
926 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
927 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
928 *-*-freebsd*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
929 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
930 ;;
314
29e5e3b6f1b6 [svn] - MirBSD support from <bsiegert -at gmx.de>
nenolod
parents: 306
diff changeset
931 *-*-netbsd* | *-*-openbsd* | *-*-mirbsd*)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
932 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
933 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
934 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
935 *-*darwin*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
936 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
937 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
938 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
939 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
940 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
941
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
942
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
943 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
944 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
945
5
54f9e753b511 [svn] - SDK pathchange fixes
nenolod
parents: 0
diff changeset
946 CFLAGS="$CFLAGS $AUDACIOUS_CFLAGS"
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_MSG_CHECKING(if __ELF__ is defined)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
949 AC_EGREP_CPP(yes,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
950 [#ifdef __ELF__
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
951 yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
952 #endif
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 [is_elf=yes],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
955 [is_elf=no]
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
956 )
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
957 AC_MSG_RESULT([${is_elf}])
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 have_solaris=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
961 have_sun=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
962 ARCH_DEFINES=""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
963 case "$host" in
314
29e5e3b6f1b6 [svn] - MirBSD support from <bsiegert -at gmx.de>
nenolod
parents: 306
diff changeset
964 *-*-openbsd* | *-*-netbsd* | *-*-mirbsd*)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
965 have_sun=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
966 if test "${is_elf}" = "no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
967 then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
968 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
969 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
970 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun"
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 *-*-darwin*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
973 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
974 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
975 *-hpux-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
976 ARCH_DEFINES="-DHPUX"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
977 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
978 *-*-solaris* | *-*-sunos*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
979 have_solaris=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
980 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
981 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
982
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
983 arch_type=other
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
984 x86_asm=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
985 case "$host" in
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
986 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
987 arch_type=ix86
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
988 case "$host" in
314
29e5e3b6f1b6 [svn] - MirBSD support from <bsiegert -at gmx.de>
nenolod
parents: 306
diff changeset
989 *-*-netbsd* | *-*openbsd* | *-*-mirbsd*)
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
990 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
991 *)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
992 ARCH_DEFINES="-DI386_ASSEM"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
993 x86_asm=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
994 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
995 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
996 ;;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
997 esac
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
998
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
999 dnl *** Scrobbler ***
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1000
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1001 scrobbler="yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1002
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1003 dnl libcurl check
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1004
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1005 my_cv_curl_vers=NONE
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1006 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
1007 check="7.9.7"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1008 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
1009 check_hex="070907"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1010
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1011 have_curl="no"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1012 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7],
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1013 [
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1014 CONTAINER_PLUGINS="$CONTAINER_PLUGINS curl"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1015 have_curl="yes"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1016 ], [scrobbler="no"])
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1017
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1018 if test "x$scrobbler" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1019 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1020 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1021
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1022 AC_SUBST(CURL_CFLAGS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1023 AC_SUBST(CURL_LIBS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1024
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1025 dnl *** End of Scrobbler checks ***
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1026
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1027 dnl *** MMS
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1028
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1029 AC_ARG_ENABLE(mms,
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1030 [ --disable-mms disable mms support. (default=enabled)],
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1031 [have_mms=$enableval],
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1032 [have_mms=yes])
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1033
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1034 if test "x$ap_disable_paranormal" = "xyes"; then
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1035 have_mms=no
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1036 AC_MSG_RESULT([*** mms plugin disabled by request ***])
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1037 else
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1038 have_mms=yes
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1039 PKG_CHECK_MODULES(MMS, [libmms >= 0.3], [CONTAINER_PLUGINS="$CONTAINER_PLUGINS mms" ], [have_mms="no"])
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1040 fi
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1041
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1042 dnl *** libparanormal checks
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1043
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1044 AC_ARG_ENABLE(paranormal,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1045 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1046 [have_paranormal=$enableval],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1047 [have_paranormal=yes])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1048
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1049 if test "x$ap_disable_paranormal" = "xyes"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1050 have_paranormal=no
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1051 AC_MSG_RESULT([*** paranormal plugin disabled by request ***])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1052 else
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1053 have_paranormal=yes
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1054 AM_PATH_SDL(1.2.5, , [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1055 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
1056 have_paranormal="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1057 ])
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
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1060 AC_ARG_ENABLE(xspf,
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1061 [ --disable-xspf disable XSPF support. (default=enabled)],
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1062 [have_xspf=$enableval], [have_xspf=yes])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1063
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1064 AM_PATH_XML2(2.0.0, , [
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1065 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
1066 have_paranormal="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1067 have_xspf="no"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1068 ])
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1069
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents: 148
diff changeset
1070 if test "$have_paranormal" = "yes"; then
408
290588854a9d [svn] - rovascope -- a variant of the paranormal visualization engine that is
nenolod
parents: 391
diff changeset
1071 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal rovascope"
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents: 148
diff changeset
1072 fi
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1073
364
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1074 if test "$have_xspf" = "yes"; then
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1075 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf"
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1076 fi
50347c06ec68 [svn] - make scrobbler behave better
nenolod
parents: 358
diff changeset
1077
358
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1078 dnl *** ProjectM (GL Milkdrop port)
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1079
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1080 AC_ARG_ENABLE(projectm,
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1081 [ --disable-projectm disable projectM vis plugin. (default=enabled)],
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1082 [have_projectm=$enableval],
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1083 [have_projectm=yes])
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1084
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1085 if test "$have_projectm" = "yes"; then
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1086 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
1087 if test x$libprjM = xno; then
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1088 AC_MSG_WARN([*** libprojectM not found.
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1089 libprojectM is needed to build this package.
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1090 You can download libprojectM at http://xmms-projectM.sf.net/])
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1091 fi
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1092 LIBPROJECTM_datadir=`pkg-config --variable=pkgdatadir libprojectM`;
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1093 LIBPROJECTM_sysconfdir=`pkg-config --variable=sysconfdir libprojectM`;
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1094 LIBPROJECTM_CFLAGS="$LIBPROJECTM_CFLAGS -DPROJECTM_DATADIR=\\\"$LIBPROJECTM_datadir\\\" -DPROJECTM_SYSCONFDIR=\\\"$LIBPROJECTM_sysconfdir\\\"";
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1095 fi
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1096 AC_SUBST(LIBPROJECTM_LIBS)
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1097 AC_SUBST(LIBPROJECTM_CFLAGS)
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1098
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1099 if test "$have_projectm" = "yes"; then
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1100 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS projectm"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1101 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1102
290
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1103 dnl *** TTA
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1104
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1105 AC_ARG_ENABLE(tta,
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1106 [ --disable-tta disable TrueAudio plugin (default=enabled) ],
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1107 [enable_tta=$enableval],
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1108 [enable_tta=yes]
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1109 )
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1110
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1111 if test "$enable_tta" = "yes"; then
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1112 INPUT_PLUGINS="$INPUT_PLUGINS tta"
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1113 fi
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1114
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1115 dnl *** End of all plugin checks ***
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1116
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1117 AC_SUBST(ARCH_DEFINES)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1118
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1119 dnl XXX delete ASAP -nenolod
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1120 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86")
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1121 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1122 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1123 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1124
10
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1125 plugindir=`pkg-config audacious --variable=plugin_dir`
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1126 AC_SUBST(plugindir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1127
10
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1128 dnl XXX
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1129
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1130 INPUT_PLUGIN_DIR=Input
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1131 OUTPUT_PLUGIN_DIR=Output
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1132 EFFECT_PLUGIN_DIR=Effect
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1133 GENERAL_PLUGIN_DIR=General
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1134 VISUALIZATION_PLUGIN_DIR=Visualization
844761e5dac3 [svn] - fully working package
nenolod
parents: 6
diff changeset
1135 CONTAINER_PLUGIN_DIR=Container
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1136
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1137 AC_SUBST(INPUT_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1138 AC_SUBST(OUTPUT_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1139 AC_SUBST(EFFECT_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1140 AC_SUBST(GENERAL_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1141 AC_SUBST(VISUALIZATION_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1142 AC_SUBST(CONTAINER_PLUGIN_DIR)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1143 AC_SUBST(pluginsubs)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1144
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1145 dnl XXX Work around some autoconf bugs.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1146 if test "$prefix" = "NONE"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1147 prefix="${ac_default_prefix}"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1148 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1149
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1150 if test -z "$datadir"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1151 datadir="${prefix}/share"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1152 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1153
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1154 localedir="$datadir/locale"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1155 AC_SUBST(localedir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1156
94
230d8b49db8b [svn] - do not use a different DATA_DIR for audacious-plugins
giacomo
parents: 59
diff changeset
1157 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
1158 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1159
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1160 if test "$enable_user_plugin_dir" = "no"; then
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1161 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
1162 fi
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1163
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
1164 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
1165
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1166 AC_SUBST(BEEP_DEFINES)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1167
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1168 AC_SUBST(beepdir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1169 AC_SUBST(plugindir)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1170
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1171 AC_SUBST(EFFECT_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1172 AC_SUBST(GENERAL_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1173 AC_SUBST(INPUT_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1174 AC_SUBST(OUTPUT_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1175 AC_SUBST(VISUALIZATION_PLUGINS)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1176 AC_SUBST(CONTAINER_PLUGINS)
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 AC_CONFIG_FILES([
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1179 mk/rules.mk
391
d2d262d3064a [svn] - build fix
yaz
parents: 390
diff changeset
1180 po/Makefile.in
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1181 ])
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 AC_OUTPUT
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1184
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1185
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1186 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1187 echo "Configuration:"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1188 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1189 echo " Install path: ${audacious_plugin_root}"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1190 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1191 echo " Output Plugins"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1192 echo " --------------"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1193 echo " Open Sound System (oss): $have_oss"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1194 echo " Advanced Linux Sound Arch. (alsa): $have_alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1195 echo " Enlightenment Sound Daemon (esd): $have_esd"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1196 echo " Jack Audio Connection Kit (jack): $have_jack"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1197 echo " Analog Realtime Synthesizer (arts): $have_arts"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1198 echo " BSD/SUN audio output (sun): $have_sun"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1199 echo " PulseAudio sound server (pulse_audio): $have_pulse"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1200 echo " Mac OS X sound support (CoreAudio): $have_coreaudio"
560
7b4b37819c9d [svn] made null always build
kiyoshi
parents: 503
diff changeset
1201 echo " Null Audio output (null): yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1202 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1203 echo " Input Plugins"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1204 echo " -------------"
622
70f3b14434b2 [svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents: 579
diff changeset
1205 echo " MPEG 1/2/3 (madplug): $enable_mp3"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1206 echo " MPEG 4 Audio (AAC): $enable_aac"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1207 echo " Windows Media Audio (wma): $enable_wma"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1208 echo " Module decoder (modplug): $have_modplug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1209 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1210 echo " -> ALSA backend: $enable_amidiplug_alsa"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1211 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1212 echo " -> dummy backend: $enable_amidiplug_dummy"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1213 echo " MIDI to WAVE converter (timidity): $enable_timidity"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1214 echo " CD Digital Audio (cdda): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1215 echo " Microsoft WAV (wav): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1216 echo " + sndfile extensions: $enable_sndfile"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1217 echo " Tone Generator: yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1218 echo " Ogg Vorbis (vorbis): $have_oggvorbis"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1219 echo " Free Lossless Audio Codec (flac): $have_flac"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1220 echo " Commodore 64 audio (sid): $have_sidplay"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1221 echo " Game music (spc, nsf & gbs): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1222 echo " PlayStation audio (sexypsf): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1223 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
1224 echo " Apple Lossless Audio Codec (alac): yes"
110
6855fee890ff [svn] - autoconf support for wavpack plugin
nenolod
parents: 107
diff changeset
1225 echo " WavPack 4.31+ (wavpack): $have_wavpack"
232
6c78d6d3cdb7 [svn] - put musepack support back
nenolod
parents: 231
diff changeset
1226 echo " Musepack support (musepack): $enable_musepack"
290
fbd06b4aa776 [svn] - add TrueAudio plugin
yaz
parents: 289
diff changeset
1227 echo " TrueAudio (tta): $enable_tta"
315
2294f3a6f136 [svn] Metronom (a.k.a. tact generator) input plugin, ported from XMMS.
chainsaw
parents: 314
diff changeset
1228 echo " Metronom: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1229 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1230 echo " General"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1231 echo " -------"
121
b59bca84e3cd [svn] - add xmms-alarm port
nenolod
parents: 118
diff changeset
1232 echo " Alarm: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1233 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
1234 echo " Status Icon: $have_statusicon"
579
22a80841acd0 [svn] - added audacious osd in configure.ac
giacomo
parents: 578
diff changeset
1235 echo " Audacious OSD: $have_aosd"
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
1236 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
1237 echo " LIRC: $have_lirc"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1238 echo " AudioScrobbler Client: $scrobbler"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1239 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1240 echo " Effect"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1241 echo " ------"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1242 echo " AudioCompressor (AGC): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1243 echo " LADSPA effects host (ladspa): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1244 echo " Voice Removal: yes"
125
f5ba91225985 [svn] - re-enable extra stereo plugin build
nenolod
parents: 121
diff changeset
1245 echo " Extra Stereo: yes"
127
46730e83b1e2 [svn] - echo plugin support by Christian Birchinger <joker -at- gentoo.org>
nenolod
parents: 125
diff changeset
1246 echo " Echo/Surround: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1247 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1248 echo " Visualization"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1249 echo " -------------"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1250 echo " Blur Scope: yes"
146
03cfb311eafd [svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents: 144
diff changeset
1251 echo " Spectrum Analyzer: yes"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1252 echo " Paranormal Visualization Library: $have_paranormal"
358
bc3bae2880ec [svn] - add support for projectM
nenolod
parents: 331
diff changeset
1253 echo " ProjectM (GL milkdrop): $have_projectm"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1254 echo
503
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1255 echo " Transport"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1256 echo " ---------"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1257 echo " stdio transport: yes"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1258 echo " curl-based http/https: $have_curl"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1259 echo " libmms-based mms: $have_mms"
fe2c60ca8c98 [svn] - mms transport
nenolod
parents: 433
diff changeset
1260 echo
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1261 echo " Container"
44
e27d735eaa21 [svn] - configure option for chardet was missing.
yaz
parents: 40
diff changeset
1262 echo " ---------"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1263 echo " Winamp PLS playlist format (pls): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1264 echo " M3U playlist format (m3u): yes"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1265 echo " XML Sharable Playlist Format (xspf): $have_xspf"
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1266 echo
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1267
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1268 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
1269 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
1270 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
1271 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
1272 echo "anyway, simply use --enable-timidity in configuration."
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1273 echo ""
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1274 fi