Mercurial > audlegacy
annotate configure.ac @ 1618:425a9a172319 trunk
[svn] - do not show filepopup for blank region when a playlist is shorter than the playlist window.
author | yaz |
---|---|
date | Tue, 05 Sep 2006 08:40:08 -0700 |
parents | 9becbe564217 |
children | 55011fbbd8cb |
rev | line source |
---|---|
0 | 1 dnl Process this file with autoconf to produce a configure script. |
2 | |
1603 | 3 AC_INIT(audacious, 1.2.0) |
1420 | 4 AC_PREREQ([2.59]) |
0 | 5 |
6 AC_CANONICAL_HOST | |
7 AC_CANONICAL_TARGET | |
8 | |
9 AC_CONFIG_HEADERS([config.h]) | |
10 | |
11 dnl libbeep | |
12 LIBBEEP_MAJOR_VERSION=2 | |
13 LIBBEEP_MINOR_VERSION=0 | |
14 LIBBEEP_MICRO_VERSION=0 | |
15 LIBBEEP_VERSION=$LIBBEEP_MAJOR_VERSION.$LIBBEEP_MINOR_VERSION.$LIBBEEP_MICRO_VERSION | |
16 AC_SUBST(LIBBEEP_MAJOR_VERSION) | |
17 AC_SUBST(LIBBEEP_MINOR_VERSION) | |
18 AC_SUBST(LIBBEEP_MICRO_VERSION) | |
19 | |
38 | 20 dnl XXX kludge for FreeBSD |
21 if test -d "/usr/X11R6/include"; then | |
22 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include" | |
23 fi | |
0 | 24 |
756 | 25 AM_INIT_AUTOMAKE |
26 | |
0 | 27 dnl GNU gettext |
28 | |
29 AM_GNU_GETTEXT | |
30 AM_GNU_GETTEXT_VERSION([0.12.1]) | |
31 | |
32 | |
33 dnl Check for C compiler | |
34 | |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
35 AC_PROG_CC |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
36 AC_PROG_CXX |
0 | 37 AC_ISC_POSIX |
38 AC_C_BIGENDIAN | |
39 | |
40 dnl Check for assembler | |
41 | |
42 AM_PROG_AS | |
43 | |
44 dnl Checks for various programs | |
45 | |
46 AC_PROG_INSTALL | |
47 AC_PROG_LN_S | |
48 AC_PROG_MAKE_SET | |
49 | |
750 | 50 AC_PATH_PROG(RM, rm) |
51 AC_PATH_PROG(MV, mv) | |
52 AC_PATH_PROG(CP, cp) | |
53 AC_PATH_PROG(AR, ar) | |
54 AC_PATH_PROG(RANLIB, ranlib) | |
55 | |
0 | 56 dnl Path settings |
57 | |
58 AC_PATH_PROG(BEEP_PATH, audacious, no) | |
59 | |
60 AC_ARG_WITH(rc-path, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
61 [ --rc-path=path Resource and configuration path for audacious relative to $HOME.], |
0 | 62 [rc_path=$withval], |
63 [rc_path=.audacious] | |
64 ) | |
65 AC_DEFINE_UNQUOTED(BMP_RCPATH, "$rc_path", | |
535 | 66 [Resource and configuration path for audacious relative to $HOME.] |
0 | 67 ) |
68 AC_SUBST(BMP_RCPATH) | |
69 | |
70 AC_ARG_ENABLE(one-plugin-dir, | |
71 [ --enable-one-plugin-dir Use a single plugin dir [default=no]], | |
72 [enable_one_plugin_dir=$enableval], | |
73 [enable_one_plugin_dir=no] | |
74 ) | |
75 | |
76 AC_ARG_ENABLE(user-plugin-dir, | |
77 [ --disable-user-plugin-dir disable per-user plugin dir], | |
78 [enable_user_plugin_dir=$enableval], | |
79 [enable_user_plugin_dir=yes] | |
80 ) | |
81 | |
82 AC_ARG_WITH(dev-dsp, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
83 [ --with-dev-dsp=path Path to OSS DSP data pipe, default is /dev/dsp.], |
0 | 84 [dev_dsp=$withval], |
85 [dev_dsp=/dev/dsp] | |
86 ) | |
87 AC_DEFINE_UNQUOTED(DEV_DSP, "$dev_dsp", | |
88 [Path to OSS DSP, really just a data pipe, default is /dev/dsp.] | |
89 ) | |
90 | |
91 AC_ARG_WITH(dev-mixer, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
92 [ --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer.], |
0 | 93 [dev_mixer=$withval], |
94 [dev_mixer=/dev/mixer] | |
95 ) | |
96 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer", | |
97 [Path to OSS mixer, default is /dev/mixer.] | |
98 ) | |
99 | |
100 AC_ARG_WITH(cdda-device, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
101 [ --with-cdda-device=path Path to default cdaudio device.], |
0 | 102 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval", |
103 [Path to default cdaudio device.] | |
104 ) | |
105 ] | |
106 ) | |
107 | |
108 AC_ARG_WITH(cdda-dir, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
109 [ --with-cdda-dir=path Path to default cdaudio directory.], |
0 | 110 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval", |
111 [Path to default cdaudio directory.] | |
112 ) | |
113 ] | |
114 ) | |
115 | |
634 | 116 dnl These plugins are always built. |
0 | 117 |
1503 | 118 INPUT_PLUGINS="cdaudio tonegen console sexypsf wav cue" |
820 | 119 OUTPUT_PLUGINS="disk_writer" |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
120 EFFECT_PLUGINS="audiocompress ladspa voice_removal" |
710
500f6d54bc46
[svn] Remove references to inetctl from the build system.
chainsaw
parents:
706
diff
changeset
|
121 GENERAL_PLUGINS="song_change" |
634 | 122 VISUALIZATION_PLUGINS="blur_scope" |
1562 | 123 CONTAINER_PLUGINS="m3u pls" |
0 | 124 |
125 dnl Option to change equalizer to the old XMMS one which only works with the mpg123 | |
126 dnl plugin (or rather, only implemented within the plugin) | |
127 | |
128 AC_ARG_WITH(xmms-eq, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
129 [ --with-xmms-eq Use old XMMS equalization code.], |
0 | 130 [use_xmms_eq=$withval], |
131 [use_xmms_eq=no] | |
132 ) | |
133 | |
134 if test "$use_xmms_eq" = "yes"; then | |
135 AC_DEFINE(XMMS_EQ, , [Define if building with old XMMS equalization code.]) | |
136 fi | |
137 | |
138 dnl Check for GTK/GLib/GThread/Pango | |
139 | |
535 | 140 PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.6.0 gtk+-2.0 >= 2.6.0 gthread-2.0 pango], |
141 [ADD_PC_REQUIRES([glib-2.0 >= 2.6.0, gtk+-2.0 >= 2.6.0])], | |
0 | 142 [AC_MSG_ERROR([Cannot find glib2/gtk2/pango])] |
143 ) | |
144 | |
145 dnl Check for libglade | |
146 | |
147 PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= 2.3.1], | |
148 [], | |
149 [AC_MSG_ERROR([Cannot find libglade])] | |
150 ) | |
151 | |
967
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
152 AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, [no], [$PATH:$prefix/bin]) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
153 if test "x$TAGLIB_CONFIG" = "xno" ; then |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
154 AC_MSG_ERROR([Cannot find taglib]) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
155 else |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
156 TAGLIB_CFLAGS=[`$TAGLIB_CONFIG --cflags`] |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
157 TAGLIB_LIBS=[`$TAGLIB_CONFIG --libs`] |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
158 fi |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
159 AC_SUBST(TAGLIB_CFLAGS) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
160 AC_SUBST(TAGLIB_LIBS) |
55757f96ef5d
[svn] Force dependance on taglib now used by mpg123 and musepack.
nemo
parents:
960
diff
changeset
|
161 |
0 | 162 # Check if socklen_t is defined |
163 | |
164 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t, | |
165 [AC_TRY_COMPILE( | |
166 [#include <sys/types.h> | |
167 #include <sys/socket.h>], | |
168 [socklen_t s;], | |
169 [beep_cv_type_socklen_t=yes], | |
170 [beep_cv_type_socklen_t=no] | |
171 ) | |
172 ] | |
173 ) | |
174 | |
175 if test "$beep_cv_type_socklen_t" = "no"; then | |
176 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing]) | |
177 fi | |
178 | |
978 | 179 dnl IPv6 support |
180 dnl ======================== | |
181 AC_ARG_ENABLE(ipv6, | |
182 [ --enable-ipv6 enable IPv6 support (default=no)], | |
183 enable_ipv6=$enableval, enable_ipv6=no) | |
184 if test "x$enable_ipv6" = xyes; then | |
185 AC_DEFINE(USE_IPV6,, [Define if building with IPv6 support] ) | |
186 fi | |
187 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = xyes) | |
188 AC_SUBST(USE_IPV6) | |
189 | |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
190 dnl chardet support |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
191 dnl ======================== |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
192 AC_ARG_ENABLE(chardet, |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
193 [ --enable-chardet enable character set detection support (default=no)], |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
194 enable_chardet=$enableval, enable_chardet=no) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
195 if test "x$enable_chardet" = xyes; then |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
196 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) |
1317
a698348c5155
[svn] - libaac: potential buffer overflow vulnerability fix
nenolod
parents:
1265
diff
changeset
|
197 AC_CHECK_LIB(guess, guess_jp, [SUBDIR_GUESS=[''] CHARDET_LIBS=['-lguess']], [SUBDIR_GUESS=['libguess'] CHARDET_LIBS=['../libguess/libguess.a']]) |
1613
9becbe564217
[svn] - chardet patch for Russian language witten by Valentine Sinitsyn.
yaz
parents:
1603
diff
changeset
|
198 AC_CHECK_LIB(rcd, rcdGetRussianCharset, [CHARDET_LIBS=["$CHARDET_LIBS -lrcd"]], [SUBDIR_GUESS=["$SUBDIR_GUESS librcd"] CHARDET_LIBS=["$CHARDET_LIBS ../librcd/librcd.a"]]) |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
199 AC_CHECK_LIB(udet_c, detectCharset, [AC_DEFINE(HAVE_UDET, 1,[Define if the system has Mozilla universal character detector library]) CHARDET_LIBS=["$CHARDET_LIBS -ludet -ludet_c"]]) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
200 fi |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
201 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
202 AC_SUBST(USE_CHARDET) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
203 AC_SUBST(CHARDET_LIBS) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
204 AC_SUBST(SUBDIR_GUESS) |
0 | 205 |
206 dnl GConf support | |
207 | |
208 AC_ARG_ENABLE( gconf, | |
209 [ --enable-gconf enable GConf support (default=disabled)], | |
210 [enable_gconf=$enableval], | |
211 [enable_gconf="no"] | |
212 ) | |
213 | |
214 if test "$enable_gconf" = "yes"; then | |
215 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0], | |
216 [ | |
217 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support]) | |
218 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0]) | |
219 ], | |
220 [AC_MSG_ERROR([Cannot find GConf])] | |
221 ) | |
222 fi | |
223 | |
727 | 224 if test "$enable_gconf" = "yes"; then |
225 CONFIGDB_BACKEND="gconf" | |
226 else | |
227 CONFIGDB_BACKEND="rcfile" | |
228 fi | |
0 | 229 |
727 | 230 AC_SUBST(CONFIGDB_BACKEND) |
0 | 231 |
232 dnl GnomeVFS support | |
233 | |
234 AC_ARG_ENABLE( gnome-vfs, | |
235 [ --enable-gnome-vfs enable GnomeVFS support (default=disabled)], | |
236 [enable_gnomevfs=$enableval], | |
237 [enable_gnomevfs="no"] | |
238 ) | |
239 | |
240 if test "$enable_gnomevfs" = "yes"; then | |
241 PKG_CHECK_MODULES(GNOMEVFS, [gnome-vfs-2.0 >= 2.6.0], | |
242 [ | |
243 AC_DEFINE(HAVE_GNOME_VFS, , [Define if building with GnomeVFS support]) | |
244 ADD_PC_REQUIRES([gnome-vfs-2.0 >= 2.6.0]) | |
245 ], | |
246 [AC_MSG_ERROR([Cannot find GnomeVFS])] | |
247 ) | |
248 fi | |
249 | |
726 | 250 if test "$enable_gnomevfs" = "yes"; then |
251 VFS_BACKEND="gnome" | |
252 else | |
253 VFS_BACKEND="stdio" | |
254 fi | |
0 | 255 |
727 | 256 AC_SUBST(VFS_BACKEND) |
257 | |
0 | 258 dnl Check for esound |
259 | |
260 AC_ARG_ENABLE( esd, | |
261 [ --disable-esd disable esound output plugin [default=enabled]], | |
262 [enable_esd=$enableval], | |
263 [enable_esd="yes"] | |
264 ) | |
265 | |
266 if test "$enable_esd" = "yes"; then | |
267 PKG_CHECK_MODULES(ESD, [esound >= 0.2], | |
634 | 268 [have_esd=yes |
269 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"], | |
0 | 270 [have_esd=no] |
271 ) | |
272 else | |
273 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) | |
274 have_esd=no | |
275 fi | |
276 | |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
277 dnl *** AltiVec |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
278 |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
279 AC_CHECK_HEADERS(altivec.h, |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
280 [AC_DEFINE(HAVE_ALTIVEC, 1, [Define to 1 if your system has AltiVec.]) |
1398
1ddaf20ab50e
[svn] AltiVec support for WMA, by Luca "lu_zero" Barbato from Gentoo.
chainsaw
parents:
1394
diff
changeset
|
281 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Define to 1 if your system has an altivec.h file.]) |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
282 AC_DEFINE(ARCH_POWERPC, 1, [Define to 1 if your system is a PowerPC.]) |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
283 DCT64=dct64_altivec.c], |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
284 [DCT64=dct64.c] |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
285 ) |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
286 AC_SUBST(DCT64) |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
287 |
0 | 288 dnl *** MP3 |
289 | |
290 AC_ARG_ENABLE(mp3, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
291 [ --disable-mp3 disable mp3 plugin. (default=enabled) ], |
0 | 292 [enable_mp3=$enableval], |
293 [enable_mp3=yes] | |
294 ) | |
295 | |
634 | 296 if test "$enable_mp3" = "yes"; then |
297 INPUT_PLUGINS="$INPUT_PLUGINS mpg123" | |
298 fi | |
0 | 299 |
1457
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
300 dnl *** ThinkLight support |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
301 |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
302 AC_CHECK_FILE([/proc/acpi/ibm/light], [VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight"]) |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
303 |
157 | 304 dnl *** LIRC client libraries |
305 | |
306 AC_ARG_ENABLE(lirc, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
307 [ --disable-lirc disable LIRC plugin (default=enabled)], |
157 | 308 [enable_lirc=$enableval], |
309 [enable_lirc="yes"] | |
310 ) | |
311 | |
312 if test "$enable_lirc" = "yes"; then | |
313 AC_CHECK_LIB([lirc_client],[lirc_init],[have_lirc=yes],[have_lirc=no]) | |
314 else | |
315 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) | |
316 have_lirc="no" | |
317 fi | |
634 | 318 |
319 if test "$have_lirc" = "yes"; then | |
320 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc" | |
321 fi | |
157 | 322 |
1493
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
323 dnl *** libnotify requirement |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
324 |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
325 AC_ARG_ENABLE(notify, |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
326 [ --disable-notify disable libnotify plugin (default=enabled)], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
327 [enable_libnotify=$enableval], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
328 [enable_libnotify="yes"] |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
329 ) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
330 |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
331 if test "$enable_libnotify" = "yes"; then |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
332 PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= 0.4.2], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
333 [have_libnotify=yes |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
334 GENERAL_PLUGINS="$GENERAL_PLUGINS notify"], |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
335 [have_libnotify=no] |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
336 ) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
337 else |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
338 AC_MSG_RESULT([*** libnotify plugin disabled per user request ***]) |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
339 have_libnotify="no" |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
340 fi |
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
341 |
386 | 342 dnl *** AdPlug requirement (libbinio) |
359 | 343 |
344 AC_ARG_ENABLE(adplug, | |
345 [ --disable-adplug disable AdPlug plugin (default=enabled)], | |
346 [enable_adplug=$enableval], | |
347 [enable_adplug="yes"] | |
348 ) | |
349 | |
386 | 350 if test "$enable_adplug" = "yes"; then |
406
5928c035fa4e
[svn] Use the pkg-config database to link with libbinio in a portable way. Requires libbinio 1.4 (or higher).
chainsaw
parents:
393
diff
changeset
|
351 have_adplug="yes" |
5928c035fa4e
[svn] Use the pkg-config database to link with libbinio in a portable way. Requires libbinio 1.4 (or higher).
chainsaw
parents:
393
diff
changeset
|
352 PKG_CHECK_MODULES(BINIO,[libbinio >= 1.4],,[have_adplug=no]) |
359 | 353 else |
354 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) | |
355 have_adplug="no" | |
356 fi | |
634 | 357 |
358 if test "$have_adplug" = "yes"; then | |
359 INPUT_PLUGINS="$INPUT_PLUGINS adplug" | |
360 fi | |
359 | 361 |
0 | 362 dnl *** Ogg Vorbis |
363 | |
364 AC_ARG_ENABLE(vorbis, | |
365 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], | |
366 [enable_vorbis=$enableval], | |
367 [enable_vorbis="yes"] | |
368 ) | |
369 | |
370 if test "$enable_vorbis" = "yes"; then | |
371 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], | |
372 [have_oggvorbis=yes], | |
373 [AC_MSG_ERROR([Cannot find libogg/libvorbis]) | |
374 have_oggvorbis=no] | |
375 ) | |
376 else | |
377 AC_MSG_RESULT([*** Ogg Vorbis plugin disabled per user request ***]) | |
378 have_oggvorbis=no | |
379 fi | |
380 | |
634 | 381 if test "$have_oggvorbis" = "yes"; then |
382 INPUT_PLUGINS="$INPUT_PLUGINS vorbis" | |
383 fi | |
0 | 384 |
2 | 385 dnl *** AAC |
386 | |
387 AC_ARG_ENABLE(aac, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
388 [ --disable-aac disable aac plugin (default=enabled) ], |
2 | 389 [enable_aac=$enableval], |
390 [enable_aac=yes] | |
391 ) | |
392 | |
706 | 393 if test "$enable_aac" = "yes"; then |
634 | 394 INPUT_PLUGINS="$INPUT_PLUGINS aac" |
395 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
396 |
165 | 397 dnl *** sndfile |
398 | |
399 AC_ARG_ENABLE(sndfile, | |
400 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], | |
401 [enable_sndfile=$enableval], | |
402 [enable_sndfile=yes] | |
403 ) | |
404 | |
405 if test "$enable_sndfile" = "yes"; then | |
406 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], | |
407 [enable_sndfile=yes], | |
408 [enable_sndfile=no] | |
409 ) | |
410 else | |
411 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) | |
412 enable_sndfile=no | |
413 fi | |
414 | |
634 | 415 if test "$enable_sndfile" = "yes"; then |
725 | 416 WAV_SNDFILE="-sndfile" |
634 | 417 fi |
418 | |
725 | 419 AC_SUBST(WAV_SNDFILE) |
165 | 420 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
421 dnl *** modplug |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
422 |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
423 AC_ARG_ENABLE(modplug, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
424 [ --disable-modplug disable ModPlug plugin (default=enabled)], |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
425 [enable_modplug=$enableval], |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
426 [enable_modplug="yes"] |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
427 ) |
32 | 428 |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
429 if test "$enable_modplug" = "yes"; then |
1375
d2c411305bf8
[svn] Modplug conftest fix by Christian "Joker" Birchinger from Gentoo.
chainsaw
parents:
1366
diff
changeset
|
430 AC_CHECK_LIB([modplug],[XMLinearTable],[have_modplug=yes],[have_modplug=no],[-lstdc++]) |
32 | 431 else |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
432 AC_MSG_RESULT([*** ModPlug plugin disabled per user request ***]) |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
433 have_modplug="no" |
32 | 434 fi |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
435 |
634 | 436 if test "$have_modplug" = "yes"; then |
437 INPUT_PLUGINS="$INPUT_PLUGINS modplug" | |
438 fi | |
32 | 439 |
50 | 440 dnl *** flac |
1537 | 441 AC_ARG_ENABLE( flac, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
442 [ --disable-flac disable flac input plugin (default=enabled)],, |
50 | 443 enable_flac="yes") |
444 | |
445 if test "x$enable_flac" = xyes; then | |
446 AM_PATH_LIBFLAC(have_flac=yes, have_flac=no) | |
447 else | |
448 AC_MSG_RESULT([*** flac plugin disabled per user request ***]) | |
449 have_flac=no | |
450 fi | |
634 | 451 |
452 if test "$have_flac" = "yes"; then | |
453 INPUT_PLUGINS="$INPUT_PLUGINS flac" | |
454 fi | |
32 | 455 |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
456 dnl *** WMA |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
457 |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
458 AC_ARG_ENABLE(wma, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
459 [ --disable-wma disable wma plugin. (default=enabled)], |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
460 [enable_wma=$enableval], |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
461 [enable_wma=yes] |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
462 ) |
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
463 |
634 | 464 if test "$enable_wma" = "yes"; then |
465 INPUT_PLUGINS="$INPUT_PLUGINS wma" | |
466 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
467 |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
468 dnl *** jack output plugin |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
469 AC_ARG_ENABLE( jack, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
470 [ --disable-jack disable jack output plugin (default=enabled)],, |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
471 enable_jack="yes") |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
472 |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
473 if test "x$enable_jack" = xyes; then |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
474 AM_PATH_JACK(have_jack=yes, have_jack=no) |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
475 else |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
476 AC_MSG_RESULT([*** jack plugin disabled per user request ***]) |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
477 have_jack=no |
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
478 fi |
634 | 479 |
480 if test "$have_jack" = yes; then | |
481 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack" | |
482 fi | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
483 |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
484 dnl *** arts output plugin |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
485 AC_ARG_ENABLE( arts, |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
486 [ --disable-arts disable arts output plugin (default=enabled)],, |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
487 enable_arts="yes") |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
488 |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
489 if test "x$enable_arts" = xyes; then |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
490 AM_PATH_ARTSC(0.9.5, have_arts=yes, have_arts=no) |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
491 else |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
492 AC_MSG_RESULT([*** arts plugin disabled per user request ***]) |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
493 have_arts=no |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
494 fi |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
495 |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
496 if test "$have_arts" = yes; then |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
497 OUTPUT_PLUGINS="$OUTPUT_PLUGINS arts" |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
498 fi |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
499 |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
500 dnl *** sid |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
501 AC_ARG_ENABLE( sid, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
502 [ --disable-sid disable sid input plugin (default=enabled)],, |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
503 enable_sid="yes") |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
504 |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
505 if test "x$enable_sid" = xyes; then |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
506 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
507 else |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
508 AC_MSG_RESULT([*** sid plugin disabled per user request ***]) |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
509 have_sidplay=no |
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
510 fi |
634 | 511 |
512 if test "$have_sidplay" = yes; then | |
513 INPUT_PLUGINS="$INPUT_PLUGINS sid" | |
514 fi | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
515 |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
516 dnl *** Musepack |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
517 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
518 AC_ARG_ENABLE(musepack, |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
519 [ --disable-musepack disable musepack input plugin (default=enabled)], |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
520 [enable_musepack=$enableval], |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
521 [enable_musepack="yes"] |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
522 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
523 |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
524 if test "$enable_musepack" = "yes"; then |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
525 AC_CHECK_HEADERS(mpcdec/config_types.h,, |
319
1e642d74d68c
[svn] Do not abort if libmpc is not found, just disable musepack plugin.
chainsaw
parents:
293
diff
changeset
|
526 enable_musepack=no |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
527 ) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
528 else |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
529 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
530 enable_musepack=no |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
531 fi |
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
532 |
634 | 533 if test "$enable_musepack" = "yes"; then |
534 INPUT_PLUGINS="$INPUT_PLUGINS musepack" | |
535 fi | |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
536 |
0 | 537 dnl *** OSS output |
538 | |
539 AC_ARG_ENABLE(oss, | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
540 [ --disable-oss disable the OSS output plugin (default=enabled)], |
0 | 541 [have_oss=$enableval], |
542 [have_oss=yes] | |
543 ) | |
544 | |
545 if test "$have_oss" = "yes"; then | |
546 AC_MSG_CHECKING(for OSS include dir) | |
547 OSS_CFLAGS="" | |
548 if test -f "/etc/oss.conf" ; then | |
549 for i in `cat /etc/oss.conf`; do | |
550 t=`echo $i | sed -e 's/OSSLIBDIR=//'` | |
551 if test "$i" != "$t" ; then | |
552 if test -f "$t/include/sys/soundcard.h" ; then | |
553 OSS_CFLAGS="-I$t/include" | |
554 fi | |
555 fi | |
556 done | |
557 fi | |
558 if test -n "$OSS_CFLAGS" ; then | |
559 AC_MSG_RESULT([$OSS_CFLAGS]) | |
560 else | |
561 AC_MSG_RESULT([not found]) | |
562 fi | |
563 CFLAGS_save=$CFLAGS | |
564 CFLAGS="$CFLAGS $OSS_CFLAGS" | |
565 AC_CHECK_HEADERS(sys/soundcard.h) | |
566 AC_CHECK_HEADERS(machine/soundcard.h) | |
567 CFLAGS=$CFLAGS_save | |
568 | |
569 if test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes"; then | |
570 have_oss=yes | |
571 fi | |
572 fi | |
573 | |
574 if test "$have_oss" = "yes"; then | |
575 AC_DEFINE(HAVE_OSS, 1, [Define if the OSS output plugin should be built]) | |
576 else | |
577 have_oss=no | |
578 fi | |
579 | |
634 | 580 if test "$have_oss" = "yes"; then |
581 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS" | |
582 fi | |
0 | 583 |
584 dnl *** ALSA output plugin | |
585 | |
586 AC_ARG_ENABLE(alsa, | |
587 [ --disable-alsa disable ALSA input plugin (default=enabled)], | |
588 [enable_alsa=$enableval], | |
589 [enable_alsa=yes] | |
590 ) | |
591 | |
592 if test "$enable_alsa" = "yes"; then | |
593 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
594 [ |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
595 have_alsa=yes |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
596 alsalib_available=yes |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
597 ], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
598 [ |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
599 have_alsa=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
600 alsalib_available=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
601 ] |
0 | 602 ) |
603 else | |
604 AC_MSG_RESULT([*** ALSA output plugin disabled per user request ***]) | |
605 have_alsa=no | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
606 alsalib_available=check |
0 | 607 fi |
608 | |
635
6a9e1af8ee75
[svn] Check for have_alsa to enable ALSA, and not have_oss.
chainsaw
parents:
634
diff
changeset
|
609 if test "$have_alsa" = "yes"; then |
634 | 610 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa" |
611 fi | |
0 | 612 |
1387 | 613 |
614 dnl *** amidi-plug (note: to avoid checking twice ALSA, this should appear somewhere after the alsa ouput plugin check) | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
615 |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
616 AC_ARG_ENABLE(amidiplug, |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
617 [ --disable-amidiplug disable amidi-plug input plugin (default=check) ], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
618 [enable_amidiplug=$enableval], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
619 [enable_amidiplug=check] |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
620 ) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
621 |
1387 | 622 AC_ARG_ENABLE(amidiplug-alsa, |
623 [ --disable-amidiplug-alsa disable amidi-plug ALSA backend (default=enabled) ], | |
624 [enable_amidiplug_alsa=$enableval], | |
625 [enable_amidiplug_alsa=auto] | |
626 ) | |
627 | |
628 AC_ARG_ENABLE(amidiplug-flsyn, | |
629 [ --disable-amidiplug-flsyn disable amidi-plug FluidSynth backend (default=enabled) ], | |
630 [enable_amidiplug_fluidsynth=$enableval], | |
631 [enable_amidiplug_fluidsynth=auto] | |
632 ) | |
633 | |
634 AC_ARG_ENABLE(amidiplug-dummy, | |
635 [ --disable-amidiplug-dummy disable amidi-plug dummy backend (default=enabled) ], | |
636 [enable_amidiplug_dummy=$enableval], | |
637 [enable_amidiplug_dummy=auto] | |
638 ) | |
639 | |
640 | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
641 if test "x$enable_amidiplug" = "xno"; then |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
642 AC_MSG_RESULT([*** amidi-plug disabled per user request ***]) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
643 enable_amidiplug=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
644 else |
1387 | 645 if test "x$enable_amidiplug_alsa" != "xauto"; then |
646 enable_amidiplug=yes | |
647 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then | |
648 enable_amidiplug=yes | |
649 elif test "x$enable_amidiplug_dummy" != "xauto"; then | |
650 enable_amidiplug=yes | |
651 fi | |
652 fi | |
653 | |
654 if test "x$enable_amidiplug" = "xcheck"; then | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
655 if test "x$alsalib_available" = "xcheck"; then |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
656 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
657 [alsalib_available=yes],[alsalib_available=no]) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
658 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
659 if test "x$alsalib_available" = "xyes"; then |
1387 | 660 AM_PATH_AMIDIPLUG_HWSYNTH(ap_have_hwsynth=yes, ap_have_hwsynth=no) |
661 if test "x$ap_have_hwsynth" = "xyes"; then | |
662 enable_amidiplug=yes | |
663 ap_disable_timidity=yes | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
664 else |
1387 | 665 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
666 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
667 if test "x$fluidsynth_available" = "xyes"; then | |
668 enable_amidiplug=yes | |
669 ap_disable_timidity=yes | |
670 else | |
671 enable_amidiplug=no | |
672 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 ***]) | |
673 fi | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
674 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
675 else |
1387 | 676 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
677 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
678 if test "x$fluidsynth_available" = "xyes"; then | |
679 enable_amidiplug=yes | |
680 ap_disable_timidity=yes | |
681 else | |
682 enable_amidiplug=no | |
683 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 ***]) | |
684 fi | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
685 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
686 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
687 |
1387 | 688 if test "x$enable_amidiplug" = "xyes"; then |
689 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" | |
690 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0],,) | |
691 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,) | |
1394
65490480559e
[svn] - install the amidi-plug plugins to ${libdir}/amidi-plug.
nenolod
parents:
1387
diff
changeset
|
692 AMIDIPLUGDATADIR=${libdir}/amidi-plug/backends |
1387 | 693 AC_SUBST(AMIDIPLUGDATADIR) |
694 if test "x$enable_amidiplug_alsa" = "xauto" -o "x$enable_amidiplug_alsa" = "xyes"; then | |
695 if test "x$alsalib_available" = "xcheck"; then | |
696 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], | |
697 [alsalib_available=yes],[alsalib_available=no]) | |
698 fi | |
699 if test "x$alsalib_available" = "xyes"; then | |
700 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa" | |
701 enable_amidiplug_alsa=yes | |
702 else | |
703 if test "x$enable_amidiplug_alsa" = "xyes"; then | |
704 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]) | |
705 enable_amidiplug_alsa=no | |
706 else | |
707 enable_amidiplug_alsa=no | |
708 fi | |
709 fi | |
710 fi | |
711 if test "x$enable_amidiplug_fluidsynth" = "xauto" -o "x$enable_amidiplug_fluidsynth" = "xyes"; then | |
712 if test "x$fluidsynth_available" != "xyes" -a "x$fluidsynth_available" != "xno"; then | |
713 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], | |
714 [fluidsynth_available=yes],[fluidsynth_available=no]) | |
715 fi | |
716 if test "x$fluidsynth_available" = "xyes"; then | |
717 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth" | |
718 enable_amidiplug_fluidsynth=yes | |
719 else | |
720 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then | |
721 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]) | |
722 enable_amidiplug_fluidsynth=no | |
723 else | |
724 enable_amidiplug_fluidsynth=no | |
725 fi | |
726 fi | |
727 fi | |
728 if test "x$enable_amidiplug_dummy" = "xauto" -o "x$enable_amidiplug_dummy" = "xyes"; then | |
729 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy" | |
730 enable_amidiplug_dummy=yes | |
731 fi | |
732 AC_SUBST(AMIDIPLUG_BACKENDS) | |
634 | 733 fi |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
734 |
1387 | 735 if test "x$enable_amidiplug" = "xyes"; then |
736 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" | |
737 fi | |
738 | |
739 | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
740 dnl *** TiMidity input plugin (note: should appear somewhere after the amidi-plug check) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
741 |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
742 AC_ARG_ENABLE(timidity, |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
743 [ --disable-timidity disable timidity plugin. (default=enabled)], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
744 [enable_timidity=$enableval], |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
745 [ |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
746 if test "x$ap_disable_timidity" = "xyes"; then |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
747 enable_timidity=no |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
748 else |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
749 enable_timidity=yes |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
750 fi |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
751 ] |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
752 ) |
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
753 |
634 | 754 if test "$enable_timidity" = "yes"; then |
755 INPUT_PLUGINS="$INPUT_PLUGINS timidity" | |
756 fi | |
527
68f20f7ac954
[svn] in configure.ac, do not check for ALSA twice if it has been already detected (both alsa output plugin and amidi-plug check its availability)
giacomo
parents:
523
diff
changeset
|
757 |
0 | 758 dnl FreeBSD newpcm driver detection |
759 | |
760 AC_CACHE_CHECK(for FreeBSD newpcm driver, beep_cv_newpcm_driver, | |
761 if test -r "/dev/sndstat"; then | |
762 grep 'newpcm' /dev/sndstat 2>/dev/null 1>/dev/null | |
763 if test "x$?" = "x0"; then | |
764 beep_cv_newpcm_driver="yes" | |
765 else | |
766 beep_cv_newpcm_driver="no" | |
767 fi | |
768 else | |
769 beep_cv_newpcm_driver="no" | |
770 fi | |
771 ) | |
772 | |
773 if test "$beep_cv_newpcm_driver" = "yes"; then | |
774 AC_DEFINE(HAVE_NEWPCM, 1, [Define if you have the FreeBSD newpcm driver]) | |
775 fi | |
776 | |
777 | |
778 AC_CHECK_HEADERS(linux/cdrom.h) | |
779 AC_CHECK_HEADERS(sys/cdio.h) | |
780 AC_CHECK_HEADERS(linux/joystick.h) | |
781 AC_CHECK_HEADERS(unistd.h) | |
782 AC_CHECK_HEADERS(fcntl.h) | |
783 AC_CHECK_HEADERS(sys/ioctl.h) | |
784 AC_CHECK_HEADERS(fnmatch.h) | |
785 AC_CHECK_HEADERS(limits.h) | |
786 AC_CHECK_HEADERS(wchar.h) | |
787 AC_CHECK_HEADERS(fts.h) | |
788 | |
242 | 789 AC_CHECK_FUNCS([mkdtemp getmntinfo strtoul lrintf]) |
0 | 790 |
791 | |
792 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" | |
793 then | |
794 case "$host" in | |
795 *-*-sunos* | *-*-solaris* | *-*-linux*) | |
796 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) | |
797 ;; | |
798 *-*-freebsd*) | |
799 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
800 ;; | |
801 *-*-netbsd* | *-*-openbsd*) | |
802 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
803 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) | |
804 ;; | |
805 *-*darwin*) | |
806 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) | |
807 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) | |
808 ;; | |
809 esac | |
810 fi | |
811 | |
812 | |
813 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") | |
814 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") | |
815 | |
816 if test -n "$GCC" | |
817 then | |
995
e4089d6b0fcf
[svn] Reduce amount of emitted GCC 4.1 warnings to 6. For that boring rainy afternoon, remove the two -Wno statements in CFLAGS (configure.ac) and you will see the actual amount.
chainsaw
parents:
978
diff
changeset
|
818 CFLAGS="$CFLAGS -Wall -Wno-strict-aliasing -Wno-unused-parameter -Wpointer-arith -finline-functions -ffast-math" |
0 | 819 case "$CFLAGS" in |
820 -g*) ;; | |
821 *\ -g*) ;; | |
822 *) CFLAGS="$CFLAGS -fomit-frame-pointer" ;; | |
823 esac | |
824 case "$host" in | |
825 *-*-freebsd*) | |
826 ;; | |
827 *) | |
828 CFLAGS="$CFLAGS -funroll-all-loops" | |
829 ;; | |
830 esac | |
831 fi | |
832 | |
833 AC_MSG_CHECKING(if __ELF__ is defined) | |
834 AC_EGREP_CPP(yes, | |
835 [#ifdef __ELF__ | |
836 yes | |
837 #endif | |
838 ], | |
839 [is_elf=yes], | |
840 [is_elf=no] | |
841 ) | |
842 AC_MSG_RESULT([${is_elf}]) | |
843 | |
844 | |
845 have_solaris=no | |
846 have_sun=no | |
847 ARCH_DEFINES="" | |
848 case "$host" in | |
849 *-*-openbsd* | *-*-netbsd*) | |
850 have_sun=yes | |
851 if test "${is_elf}" = "no" | |
852 then | |
853 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
854 fi | |
758
f9e8807ea6e5
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
nenolod
parents:
756
diff
changeset
|
855 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun" |
0 | 856 ;; |
857 *-*-darwin*) | |
858 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
859 ;; | |
860 *-hpux-*) | |
861 ARCH_DEFINES="-DHPUX" | |
862 ;; | |
863 *-*-solaris* | *-*-sunos*) | |
864 have_solaris=yes | |
865 ;; | |
866 esac | |
867 | |
868 arch_type=other | |
869 x86_asm=no | |
870 case "$host" in | |
871 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) | |
872 arch_type=ix86 | |
873 case "$host" in | |
874 *-*-netbsd* | *-*openbsd*) | |
875 ;; | |
876 *) | |
877 ARCH_DEFINES="-DI386_ASSEM" | |
878 x86_asm=yes | |
879 ;; | |
880 esac | |
881 ;; | |
882 esac | |
883 | |
688 | 884 dnl *** Scrobbler *** |
885 | |
886 scrobbler="yes" | |
887 | |
888 dnl Checks for libmusicbrainz | |
692 | 889 PKG_CHECK_MODULES(MUSICBRAINZ, [libmusicbrainz >= 2.0.0], , [scrobbler="no"]) |
688 | 890 |
891 dnl libcurl check | |
892 | |
893 my_cv_curl_vers=NONE | |
894 dnl check is the plain-text version of the required version | |
895 check="7.9.7" | |
896 dnl check_hex must be UPPERCASE if any hex letters are present | |
897 check_hex="070907" | |
898 | |
899 AC_MSG_CHECKING([for curl >= $check]) | |
900 | |
960 | 901 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], , [scrobbler="no"]) |
688 | 902 |
903 if test "x$scrobbler" = "xyes"; then | |
904 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler" | |
905 fi | |
906 | |
907 AC_SUBST(CURL_CFLAGS) | |
908 AC_SUBST(CURL_LIBS) | |
909 AC_SUBST(MUSICBRAINZ_LIBS) | |
910 | |
911 dnl *** End of Scrobbler checks *** | |
0 | 912 |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
913 dnl *** libparanormal checks |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
914 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
915 AC_ARG_ENABLE(paranormal, |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
916 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)], |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
917 [have_paranormal=$enableval], |
1568 | 918 [have_paranormal=yes]) |
919 | |
920 if test "x$ap_disable_paranormal" = "xyes"; then | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
921 have_paranormal=no |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
922 AC_MSG_RESULT([*** paranormal plugin disabled by request ***]) |
1568 | 923 else |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
924 have_paranormal=yes |
1519 | 925 AM_PATH_SDL(1.2.5, , [ |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
926 AC_MSG_WARN([*** SDL is not installed. Paranormal will not be built. ***]) |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
927 have_paranormal="no" |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
928 ]) |
1568 | 929 fi |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
930 |
1568 | 931 AC_ARG_ENABLE(xspf, |
932 [ --disable-xspf disable XSPF support. (default=enabled)], | |
933 [have_xspf=$enableval], [have_xspf=yes]) | |
934 | |
935 AM_PATH_XML2(2.0.0, , [ | |
936 AC_MSG_WARN([*** libxml2 is not installed. Paranormal nor XSPF support will not be built. ***]) | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
937 have_paranormal="no" |
1568 | 938 have_xspf="no" |
939 ]) | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
940 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
941 if test "$have_paranormal" = "yes"; then |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
942 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal" |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
943 fi |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
944 |
1568 | 945 if test "$have_xspf" = "yes"; then |
946 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf" | |
1569
3af18d169044
[svn] - Plugins/Container/xspf/xspf.c: xspf cleanups
nenolod
parents:
1568
diff
changeset
|
947 AC_DEFINE(HAVE_XSPF_PLAYLIST, 1, [Define if XSPF playlists are available.]) |
1568 | 948 fi |
949 | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
950 dnl *** End of all plugin checks *** |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
951 |
0 | 952 AC_SUBST(ARCH_DEFINES) |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
953 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
954 dnl XXX delete ASAP -nenolod |
0 | 955 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") |
956 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) | |
957 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) | |
958 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) | |
959 | |
1425 | 960 plugindir="$libdir/audacious" |
0 | 961 AC_SUBST(plugindir) |
962 | |
963 if test "x$enable_one_plugin_dir" = "xyes"; then | |
964 pluginsubs="\\\"Plugins\\\"" | |
965 INPUT_PLUGIN_DIR=Plugins | |
966 OUTPUT_PLUGIN_DIR=Plugins | |
967 EFFECT_PLUGIN_DIR=Plugins | |
968 GENERAL_PLUGIN_DIR=Plugins | |
969 VISUALIZATION_PLUGIN_DIR=Plugins | |
1561 | 970 CONTAINER_PLUGIN_DIR=Plugins |
0 | 971 else |
1561 | 972 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\",\\\"Container\\\"" |
0 | 973 INPUT_PLUGIN_DIR=Input |
974 OUTPUT_PLUGIN_DIR=Output | |
975 EFFECT_PLUGIN_DIR=Effect | |
976 GENERAL_PLUGIN_DIR=General | |
977 VISUALIZATION_PLUGIN_DIR=Visualization | |
1561 | 978 CONTAINER_PLUGIN_DIR=Container |
0 | 979 fi |
980 | |
981 AC_SUBST(INPUT_PLUGIN_DIR) | |
982 AC_SUBST(OUTPUT_PLUGIN_DIR) | |
983 AC_SUBST(EFFECT_PLUGIN_DIR) | |
984 AC_SUBST(GENERAL_PLUGIN_DIR) | |
985 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | |
1561 | 986 AC_SUBST(CONTAINER_PLUGIN_DIR) |
0 | 987 AC_SUBST(pluginsubs) |
988 | |
1421 | 989 dnl XXX Work around some autoconf bugs. |
1422 | 990 if test "$prefix" = "NONE"; then |
1421 | 991 prefix="${ac_default_prefix}" |
992 fi | |
993 | |
1425 | 994 if test -z "$datadir"; then |
995 datadir="${prefix}/share" | |
1418
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
996 fi |
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
997 |
1425 | 998 localedir="$datadir/locale" |
0 | 999 AC_SUBST(localedir) |
1000 | |
1001 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\"" | |
1002 CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
1003 | |
1004 if test "$enable_user_plugin_dir" = "no"; then | |
1005 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory]) | |
1006 fi | |
1007 | |
1008 AC_SUBST(BEEP_DEFINES) | |
1009 | |
1010 AC_SUBST(beepdir) | |
1011 AC_SUBST(plugindir) | |
1012 | |
634 | 1013 AC_SUBST(EFFECT_PLUGINS) |
1014 AC_SUBST(GENERAL_PLUGINS) | |
1015 AC_SUBST(INPUT_PLUGINS) | |
1016 AC_SUBST(OUTPUT_PLUGINS) | |
1017 AC_SUBST(VISUALIZATION_PLUGINS) | |
1562 | 1018 AC_SUBST(CONTAINER_PLUGINS) |
38 | 1019 |
0 | 1020 AC_CONFIG_FILES([ |
1021 audacious.1 | |
1022 audacious.spec | |
1023 audacious.pc | |
1024 audacious/audacious.desktop | |
1025 audacious/images/Makefile | |
1026 libaudacious/Makefile | |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
1027 libguess/Makefile |
1613
9becbe564217
[svn] - chardet patch for Russian language witten by Valentine Sinitsyn.
yaz
parents:
1603
diff
changeset
|
1028 librcd/Makefile |
62 | 1029 Plugins/Makefile |
1030 Plugins/Output/Makefile | |
1031 Plugins/Output/OSS/Makefile | |
1032 Plugins/Output/esd/Makefile | |
1033 Plugins/Output/alsa/Makefile | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
1034 Plugins/Output/jack/Makefile |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
1035 Plugins/Output/arts/Makefile |
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
1036 Plugins/Output/arts/arts_helper/Makefile |
62 | 1037 Plugins/Output/disk_writer/Makefile |
759 | 1038 Plugins/Output/sun/Makefile |
62 | 1039 Plugins/Input/Makefile |
1040 Plugins/Input/mpg123/Makefile | |
1041 Plugins/Input/aac/Makefile | |
1025
2b42e48a688e
[svn] - fix a potential crash in our read callback (for VFS)
nenolod
parents:
1023
diff
changeset
|
1042 Plugins/Input/aac/mp4ff/Makefile |
62 | 1043 Plugins/Input/aac/libfaad2/Makefile |
1044 Plugins/Input/aac/src/Makefile | |
278
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1045 Plugins/Input/modplug/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1046 Plugins/Input/modplug/archive/Makefile |
37316876ef6e
[svn] Use modplug instead of mikmod. Supports more formats & compressed files.
chainsaw
parents:
277
diff
changeset
|
1047 Plugins/Input/modplug/gui/Makefile |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
1048 Plugins/Input/musepack/Makefile |
62 | 1049 Plugins/Input/tonegen/Makefile |
1050 Plugins/Input/vorbis/Makefile | |
1051 Plugins/Input/cdaudio/Makefile | |
1052 Plugins/Input/wav/Makefile | |
1053 Plugins/Input/flac/Makefile | |
1054 Plugins/Input/flac/plugin_common/Makefile | |
269
1b82a9932b60
[svn] Import sid plugin. Ported from XMMS by giacomo.
chainsaw
parents:
263
diff
changeset
|
1055 Plugins/Input/sid/Makefile |
111
9d6a24d21322
[svn] Update configure to generate the makefile for the SPC decoder...
nenolod
parents:
89
diff
changeset
|
1056 Plugins/Input/console/Makefile |
139 | 1057 Plugins/Input/wma/Makefile |
1058 Plugins/Input/wma/libffwma/Makefile | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1059 Plugins/Input/timidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1060 Plugins/Input/timidity/libtimidity/Makefile |
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1061 Plugins/Input/timidity/src/Makefile |
332
07576d3ed844
[svn] Sexypsf input plugin; patch by dai in bug #395.
chainsaw
parents:
325
diff
changeset
|
1062 Plugins/Input/sexypsf/Makefile |
359 | 1063 Plugins/Input/adplug/Makefile |
1064 Plugins/Input/adplug/core/Makefile | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1065 Plugins/Input/amidi-plug/Makefile |
1387 | 1066 Plugins/Input/amidi-plug/pcfg/Makefile |
1067 Plugins/Input/amidi-plug/backend-alsa/Makefile | |
1068 Plugins/Input/amidi-plug/backend-fluidsynth/Makefile | |
1069 Plugins/Input/amidi-plug/backend-dummy/Makefile | |
1457
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1070 Plugins/Visualization/Makefile |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1071 Plugins/Visualization/blur_scope/Makefile |
bbd5869239e5
[svn] RockLight visualization plugin ported from XMMS.
chainsaw
parents:
1425
diff
changeset
|
1072 Plugins/Visualization/rocklight/Makefile |
116 | 1073 Plugins/General/Makefile |
1074 Plugins/General/song_change/Makefile | |
157 | 1075 Plugins/General/lirc/Makefile |
688 | 1076 Plugins/General/scrobbler/Makefile |
277 | 1077 Plugins/Effect/Makefile |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
1078 Plugins/Effect/audiocompress/Makefile |
277 | 1079 Plugins/Effect/ladspa/Makefile |
920
999d1af32ab4
[svn] Extra_stereo effect plugin ported by deitarion. Some last pointer-related touchups by nemo & me.
chainsaw
parents:
885
diff
changeset
|
1080 Plugins/Effect/stereo_plugin/Makefile |
812
f9a1ddb72432
[svn] - add voice_removal plugin. Ported by: Thomas Cort <linuxgeek -at- gmail.com>, tcort @ #audacious.
nenolod
parents:
810
diff
changeset
|
1081 Plugins/Effect/voice_removal/Makefile |
1562 | 1082 Plugins/Container/Makefile |
0 | 1083 po/Makefile.in |
1084 intl/Makefile | |
1085 icons/Makefile | |
1086 skin/Makefile | |
562
5cdadcf74ec3
[svn] needed requirements for objective-based buildsystem (automake replacement)
nenolod
parents:
539
diff
changeset
|
1087 mk/rules.mk |
0 | 1088 ]) |
1089 | |
1090 AC_OUTPUT | |
1091 | |
1092 | |
1093 echo | |
1094 echo "Configuration:" | |
1095 echo | |
1096 echo " Install path: ${prefix}" | |
1097 | |
1098 if test "$BEEP_PATH" != "no"; then | |
38 | 1099 echo " Current Audacious executable: $BEEP_PATH" |
0 | 1100 fi |
1101 | |
1102 echo " Configuration path: \$HOME/$rc_path" | |
1103 echo | |
1104 echo " Use one plugin dir: $enable_one_plugin_dir" | |
1105 echo " Allow user plugin dir: $enable_user_plugin_dir" | |
1106 echo | |
1107 echo " XMMS Legacy" | |
1108 echo " -----------" | |
1109 echo " Equalization (works only with mpg123) $use_xmms_eq" | |
1110 echo | |
1111 echo " GNOME support" | |
1112 echo " -------------" | |
1113 echo " GConf support $enable_gconf" | |
1114 echo " VFS support $enable_gnomevfs" | |
1115 echo | |
1116 echo " Output Plugins" | |
1117 echo " --------------" | |
1118 echo " Open Sound System (oss): $have_oss" | |
1119 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" | |
1120 echo " Enlightenment Sound Daemon (esd): $have_esd" | |
325
ea321d1dae48
[svn] JACKd output plugin via external contractor james@develia.org.
nenolod
parents:
319
diff
changeset
|
1121 echo " Jack Audio Connection Kit (jack): $have_jack" |
810
e9509e909193
[svn] ported xmms-arts 0.7.1 to audacious and integrated it in the build process
giacomo
parents:
794
diff
changeset
|
1122 echo " Analog Realtime Synthesizer (arts): $have_arts" |
758
f9e8807ea6e5
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
nenolod
parents:
756
diff
changeset
|
1123 echo " BSD/SUN audio output (sun): $have_sun" |
0 | 1124 echo |
1125 echo " Input Plugins" | |
1126 echo " -------------" | |
1127 echo " MPEG 1/2/3 (mpg123): $enable_mp3" | |
2 | 1128 echo " MPEG 4 Audio (AAC): $enable_aac" |
260
4b1c9d1a469b
[svn] Made WMA support configurable, defaults to on.
chainsaw
parents:
242
diff
changeset
|
1129 echo " Windows Media Audio (wma): $enable_wma" |
293
9b191695629c
[svn] Add musepack input plugin & hook into build system.
chainsaw
parents:
285
diff
changeset
|
1130 echo " .mpc playback (musepack): $enable_musepack" |
1366
f66048e606f0
[svn] Show whether modplug will actually be built (wrong var was being displayed).
chainsaw
parents:
1353
diff
changeset
|
1131 echo " Module decoder (modplug): $have_modplug" |
1387 | 1132 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug" |
1133 echo " -> ALSA backend: $enable_amidiplug_alsa" | |
1134 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth" | |
1135 echo " -> dummy backend: $enable_amidiplug_dummy" | |
285
d1762728ea4b
[svn] Timidity support, via external contractor dai+audacious@cdr.jp.
nenolod
parents:
283
diff
changeset
|
1136 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
0 | 1137 echo " CD Digital Audio (cdda): yes" |
1138 echo " Microsoft WAV (wav): yes" | |
184
740c072f8e23
[svn] List sndfile extensions in the plugin configuration table.
chainsaw
parents:
165
diff
changeset
|
1139 echo " + sndfile extensions: $enable_sndfile" |
11 | 1140 echo " Tone Generator: yes" |
0 | 1141 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1142 echo " Free Lossless Audio Codec (flac): $have_flac" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1143 echo " Commodore 64 audio (sid): $have_sidplay" |
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1144 echo " Game music (spc, nsf & gbs): yes" |
343
7b71e0dbb62d
[svn] Replace a tab with spaces to make Mikachu happy.
chainsaw
parents:
332
diff
changeset
|
1145 echo " PlayStation audio (sexypsf): yes" |
359 | 1146 echo " AdLib synthesizer (adplug): $have_adplug" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1147 echo |
116 | 1148 echo " General" |
1149 echo " -------" | |
1150 echo " Song Change: yes" | |
157 | 1151 echo " LIRC: $have_lirc" |
688 | 1152 echo " AudioScrobbler Client: $scrobbler" |
1493
c5bb3813fbd8
[svn] - autodetect libnotify, and if found, build the notify plugin
nenolod
parents:
1457
diff
changeset
|
1153 echo " libnotify Plugin: $have_libnotify" |
270
c7efd92ee0e8
[svn] Update plugin descriptions in feature overview.
chainsaw
parents:
269
diff
changeset
|
1154 echo |
277 | 1155 echo " Effect" |
1156 echo " ------" | |
937
6158ee7d8b06
[svn] Port AudioCompress (AGC) effect plugin from XMMS, as requested by Junics on SorceryNet.
chainsaw
parents:
920
diff
changeset
|
1157 echo " AudioCompressor (AGC): yes" |
277 | 1158 echo " LADSPA effects host (ladspa): yes" |
812
f9a1ddb72432
[svn] - add voice_removal plugin. Ported by: Thomas Cort <linuxgeek -at- gmail.com>, tcort @ #audacious.
nenolod
parents:
810
diff
changeset
|
1159 echo " Voice Removal: yes" |
277 | 1160 echo |
0 | 1161 echo " Visualization" |
1162 echo " -------------" | |
1163 echo " Blur Scope: yes" | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
1164 echo " Paranormal Visualization Library: $have_paranormal" |
0 | 1165 echo |
1562 | 1166 echo " Container" |
1167 echo " -------------" | |
1168 echo " Winamp PLS playlist format (pls): yes" | |
1169 echo " M3U playlist format (m3u): yes" | |
1568 | 1170 echo " XML Sharable Playlist Format (xspf): $have_xspf" |
1562 | 1171 echo |
0 | 1172 |
1173 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | |
32 | 1174 echo "Note: You need to have thread-safe xlibs to use Audacious." |
0 | 1175 echo "If you are using libc5 thread aware Xlibs just skip this." |
1176 echo "" | |
1177 echo "If you don't have those libs and you are on a libc5 system get them at:" | |
1178 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" | |
1179 fi | |
1180 | |
1181 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then | |
1182 echo "" | |
1183 echo "Note: Configure has discovered that you already have Audacious installed" | |
1184 echo "and it does not match with the given --prefix. You have Audacious installed " | |
1185 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin." | |
1186 echo | |
1187 echo "If you don't want two copies of Audacious installed, rerun configure with" | |
1188 echo "the --prefix option set to the location of the old Audacious, or uninstall" | |
1189 echo "the old Audacious." | |
1190 fi | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1191 |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1192 if test "x$ap_disable_timidity" = "xyes" && test "x$enable_timidity" = "xno"; then |
1387 | 1193 echo "Note: an ALSA-supported hardware midi synth or a FluidSynth software synth" |
1194 echo "was detected in configuration; in order to use it, the amidi-plug input" | |
1195 echo "plugin will be compiled in place of timidity. If you wish to compile timidity" | |
523
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1196 echo "anyway, simply use --enable-timidity in configuration." |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1197 echo "" |
42380ff32bad
[svn] updated configure.ac and macros; added amidi-plug and conditions for timidity compilation
giacomo
parents:
487
diff
changeset
|
1198 fi |