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