Mercurial > audlegacy-plugins
annotate configure.ac @ 1100:e363a0fa8ea0 trunk
[svn] - null: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:35:49 -0700 |
parents | 325c52b01e56 |
children | 402ee2120cb1 |
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 AC_ARG_WITH(cdda-device, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
114 [ --with-cdda-device=path Path to default cdaudio device.], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
115 [AC_DEFINE_UNQUOTED(CDDA_DEVICE, "$withval", |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
116 [Path to default cdaudio device.] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
117 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
118 ] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
119 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
120 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
121 AC_ARG_WITH(cdda-dir, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
122 [ --with-cdda-dir=path Path to default cdaudio directory.], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
123 [AC_DEFINE_UNQUOTED(CDDA_DIRECTORY, "$withval", |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
124 [Path to default cdaudio directory.] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
125 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
126 ] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
127 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
128 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
129 dnl These plugins are always built. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
130 |
749
26ff35aa9b2b
[svn] - vtx input plugin based on a submission from Pavel Vymetalek.
nenolod
parents:
748
diff
changeset
|
131 INPUT_PLUGINS="tonegen console sexypsf wav cue alac metronom vtx" |
1007 | 132 OUTPUT_PLUGINS="null" |
882 | 133 EFFECT_PLUGINS="audiocompress ladspa voice_removal sndstretch stereo_plugin echo_plugin" |
121 | 134 GENERAL_PLUGINS="song_change alarm" |
146
03cfb311eafd
[svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents:
144
diff
changeset
|
135 VISUALIZATION_PLUGINS="blur_scope spectrum" |
306 | 136 CONTAINER_PLUGINS="m3u pls stdio" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
137 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
138 dnl Check for Audacious |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
139 |
1062
1d65dcdb714c
[svn] - bump version of plugins and version requirements per plugin api v2
nenolod
parents:
1058
diff
changeset
|
140 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
|
141 [ADD_PC_REQUIRES([audacious >= 1.3.99])], |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
142 [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
|
143 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
144 |
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
|
145 dnl Check for GTK/GLib/GThread/Pango/DBus |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
146 |
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
|
147 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
|
148 [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
|
149 [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
|
150 ) |
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
560
diff
changeset
|
151 |
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
560
diff
changeset
|
152 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
|
153 [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
|
154 [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
|
155 ) |
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
560
diff
changeset
|
156 |
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
560
diff
changeset
|
157 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
|
158 [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
|
159 [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
|
160 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
161 |
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
|
162 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60], |
2346d918470d
[svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents:
1001
diff
changeset
|
163 [ADD_PC_REQUIRES([dbus-1 >= 0.60 dbus-glib-1 >= 0.60]) |
2346d918470d
[svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents:
1001
diff
changeset
|
164 AC_DEFINE(USE_DBUS, 1, [Define if D-Bus support enabled])], |
2346d918470d
[svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents:
1001
diff
changeset
|
165 [AC_MSG_ERROR([Cannot find dbus-glib >= 0.60])] |
2346d918470d
[svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents:
1001
diff
changeset
|
166 ]) |
2346d918470d
[svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents:
1001
diff
changeset
|
167 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
168 dnl IPv6 support |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
169 dnl ======================== |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
170 AC_ARG_ENABLE(ipv6, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
171 [ --enable-ipv6 enable IPv6 support (default=no)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
172 enable_ipv6=$enableval, enable_ipv6=no) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
173 if test "x$enable_ipv6" = xyes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
174 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
|
175 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
176 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
177 AC_SUBST(USE_IPV6) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
178 |
44 | 179 dnl chardet support |
180 dnl ======================== | |
181 AC_ARG_ENABLE(chardet, | |
182 [ --enable-chardet enable character set detection support (default=no)], | |
183 enable_chardet=$enableval, enable_chardet=no) | |
184 if test "x$enable_chardet" = xyes; then | |
185 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) | |
186 fi | |
187 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) | |
188 AC_SUBST(USE_CHARDET) | |
189 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
190 dnl plugin stuff |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
191 dnl ======================== |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
192 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
193 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
|
194 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
|
195 case "$target" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
196 *-apple-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
197 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
198 PICFLAGS="-fPIC -DPIC" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
199 PICLDFLAGS="-fPIC -DPIC -bundle -fno-common -flat_namespace -undefined suppress" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
200 LIBLDFLAGS="-dynamiclib" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
201 AUDLDFLAGS="" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
202 SHARED_SUFFIX=".dylib" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
203 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
204 *) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
205 AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
206 PICFLAGS="-fPIC -DPIC" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
207 PICLDFLAGS="-fPIC -DPIC -shared" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
208 LIBLDFLAGS="-fPIC -DPIC -shared" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
209 AUDLDFLAGS="-Wl,-export-dynamic -Wl,-rpath=\${libdir}" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
210 SHARED_SUFFIX=".so" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
211 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
212 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
213 AC_SUBST(PICFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
214 AC_SUBST(PICLDFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
215 AC_SUBST(LIBLDFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
216 AC_SUBST(AUDLDFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
217 AC_SUBST(SHARED_SUFFIX) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
218 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
219 [Define the shared module suffix extension on your platform.]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
220 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
221 AC_MSG_CHECKING([if you are running Apple-GCC]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
222 case "$target" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
223 *-apple-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
224 AC_MSG_RESULT([yes, sorry you poor bastard]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
225 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
|
226 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
227 *) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
228 AC_MSG_RESULT([no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
229 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
230 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
231 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
232 dnl Check for esound |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
233 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
234 AC_ARG_ENABLE( esd, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
235 [ --disable-esd disable esound output plugin [default=enabled]], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
236 [enable_esd=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
237 [enable_esd="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
238 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
239 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
240 if test "$enable_esd" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
241 PKG_CHECK_MODULES(ESD, [esound >= 0.2], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
242 [have_esd=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
243 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
244 [have_esd=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
245 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
246 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
247 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
248 have_esd=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
249 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
250 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
251 dnl Check for PulseAudio |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
252 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
253 AC_ARG_ENABLE( pulse, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
254 [ --disable-pulse disable PulseAudio output plugin [default=enabled]], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
255 [enable_pulse=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
256 [enable_pulse="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
257 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
258 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
259 if test "$enable_pulse" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
260 PKG_CHECK_MODULES(PULSE, [libpulse >= 0.9.3], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
261 [have_pulse=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
262 OUTPUT_PLUGINS="$OUTPUT_PLUGINS pulse_audio"], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
263 [have_pulse=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
264 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
265 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
266 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
|
267 have_pulse=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
268 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
269 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
270 dnl *** CoreAudio |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
271 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
272 AC_ARG_ENABLE(coreaudio, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
273 [ --disable-coreaudio disable CoreAudio output plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
274 [enable_coreaudio=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
275 [enable_coreaudio="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
276 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
277 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
278 if test "$enable_coreaudio" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
279 AC_CHECK_HEADERS([CoreServices/CoreServices.h], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
280 [have_coreaudio=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
281 OUTPUT_PLUGINS="$OUTPUT_PLUGINS CoreAudio"], |
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 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
284 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
|
285 have_coreaudio=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
286 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
287 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
288 dnl *** AltiVec |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
289 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
290 AC_CHECK_HEADERS(altivec.h, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
291 [AC_DEFINE(HAVE_ALTIVEC, 1, [Define to 1 if your system has AltiVec.]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
292 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Define to 1 if your system has an altivec.h file.]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
293 AC_DEFINE(ARCH_POWERPC, 1, [Define to 1 if your system is a PowerPC.]) |
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
|
294 DCT64=dct64_altivec.c |
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
|
295 SIMD_CFLAGS=-maltivec |
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
|
296 AC_SUBST(SIMD_CFLAGS)], |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
297 [DCT64=dct64.c] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
298 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
299 AC_SUBST(DCT64) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
300 |
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
|
301 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
|
302 |
923 | 303 AC_MSG_CHECKING(SSE2) |
304 ac_save_CFLAGS="$CFLAGS" | |
305 CFLAGS="-msse2" | |
306 AC_TRY_RUN([ | |
307 #include <emmintrin.h> | |
308 int main() | |
309 { | |
310 _mm_setzero_pd(); | |
311 return 0; | |
312 } | |
313 ], | |
314 [AC_MSG_RESULT(SSE2 yes) | |
315 AC_DEFINE(HAVE_SSE2, 1, [Define to 1 if your system has SSE2]) | |
316 SIMD_CFLAGS=-msse2], | |
317 [AC_MSG_RESULT(SSE2 no)], | |
318 ) | |
319 AC_SUBST(SIMD_CFLAGS) | |
320 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
|
321 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
322 dnl *** MP3 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
323 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
324 AC_ARG_ENABLE(mp3, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
325 [ --disable-mp3 disable mp3 plugin. (default=enabled) ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
326 [enable_mp3=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
327 [enable_mp3=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
328 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
329 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
330 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
|
331 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
|
332 [INPUT_PLUGINS="$INPUT_PLUGINS madplug"], |
559c68ce2e3d
[svn] - using mad.pc makes us dependant on a nonstandard packaging of mad --
nenolod
parents:
736
diff
changeset
|
333 [enable_mp3="no"]) |
634 | 334 fi |
622
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
335 # XXX rtsp support |
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
336 # 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
|
337 # [LIBNMS_SRC=rtsp.c |
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
338 # 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
|
339 # ],[LIBNMS_SRC=""]) |
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
340 # AC_SUBST(LIBNMS_CFLAGS) |
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
341 # AC_SUBST(LIBNMS_LIBS) |
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
342 # AC_SUBST(LIBNMS_SRC) |
634 | 343 # fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
344 |
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
|
345 dnl *** Rocklight |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
346 |
411 | 347 AC_ARG_ENABLE(rocklight, |
348 AS_HELP_STRING([--disable-rocklight], [disable Rocklight vis plugin (default=enabled)]), | |
349 [enable_rocklight="$enableval"], | |
350 [enable_rocklight="yes"] | |
351 ) | |
352 | |
353 if test "$enable_rocklight" = "yes"; then | |
354 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight" | |
355 fi | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
356 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
357 dnl *** LIRC client libraries |
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 AC_ARG_ENABLE(lirc, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
360 [ --disable-lirc disable LIRC plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
361 [enable_lirc=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
362 [enable_lirc="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
363 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
364 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
365 if test "$enable_lirc" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
366 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
|
367 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
368 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
369 have_lirc="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
370 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
371 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
372 if test "$have_lirc" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
373 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
374 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
375 |
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
|
376 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
|
377 |
5e46b57d1eda
[svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents:
419
diff
changeset
|
378 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
|
379 [ --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
|
380 [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
|
381 [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
|
382 ) |
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
|
383 |
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
|
384 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
|
385 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
|
386 *-*-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
|
387 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
|
388 ;; |
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
|
389 *) |
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
|
390 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
|
391 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
|
392 ;; |
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
|
393 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
|
394 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
|
395 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
|
396 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
|
397 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
|
398 |
5e46b57d1eda
[svn] - added evdev-plug, written-from-scratch plugin that allows to control the player via event devices on linux systems
giacomo
parents:
419
diff
changeset
|
399 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
|
400 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
|
401 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
|
402 |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
403 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
|
404 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
405 AC_ARG_ENABLE(statusicon, |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
406 [ --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
|
407 [enable_statusicon=$enableval], |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
408 [enable_statusicon="yes"] |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
409 ) |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
410 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
411 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
|
412 have_statusicon="yes" |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
413 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
|
414 else |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
415 AC_MSG_RESULT([*** X11 Status Icon plugin disabled per user request ***]) |
856 | 416 have_statusicon="no" |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
417 fi |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
418 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
419 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
|
420 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
|
421 fi |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
422 |
579 | 423 dnl *** Audacious OSD plugin (pangocairo-based) |
424 | |
425 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
|
426 [ --disable-aosd disable Audacious OSD plugin (default=enabled)], |
579 | 427 [enable_aosd=$enableval], |
933 | 428 [enable_aosd="guess"] |
579 | 429 ) |
430 | |
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
|
431 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
|
432 [ --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
|
433 [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
|
434 [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
|
435 ) |
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
|
436 |
933 | 437 if test "x$enable_aosd" = "xguess"; then |
579 | 438 have_aosd="yes" |
439 PKG_CHECK_MODULES(PANGO,[pango >= 1.14.7],, | |
440 [have_aosd="no" | |
441 AC_MSG_RESULT([*** pango >= 1.14.7 is required for Audacious OSD plugin ***])] | |
442 ) | |
443 PKG_CHECK_MODULES(CAIRO,[cairo >= 1.2.6],, | |
444 [have_aosd="no" | |
445 AC_MSG_RESULT([*** cairo >= 1.2.6 is required for Audacious OSD plugin ***])] | |
446 ) | |
447 PKG_CHECK_MODULES(PANGOCAIRO,[pangocairo >= 1.14.7],, | |
448 [have_aosd="no" | |
449 AC_MSG_RESULT([*** pangocairo >= 1.14.7 is required for Audacious OSD plugin ***])] | |
450 ) | |
908
8b4b381b4399
[svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents:
900
diff
changeset
|
451 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
|
452 [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
|
453 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
|
454 ) |
8b4b381b4399
[svn] aosd: added compile option in configure for composite support; this way, if support is compiled in, we can safely check if the composite module is loaded
giacomo
parents:
900
diff
changeset
|
455 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
|
456 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
|
457 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
|
458 [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
|
459 [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
|
460 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
|
461 ) |
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
|
462 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
|
463 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
|
464 have_aosd_xcomp="no" |
933 | 465 fi |
579 | 466 else |
933 | 467 if test "x$enable_aosd" = "xyes"; then |
468 AC_MSG_RESULT([*** Audacious OSD plugin has been forcefully enabled ***]) | |
469 have_aosd="yes" | |
470 if test "x$enable_aosd_xcomp" = "xyes"; then | |
471 have_aosd_xcomp="yes" | |
472 PKG_CHECK_MODULES(XCOMPOSITE, xcomposite, | |
473 [AC_DEFINE([HAVE_XCOMPOSITE],[],[X Composite extension available])], | |
474 [have_aosd_xcomp="no" | |
475 AC_MSG_RESULT([*** X Composite extension not found, composite support for Audacious OSD will not be compiled ***])] | |
476 ) | |
477 else | |
478 AC_MSG_RESULT([*** X Composite support for Audacious OSD plugin disabled per user request ***]) | |
479 have_aosd_xcomp="no" | |
480 fi | |
481 else | |
482 AC_MSG_RESULT([*** Audacious OSD plugin disabled per user request ***]) | |
483 have_aosd="no" | |
484 fi | |
579 | 485 fi |
486 | |
487 if test "x$have_aosd" = "xyes"; then | |
488 GENERAL_PLUGINS="$GENERAL_PLUGINS aosd" | |
489 fi | |
490 | |
900
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
491 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
|
492 |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
493 AC_ARG_ENABLE(rootvis, |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
494 [ --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
|
495 [enable_rootvis=$enableval], |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
496 [enable_rootvis="yes"] |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
497 ) |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
498 |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
499 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
|
500 have_rootvis="yes" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
501 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
|
502 [have_rootvis="no" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
503 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
|
504 ) |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
505 else |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
506 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
|
507 have_rootvis="no" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
508 fi |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
509 |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
510 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
|
511 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rootvis" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
512 fi |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
513 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
514 dnl *** AdPlug requirement (libbinio) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
515 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
516 AC_ARG_ENABLE(adplug, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
517 [ --disable-adplug disable AdPlug plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
518 [enable_adplug=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
519 [enable_adplug="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
520 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
521 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
522 if test "$enable_adplug" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
523 have_adplug="yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
524 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
|
525 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
526 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
527 have_adplug="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
528 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
529 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
530 if test "$have_adplug" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
531 INPUT_PLUGINS="$INPUT_PLUGINS adplug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
532 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
533 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
534 dnl *** Ogg Vorbis |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
535 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
536 AC_ARG_ENABLE(vorbis, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
537 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
538 [enable_vorbis=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
539 [enable_vorbis="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
540 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
541 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
542 if test "$enable_vorbis" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
543 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
|
544 [have_oggvorbis=yes], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
545 [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
|
546 have_oggvorbis=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
547 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
548 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
549 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
|
550 have_oggvorbis=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
551 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
552 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
553 if test "$have_oggvorbis" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
554 INPUT_PLUGINS="$INPUT_PLUGINS vorbis" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
555 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
556 |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
557 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
|
558 |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
559 AC_ARG_ENABLE(flacng, |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
560 [ --disable-flacng disable flac input plugin (default=enabled)], |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
561 [enable_flacng=$enableval], |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
562 [enable_flacng="yes"] |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
563 ) |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
564 |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
565 if test "$enable_flacng" = "yes"; then |
1038 | 566 PKG_CHECK_MODULES(FLAC, [flac >= 1.1.3], |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
567 [have_flacng=yes], |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
568 [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
|
569 have_flacng=no] |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
570 ) |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
571 else |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
572 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
|
573 have_flacng=no |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
574 fi |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
575 |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
576 if test "$have_flacng" = "yes"; then |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
577 INPUT_PLUGINS="$INPUT_PLUGINS flacng" |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
578 fi |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
579 |
110 | 580 dnl *** WavPack 4.31 support |
581 | |
582 AC_ARG_ENABLE(wavpack, | |
583 [ --disable-wavpack disable WavPack input plugin (default=enabled)], | |
584 [enable_wavpack=$enableval], | |
585 [enable_wavpack="yes"] | |
586 ) | |
587 | |
588 if test "$enable_wavpack" = "yes"; then | |
589 PKG_CHECK_MODULES(WAVPACK, [wavpack >= 4.31], | |
590 [have_wavpack=yes], | |
591 [AC_MSG_WARN([*** Cannot find WavPack 4.31+, WavPack support will not be built ***]) | |
592 have_wavpack=no] | |
593 ) | |
594 else | |
595 AC_MSG_RESULT([*** WavPack plugin disabled per user request ***]) | |
596 have_wavpack=no | |
597 fi | |
598 | |
599 if test "$have_wavpack" = "yes"; then | |
600 INPUT_PLUGINS="$INPUT_PLUGINS wavpack" | |
601 fi | |
602 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
603 dnl *** AAC |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
604 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
605 AC_ARG_ENABLE(aac, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
606 [ --disable-aac disable aac plugin (default=enabled) ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
607 [enable_aac=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
608 [enable_aac=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
609 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
610 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
611 if test "$enable_aac" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
612 INPUT_PLUGINS="$INPUT_PLUGINS aac" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
613 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
614 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
615 dnl *** sndfile |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
616 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
617 AC_ARG_ENABLE(sndfile, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
618 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
619 [enable_sndfile=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
620 [enable_sndfile=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
621 ) |
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 "$enable_sndfile" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
624 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
625 [enable_sndfile=yes], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
626 [enable_sndfile=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
627 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
628 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
629 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
630 enable_sndfile=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
631 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
632 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
633 if test "$enable_sndfile" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
634 WAV_SNDFILE="-sndfile" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
635 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
636 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
637 AC_SUBST(WAV_SNDFILE) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
638 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
639 dnl *** modplug |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
640 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
641 AC_ARG_ENABLE(modplug, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
642 [ --disable-modplug disable ModPlug plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
643 [enable_modplug=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
644 [enable_modplug="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
645 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
646 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
647 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
|
648 INPUT_PLUGINS="$INPUT_PLUGINS modplug" |
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
135
diff
changeset
|
649 have_modplug="yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
650 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
651 AC_MSG_RESULT([*** ModPlug plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
652 have_modplug="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
653 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
654 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
655 dnl *** flac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
656 AC_ARG_ENABLE( flac, |
1039 | 657 [ --enable-flac enable flac input plugin (default=disabled)], |
658 [enable_flac=$enableval], | |
659 [enable_flac="no"]) | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
660 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
661 if test "x$enable_flac" = xyes; then |
728 | 662 if test "x$have_oggvorbis" = xyes; then |
663 INPUT_PLUGINS="$INPUT_PLUGINS flac" | |
664 have_flac=yes | |
665 else | |
666 AC_MSG_RESULT([*** flac plugin couldn't be enabled due to missing dependencies ***]) | |
667 have_flac=no | |
668 fi | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
669 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
670 AC_MSG_RESULT([*** flac plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
671 have_flac=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
672 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
673 |
232 | 674 dnl *** Musepack |
675 | |
676 AC_ARG_ENABLE(musepack, | |
677 [ --disable-musepack disable musepack input plugin (default=enabled)], | |
678 [enable_musepack=$enableval], | |
679 [enable_musepack="yes"] | |
680 ) | |
681 | |
682 if test "$enable_musepack" = "yes"; then | |
662 | 683 PKG_CHECK_MODULES(TAGLIB, [taglib >= 1.4], [ |
684 AC_CHECK_HEADERS(mpcdec/config_types.h,, [ | |
685 enable_musepack=no | |
686 ]) | |
687 ], [enable_musepack=no]) | |
232 | 688 else |
689 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) | |
690 enable_musepack=no | |
691 fi | |
692 | |
693 if test "$enable_musepack" = "yes"; then | |
694 INPUT_PLUGINS="$INPUT_PLUGINS musepack" | |
695 fi | |
696 | |
878 | 697 dnl *** WMA |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
698 |
878 | 699 AC_ARG_ENABLE(wma, |
700 [ --disable-wma disable wma plugin. (default=enabled)], | |
701 [enable_wma=$enableval], | |
702 [enable_wma=yes] | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
703 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
704 |
878 | 705 if test "$enable_wma" = "yes"; then |
706 INPUT_PLUGINS="$INPUT_PLUGINS wma" | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
707 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
708 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
709 dnl *** jack output plugin |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
710 AC_ARG_ENABLE( jack, |
50 | 711 [ --disable-jack disable jack output plugin (default=enabled)], [enable_jack=$enableval], |
712 [enable_jack="yes"]) | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
713 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
714 if test "x$enable_jack" = xyes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
715 AM_PATH_JACK(have_jack=yes, have_jack=no) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
716 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
717 AC_MSG_RESULT([*** jack plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
718 have_jack=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
719 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
720 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
721 if test "$have_jack" = yes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
722 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
723 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
724 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
725 dnl *** arts output plugin |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
726 AC_ARG_ENABLE( arts, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
727 [ --disable-arts disable arts output plugin (default=enabled)],, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
728 enable_arts="yes") |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
729 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
730 if test "x$enable_arts" = xyes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
731 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
|
732 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
733 AC_MSG_RESULT([*** arts plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
734 have_arts=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
735 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
736 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
737 if test "$have_arts" = yes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
738 OUTPUT_PLUGINS="$OUTPUT_PLUGINS arts" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
739 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
740 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
741 dnl *** sid |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
742 AC_ARG_ENABLE( sid, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
743 [ --disable-sid disable sid input plugin (default=enabled)],, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
744 enable_sid="yes") |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
745 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
746 if test "x$enable_sid" = xyes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
747 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
748 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
749 AC_MSG_RESULT([*** sid plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
750 have_sidplay=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
751 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
752 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
753 if test "$have_sidplay" = yes; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
754 INPUT_PLUGINS="$INPUT_PLUGINS sid" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
755 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
756 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
757 dnl *** OSS output |
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 AC_ARG_ENABLE(oss, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
760 [ --disable-oss disable the OSS output plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
761 [enable_oss=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
762 [enable_oss=yes] |
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 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
765 have_oss=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
766 if test "$enable_oss" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
767 AC_MSG_CHECKING(for OSS include dir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
768 OSS_CFLAGS="" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
769 if test -f "/etc/oss.conf" ; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
770 for i in `cat /etc/oss.conf`; do |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
771 t=`echo $i | sed -e 's/OSSLIBDIR=//'` |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
772 if test "$i" != "$t" ; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
773 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
|
774 OSS_CFLAGS="-I$t/include" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
775 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
776 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
777 done |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
778 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
779 if test -n "$OSS_CFLAGS" ; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
780 AC_MSG_RESULT([$OSS_CFLAGS]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
781 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
782 AC_MSG_RESULT([not found]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
783 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
784 CFLAGS_save=$CFLAGS |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
785 CFLAGS="$CFLAGS $OSS_CFLAGS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
786 AC_CHECK_HEADERS(soundcard.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
787 AC_CHECK_HEADERS(sys/soundcard.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
788 AC_CHECK_HEADERS(machine/soundcard.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
789 CFLAGS=$CFLAGS_save |
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 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
|
792 have_oss=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
793 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
794 |
6
7cac35581bd0
[svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents:
5
diff
changeset
|
795 if test "${have_oss}" = "yes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
796 AC_MSG_CHECKING(whether we need -lossaudio) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
797 AC_TRY_LINK([ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
798 #include <sys/ioctl.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
799 #ifdef HAVE_SYS_SOUNDCARD_H |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
800 #include <sys/soundcard.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
801 #else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
802 #include <soundcard.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
803 #endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
804 ], [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
805 int fd, value; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
806 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
807 ], AC_MSG_RESULT(no), [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
808 OSS_LIBS="-lossaudio" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
809 AC_MSG_RESULT(yes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
810 ]) |
6
7cac35581bd0
[svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents:
5
diff
changeset
|
811 fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
812 fi |
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 if test "$have_oss" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
815 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
|
816 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
817 have_oss=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
818 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
819 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
820 if test "$have_oss" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
821 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
822 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
823 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
824 AC_SUBST(OSS_LIBS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
825 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
826 dnl *** ALSA output plugin |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
827 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
828 AC_ARG_ENABLE(alsa, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
829 [ --disable-alsa disable ALSA input plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
830 [enable_alsa=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
831 [enable_alsa=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
832 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
833 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
834 if test "$enable_alsa" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
835 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
836 [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
837 have_alsa=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
838 alsalib_available=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
839 ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
840 [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
841 have_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
842 alsalib_available=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
843 ] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
844 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
845 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
846 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
|
847 have_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
848 alsalib_available=check |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
849 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
850 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
851 if test "$have_alsa" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
852 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
853 fi |
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 |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
856 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
|
857 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
858 AC_ARG_ENABLE(amidiplug, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
859 [ --disable-amidiplug disable amidi-plug input plugin (default=check) ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
860 [enable_amidiplug=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
861 [enable_amidiplug=check] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
862 ) |
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 AC_ARG_ENABLE(amidiplug-alsa, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
865 [ --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
|
866 [enable_amidiplug_alsa=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
867 [enable_amidiplug_alsa=auto] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
868 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
869 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
870 AC_ARG_ENABLE(amidiplug-flsyn, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
871 [ --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
|
872 [enable_amidiplug_fluidsynth=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
873 [enable_amidiplug_fluidsynth=auto] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
874 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
875 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
876 AC_ARG_ENABLE(amidiplug-dummy, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
877 [ --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
|
878 [enable_amidiplug_dummy=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
879 [enable_amidiplug_dummy=auto] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
880 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
881 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
882 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
883 if test "x$enable_amidiplug" = "xno"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
884 AC_MSG_RESULT([*** amidi-plug disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
885 enable_amidiplug=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
886 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
887 if test "x$enable_amidiplug_alsa" != "xauto"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
888 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
889 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
890 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
891 elif test "x$enable_amidiplug_dummy" != "xauto"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
892 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
893 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
894 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
895 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
896 if test "x$enable_amidiplug" = "xcheck"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
897 if test "x$alsalib_available" = "xcheck"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
898 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
899 [alsalib_available=yes],[alsalib_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
900 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
901 if test "x$alsalib_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
902 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
|
903 if test "x$ap_have_hwsynth" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
904 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
905 ap_disable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
906 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
907 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
908 [fluidsynth_available=yes],[fluidsynth_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
909 if test "x$fluidsynth_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
910 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
911 ap_disable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
912 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
913 enable_amidiplug=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
914 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
|
915 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
916 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
917 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
918 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
919 [fluidsynth_available=yes],[fluidsynth_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
920 if test "x$fluidsynth_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
921 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
922 ap_disable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
923 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
924 enable_amidiplug=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
925 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
|
926 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
927 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
928 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
929 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
930 if test "x$enable_amidiplug" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
931 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
932 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
|
933 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,) |
954 | 934 AMIDIPLUGBACKENDDIR=${libdir}/audacious/amidi-plug |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
935 AC_SUBST(AMIDIPLUGBACKENDDIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
936 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
|
937 if test "x$alsalib_available" = "xcheck"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
938 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
939 [alsalib_available=yes],[alsalib_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
940 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
941 if test "x$alsalib_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
942 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
943 enable_amidiplug_alsa=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
944 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
945 if test "x$enable_amidiplug_alsa" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
946 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
|
947 enable_amidiplug_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
948 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
949 enable_amidiplug_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
950 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
951 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
952 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
953 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
|
954 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
|
955 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
956 [fluidsynth_available=yes],[fluidsynth_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
957 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
958 if test "x$fluidsynth_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
959 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
960 enable_amidiplug_fluidsynth=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
961 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
962 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
963 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
|
964 enable_amidiplug_fluidsynth=no |
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 enable_amidiplug_fluidsynth=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
967 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
968 fi |
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 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
|
971 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
972 enable_amidiplug_dummy=yes |
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 AC_SUBST(AMIDIPLUG_BACKENDS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
975 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
976 |
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 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
|
979 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
980 AC_ARG_ENABLE(timidity, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
981 [ --disable-timidity disable timidity plugin. (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
982 [enable_timidity=$enableval], |
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 if test "x$ap_disable_timidity" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
985 enable_timidity=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
986 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
987 enable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
988 fi |
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 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
991 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
992 if test "$enable_timidity" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
993 INPUT_PLUGINS="$INPUT_PLUGINS timidity" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
994 fi |
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 dnl FreeBSD newpcm driver detection |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
997 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
998 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
|
999 if test -r "/dev/sndstat"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1000 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
|
1001 if test "x$?" = "x0"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1002 beep_cv_newpcm_driver="yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1003 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1004 beep_cv_newpcm_driver="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1005 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1006 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1007 beep_cv_newpcm_driver="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1008 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1009 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1010 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1011 if test "$beep_cv_newpcm_driver" = "yes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1012 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
|
1013 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1014 |
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 AC_CHECK_HEADERS(linux/cdrom.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1017 AC_CHECK_HEADERS(sys/cdio.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1018 AC_CHECK_HEADERS(sys/cdrio.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1019 AC_CHECK_HEADERS(linux/joystick.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1020 AC_CHECK_HEADERS(unistd.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1021 AC_CHECK_HEADERS(fcntl.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1022 AC_CHECK_HEADERS(sys/ioctl.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1023 AC_CHECK_HEADERS(fnmatch.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1024 AC_CHECK_HEADERS(limits.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1025 AC_CHECK_HEADERS(wchar.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1026 AC_CHECK_HEADERS(fts.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1027 |
736 | 1028 AC_CHECK_DECL([lrintf],[AC_DEFINE(HAVE_LRINTF,1)],[AC_CHECK_FUNCS([lrintf])],[ |
1029 #define _ISOC9X_SOURCE | |
1030 #include <math.h> | |
1031 ], [AC_CHECK_FUNCS([lrintf])]) | |
734
ff62f5530a36
[svn] - freebsd portability fixes from "The_Paya". Closes #814.
nenolod
parents:
729
diff
changeset
|
1032 AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul]) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1033 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1034 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1035 if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1036 then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1037 INPUT_PLUGINS="cdaudio $INPUT_PLUGINS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1038 case "$host" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1039 *-*-sunos* | *-*-solaris* | *-*-linux*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1040 AC_DEFINE(BEEP_CDROM_SOLARIS,, [Define if cdrom access is in Solaris style]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1041 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1042 *-*-freebsd*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1043 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1044 ;; |
314 | 1045 *-*-netbsd* | *-*-openbsd* | *-*-mirbsd*) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1046 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1047 AC_DEFINE(BEEP_CDROM_BSD_NETBSD,, [Define if cdrom access uses NetBSD variant]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1048 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1049 *-*darwin*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1050 AC_DEFINE(BEEP_CDROM_BSD,, [Define if cdrom access is in BSD style]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1051 AC_DEFINE(BEEP_CDROM_BSD_DARWIN,, [Define if cdrom access uses Darwin variant]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1052 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1053 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1054 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1055 |
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
|
1056 dnl CD-Audio New Generation |
1058 | 1057 |
1058 AC_ARG_ENABLE(cdaudio-ng, | |
1059 [ --enable-cdaudio_ng enable cdaudio-ng input plugin (default=disabled) ], | |
1060 [enable_cdaudio_ng=$enableval], | |
1061 [enable_cdaudio_ng=no] | |
1062 ) | |
1063 | |
1064 if test "$enable_cdaudio_ng" = "yes"; then | |
1065 PKG_CHECK_MODULES(CDIO, [libcdio >= 0.78.2], | |
1082
b2f24bd2b7db
[svn] Fixed a typo in the cdaudio-ng portion of configure.ac as discovered by Crazy_Hopper.
deitarion
parents:
1062
diff
changeset
|
1066 [INPUT_PLUGINS="$INPUT_PLUGINS cdaudio-ng" |
1083
325c52b01e56
[svn] Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
deitarion
parents:
1082
diff
changeset
|
1067 CDIO_LIBS=`pkg-config --libs libcdio_cdda` |
325c52b01e56
[svn] Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
deitarion
parents:
1082
diff
changeset
|
1068 CDIO_CFLAGS=`pkg-config --cflags libcdio_cdda` |
1058 | 1069 AC_SUBST(CDIO_LIBS) |
1070 AC_SUBST(CDIO_CFLAGS)], | |
1071 [AC_MSG_WARN([*** Cannot find libcdio 0.78.2 or newer, cdaudio-ng will not be built ***])] | |
1072 ) | |
1073 fi | |
1074 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1075 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1076 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
|
1077 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
|
1078 |
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
|
1079 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
|
1080 CXXFLAGS="$CXXFLAGS $AUDACIOUS_CFLAGS $DBUS_CFLAGS" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1081 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1082 AC_MSG_CHECKING(if __ELF__ is defined) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1083 AC_EGREP_CPP(yes, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1084 [#ifdef __ELF__ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1085 yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1086 #endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1087 ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1088 [is_elf=yes], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1089 [is_elf=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1090 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1091 AC_MSG_RESULT([${is_elf}]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1092 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1093 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1094 have_solaris=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1095 have_sun=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1096 ARCH_DEFINES="" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1097 case "$host" in |
314 | 1098 *-*-openbsd* | *-*-netbsd* | *-*-mirbsd*) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1099 have_sun=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1100 if test "${is_elf}" = "no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1101 then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1102 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
|
1103 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1104 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1105 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1106 *-*-darwin*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1107 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
|
1108 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1109 *-hpux-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1110 ARCH_DEFINES="-DHPUX" |
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 *-*-solaris* | *-*-sunos*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1113 have_solaris=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1114 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1115 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1116 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1117 arch_type=other |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1118 x86_asm=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1119 case "$host" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1120 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1121 arch_type=ix86 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1122 case "$host" in |
314 | 1123 *-*-netbsd* | *-*openbsd* | *-*-mirbsd*) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1124 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1125 *) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1126 ARCH_DEFINES="-DI386_ASSEM" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1127 x86_asm=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1128 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1129 esac |
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 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1132 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1133 dnl *** Scrobbler *** |
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 scrobbler="yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1136 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1137 dnl libcurl check |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1138 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1139 my_cv_curl_vers=NONE |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1140 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
|
1141 check="7.9.7" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1142 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
|
1143 check_hex="070907" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1144 |
503 | 1145 have_curl="no" |
1146 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], | |
1147 [ | |
1148 CONTAINER_PLUGINS="$CONTAINER_PLUGINS curl" | |
1149 have_curl="yes" | |
1150 ], [scrobbler="no"]) | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1151 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1152 if test "x$scrobbler" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1153 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler" |
973
6c0acc7ae799
[svn] - build the lastfm VFS plugin if the scrobbler plugin is going to be built.
nenolod
parents:
954
diff
changeset
|
1154 CONTAINER_PLUGINS="$CONTAINER_PLUGINS lastfm" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1155 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1156 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1157 AC_SUBST(CURL_CFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1158 AC_SUBST(CURL_LIBS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1159 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1160 dnl *** End of Scrobbler checks *** |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1161 |
503 | 1162 dnl *** MMS |
1163 | |
1164 AC_ARG_ENABLE(mms, | |
1165 [ --disable-mms disable mms support. (default=enabled)], | |
1166 [have_mms=$enableval], | |
1167 [have_mms=yes]) | |
1168 | |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1169 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
|
1170 have_mms=yes |
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1171 PKG_CHECK_MODULES(MMS, [libmms >= 0.3], [CONTAINER_PLUGINS="$CONTAINER_PLUGINS mms" ], [have_mms="no"]) |
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1172 else |
503 | 1173 have_mms=no |
1174 AC_MSG_RESULT([*** mms plugin disabled by request ***]) | |
1175 fi | |
1176 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1177 dnl *** libparanormal checks |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1178 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1179 AC_ARG_ENABLE(paranormal, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1180 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1181 [have_paranormal=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1182 [have_paranormal=yes]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1183 |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1184 if test "x$have_paranormal" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1185 have_paranormal=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1186 AM_PATH_SDL(1.2.5, , [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1187 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
|
1188 have_paranormal="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1189 ]) |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1190 else |
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1191 have_paranormal=no |
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1192 AC_MSG_RESULT([*** paranormal plugin disabled by request ***]) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1193 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1194 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1195 AC_ARG_ENABLE(xspf, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1196 [ --disable-xspf disable XSPF support. (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1197 [have_xspf=$enableval], [have_xspf=yes]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1198 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1199 AM_PATH_XML2(2.0.0, , [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1200 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
|
1201 have_paranormal="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1202 have_xspf="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1203 ]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1204 |
149
fd9c0a5871ac
[svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
148
diff
changeset
|
1205 if test "$have_paranormal" = "yes"; then |
408
290588854a9d
[svn] - rovascope -- a variant of the paranormal visualization engine that is
nenolod
parents:
391
diff
changeset
|
1206 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal rovascope" |
149
fd9c0a5871ac
[svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
148
diff
changeset
|
1207 fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1208 |
364 | 1209 if test "$have_xspf" = "yes"; then |
1210 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf" | |
1211 fi | |
1212 | |
358 | 1213 dnl *** ProjectM (GL Milkdrop port) |
1214 | |
1215 AC_ARG_ENABLE(projectm, | |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1216 [ --disable-projectm disable projectM vis plugin. (default=enabled)], |
358 | 1217 [have_projectm=$enableval], |
1218 [have_projectm=yes]) | |
1219 | |
1220 if test "$have_projectm" = "yes"; then | |
1221 PKG_CHECK_MODULES(LIBPROJECTM, libprojectM >= 0.0.0, [have_projectm="yes"], [have_projectm="no"]) | |
1222 if test x$libprjM = xno; then | |
1223 AC_MSG_WARN([*** libprojectM not found. | |
1224 libprojectM is needed to build this package. | |
1225 You can download libprojectM at http://xmms-projectM.sf.net/]) | |
1226 fi | |
1227 LIBPROJECTM_datadir=`pkg-config --variable=pkgdatadir libprojectM`; | |
1228 LIBPROJECTM_sysconfdir=`pkg-config --variable=sysconfdir libprojectM`; | |
1229 LIBPROJECTM_CFLAGS="$LIBPROJECTM_CFLAGS -DPROJECTM_DATADIR=\\\"$LIBPROJECTM_datadir\\\" -DPROJECTM_SYSCONFDIR=\\\"$LIBPROJECTM_sysconfdir\\\""; | |
1230 fi | |
1231 AC_SUBST(LIBPROJECTM_LIBS) | |
1232 AC_SUBST(LIBPROJECTM_CFLAGS) | |
1233 | |
1234 if test "$have_projectm" = "yes"; then | |
1235 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS projectm" | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1236 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1237 |
290 | 1238 dnl *** TTA |
1239 | |
1240 AC_ARG_ENABLE(tta, | |
1241 [ --disable-tta disable TrueAudio plugin (default=enabled) ], | |
1242 [enable_tta=$enableval], | |
1243 [enable_tta=yes] | |
1244 ) | |
1245 | |
1246 if test "$enable_tta" = "yes"; then | |
1247 INPUT_PLUGINS="$INPUT_PLUGINS tta" | |
1248 fi | |
1249 | |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1250 dnl *** FileWriter |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1251 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1252 AC_ARG_ENABLE(filewriter, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1253 [ --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
|
1254 [enable_filewriter=$enableval], |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1255 [enable_filewriter=yes] |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1256 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1257 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1258 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
|
1259 OUTPUT_PLUGINS="$OUTPUT_PLUGINS filewriter" |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1260 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1261 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1262 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1263 AC_ARG_ENABLE(filewriter_mp3, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1264 [ --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
|
1265 [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
|
1266 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1267 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1268 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
|
1269 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
|
1270 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
|
1271 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
|
1272 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
|
1273 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1274 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1275 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1276 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1277 AC_ARG_ENABLE(filewriter_vorbis, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1278 [ --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
|
1279 [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
|
1280 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1281 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1282 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
|
1283 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
|
1284 [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
|
1285 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
|
1286 AC_DEFINE(FILEWRITER_VORBIS, 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
|
1287 FILEWRITER_LIBS="$FILEWRITER_LIBS -lvorbisenc" |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1288 fi |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1289 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1290 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1291 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1292 AC_ARG_ENABLE(filewriter_flac, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1293 [ --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
|
1294 [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
|
1295 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1296 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1297 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
|
1298 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
|
1299 [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
|
1300 ) |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1301 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
|
1302 AC_DEFINE(FILEWRITER_FLAC, 1, [Define if FLAC 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
|
1303 FILEWRITER_LIBS="$FILEWRITER_LIBS -lFLAC" |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1304 fi |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1305 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1306 |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1307 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
|
1308 have_lame=no |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1309 have_vorbisenc=no |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1310 have_writer_flac=no |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1311 FILEWRITER_LIBS="" |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1312 fi |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1313 AC_SUBST(FILEWRITER_LIBS) |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1314 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1315 dnl *** End of all plugin checks *** |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1316 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1317 AC_SUBST(ARCH_DEFINES) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1318 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1319 dnl XXX delete ASAP -nenolod |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1320 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1321 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1322 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1323 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1324 |
10 | 1325 plugindir=`pkg-config audacious --variable=plugin_dir` |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1326 AC_SUBST(plugindir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1327 |
10 | 1328 dnl XXX |
1329 | |
1330 INPUT_PLUGIN_DIR=Input | |
1331 OUTPUT_PLUGIN_DIR=Output | |
1332 EFFECT_PLUGIN_DIR=Effect | |
1333 GENERAL_PLUGIN_DIR=General | |
1334 VISUALIZATION_PLUGIN_DIR=Visualization | |
1335 CONTAINER_PLUGIN_DIR=Container | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1336 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1337 AC_SUBST(INPUT_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1338 AC_SUBST(OUTPUT_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1339 AC_SUBST(EFFECT_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1340 AC_SUBST(GENERAL_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1341 AC_SUBST(VISUALIZATION_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1342 AC_SUBST(CONTAINER_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1343 AC_SUBST(pluginsubs) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1344 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1345 dnl XXX Work around some autoconf bugs. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1346 if test "$prefix" = "NONE"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1347 prefix="${ac_default_prefix}" |
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 if test -z "$datadir"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1351 datadir="${prefix}/share" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1352 fi |
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 localedir="$datadir/locale" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1355 AC_SUBST(localedir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1356 |
94
230d8b49db8b
[svn] - do not use a different DATA_DIR for audacious-plugins
giacomo
parents:
59
diff
changeset
|
1357 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
|
1358 CFLAGS="$CFLAGS $EXTRA_CFLAGS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1359 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1360 if test "$enable_user_plugin_dir" = "no"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1361 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
|
1362 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1363 |
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
|
1364 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
|
1365 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1366 AC_SUBST(BEEP_DEFINES) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1367 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1368 AC_SUBST(beepdir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1369 AC_SUBST(plugindir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1370 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1371 AC_SUBST(EFFECT_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1372 AC_SUBST(GENERAL_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1373 AC_SUBST(INPUT_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1374 AC_SUBST(OUTPUT_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1375 AC_SUBST(VISUALIZATION_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1376 AC_SUBST(CONTAINER_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
|
1377 AC_SUBST(GCC42_CFLAGS) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1378 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1379 AC_CONFIG_FILES([ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1380 mk/rules.mk |
391 | 1381 po/Makefile.in |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1382 ]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1383 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1384 AC_OUTPUT |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1385 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1386 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1387 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1388 echo "Configuration:" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1389 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1390 echo " Install path: ${audacious_plugin_root}" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1391 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1392 echo " Output Plugins" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1393 echo " --------------" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1394 echo " Open Sound System (oss): $have_oss" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1395 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1396 echo " Enlightenment Sound Daemon (esd): $have_esd" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1397 echo " Jack Audio Connection Kit (jack): $have_jack" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1398 echo " Analog Realtime Synthesizer (arts): $have_arts" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1399 echo " BSD/SUN audio output (sun): $have_sun" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1400 echo " PulseAudio sound server (pulse_audio): $have_pulse" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1401 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
|
1402 echo " FileWriter: $enable_filewriter" |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1403 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
|
1404 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
|
1405 echo " -> FileWriter FLAC output part: $have_writer_flac" |
560 | 1406 echo " Null Audio output (null): yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1407 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1408 echo " Input Plugins" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1409 echo " -------------" |
622
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
1410 echo " MPEG 1/2/3 (madplug): $enable_mp3" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1411 echo " MPEG 4 Audio (AAC): $enable_aac" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1412 echo " Windows Media Audio (wma): $enable_wma" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1413 echo " Module decoder (modplug): $have_modplug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1414 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1415 echo " -> ALSA backend: $enable_amidiplug_alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1416 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1417 echo " -> dummy backend: $enable_amidiplug_dummy" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1418 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1419 echo " CD Digital Audio (cdda): yes" |
1058 | 1420 echo " New CD Digital Audio (cdaudio-ng): $enable_cdaudio_ng" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1421 echo " Microsoft WAV (wav): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1422 echo " + sndfile extensions: $enable_sndfile" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1423 echo " Tone Generator: yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1424 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1425 echo " Free Lossless Audio Codec (flac): $have_flac" |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
1426 echo " Free Lossless Audio Codec (flacng): $have_flacng" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1427 echo " Commodore 64 audio (sid): $have_sidplay" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1428 echo " Game music (spc, nsf & gbs): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1429 echo " PlayStation audio (sexypsf): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1430 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
|
1431 echo " Apple Lossless Audio Codec (alac): yes" |
110 | 1432 echo " WavPack 4.31+ (wavpack): $have_wavpack" |
232 | 1433 echo " Musepack support (musepack): $enable_musepack" |
290 | 1434 echo " TrueAudio (tta): $enable_tta" |
315
2294f3a6f136
[svn] Metronom (a.k.a. tact generator) input plugin, ported from XMMS.
chainsaw
parents:
314
diff
changeset
|
1435 echo " Metronom: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1436 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1437 echo " General" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1438 echo " -------" |
121 | 1439 echo " Alarm: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1440 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
|
1441 echo " Status Icon: $have_statusicon" |
579 | 1442 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
|
1443 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
|
1444 echo " Control via event device (evdev-plug): $have_evdevplug" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1445 echo " LIRC: $have_lirc" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1446 echo " AudioScrobbler Client: $scrobbler" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1447 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1448 echo " Effect" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1449 echo " ------" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1450 echo " AudioCompressor (AGC): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1451 echo " LADSPA effects host (ladspa): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1452 echo " Voice Removal: yes" |
125 | 1453 echo " Extra Stereo: yes" |
127
46730e83b1e2
[svn] - echo plugin support by Christian Birchinger <joker -at- gentoo.org>
nenolod
parents:
125
diff
changeset
|
1454 echo " Echo/Surround: yes" |
882 | 1455 echo " SndStretch: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1456 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1457 echo " Visualization" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1458 echo " -------------" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1459 echo " Blur Scope: yes" |
146
03cfb311eafd
[svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents:
144
diff
changeset
|
1460 echo " Spectrum Analyzer: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1461 echo " Paranormal Visualization Library: $have_paranormal" |
358 | 1462 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
|
1463 echo " RootVis plugin: $have_rootvis" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1464 echo |
503 | 1465 echo " Transport" |
1466 echo " ---------" | |
1467 echo " stdio transport: yes" | |
1468 echo " curl-based http/https: $have_curl" | |
1469 echo " libmms-based mms: $have_mms" | |
1470 echo | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1471 echo " Container" |
44 | 1472 echo " ---------" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1473 echo " Winamp PLS playlist format (pls): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1474 echo " M3U playlist format (m3u): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1475 echo " XML Sharable Playlist Format (xspf): $have_xspf" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1476 echo |
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 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
|
1479 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
|
1480 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
|
1481 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
|
1482 echo "anyway, simply use --enable-timidity in configuration." |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1483 echo "" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1484 fi |