Mercurial > audlegacy-plugins
annotate configure.ac @ 2920:c634799dd0bd
no need for this check as init is called only once
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Wed, 20 Aug 2008 00:51:51 +0300 |
parents | 615a87ac7a96 |
children | 296fd6e83edb |
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 |
2473
77af181204e7
Change version to 1.9.0 to indicate journey towards Audacious2.
Matti Hamalainen <ccr@tnsp.org>
parents:
2454
diff
changeset
|
3 AC_INIT([audacious-plugins], [1.9.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 |
1912
613e4c8bd14f
append audacious header path to CPPFLAGS when --prefix is specified. (since js hates CFLAGS in making deps. hehe.)
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1910
diff
changeset
|
25 dnl append audacious header path to CPPFLAGS when --prefix is specified. |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
26 if test "x$prefix" != "xNONE" ; then |
1912
613e4c8bd14f
append audacious header path to CPPFLAGS when --prefix is specified. (since js hates CFLAGS in making deps. hehe.)
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1910
diff
changeset
|
27 CPPFLAGS="$CPPFLAGS -I${includedir}" |
613e4c8bd14f
append audacious header path to CPPFLAGS when --prefix is specified. (since js hates CFLAGS in making deps. hehe.)
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1910
diff
changeset
|
28 fi |
613e4c8bd14f
append audacious header path to CPPFLAGS when --prefix is specified. (since js hates CFLAGS in making deps. hehe.)
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1910
diff
changeset
|
29 |
419 | 30 dnl OMK bootstrap |
31 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME]) | |
32 AC_SUBST([VERSION], [AC_PACKAGE_VERSION]) | |
33 | |
34 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
35 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
|
36 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
37 dnl Check for C compiler |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
38 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
39 AC_PROG_CC |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
40 AC_PROG_CXX |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
41 AC_ISC_POSIX |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
42 AC_C_BIGENDIAN |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
43 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
44 if test "x$GCC" = "xyes"; then |
1973
f86cb7fc1d4f
Add -pipe -Wall if gcc and fix a few warnings.
Jonathan Schleifer <js@h3c.de>
parents:
1919
diff
changeset
|
45 CFLAGS="$CFLAGS -pipe -Wall" |
f86cb7fc1d4f
Add -pipe -Wall if gcc and fix a few warnings.
Jonathan Schleifer <js@h3c.de>
parents:
1919
diff
changeset
|
46 CXXFLAGS="$CXXFLAGS -pipe -Wall" |
f86cb7fc1d4f
Add -pipe -Wall if gcc and fix a few warnings.
Jonathan Schleifer <js@h3c.de>
parents:
1919
diff
changeset
|
47 fi |
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
|
48 |
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 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
|
50 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
|
51 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
|
52 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
|
53 [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
|
54 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
|
55 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
|
56 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
|
57 # 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
|
58 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
|
59 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
|
60 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
|
61 <<| 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
|
62 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
|
63 '') 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
|
64 <<$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
|
65 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
|
66 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
|
67 *) 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
|
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 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
|
70 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
|
71 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
|
72 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
|
73 [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
|
74 $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
|
75 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
|
76 ]) |
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
|
77 |
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
|
78 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
|
79 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
|
80 [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
|
81 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
|
82 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
83 dnl Check for assembler |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
84 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
85 AM_PROG_AS |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
86 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
87 dnl Checks for various programs |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
88 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
89 AC_PROG_LN_S |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
90 AC_PROG_MAKE_SET |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
91 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
92 AC_PATH_PROG(RM, rm) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
93 AC_PATH_PROG(MV, mv) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
94 AC_PATH_PROG(CP, cp) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
95 AC_PATH_PROG(AR, ar) |
2800
ea4e97a98914
a fix for automatic plugin _CFGIDs to be generated
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2781
diff
changeset
|
96 AC_PATH_PROG(TR, tr) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
97 AC_PATH_PROG(RANLIB, ranlib) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
98 |
390 | 99 dnl Gettext -nenolod |
100 AM_GNU_GETTEXT([external]) | |
101 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
102 dnl Path settings |
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-dsp, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
105 [ --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
|
106 [dev_dsp=$withval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
107 [dev_dsp=/dev/dsp] |
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_DSP, "$dev_dsp", |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
110 [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
|
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(dev-mixer, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
114 [ --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
|
115 [dev_mixer=$withval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
116 [dev_mixer=/dev/mixer] |
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 AC_DEFINE_UNQUOTED(DEV_MIXER, "$dev_mixer", |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
119 [Path to OSS mixer, default is /dev/mixer.] |
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 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
122 dnl These plugins are always built. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
123 |
2755
5a0f5e9af5ef
Add psf2 plugin to build process.
William Pitcock <nenolod@atheme.org>
parents:
2727
diff
changeset
|
124 INPUT_PLUGINS="tonegen console sexypsf psf2 cue alac metronom vtx" |
1007 | 125 OUTPUT_PLUGINS="null" |
2518
eef3a506a2b8
Add crystalizer plugin.
William Pitcock <nenolod@atheme.org>
parents:
2494
diff
changeset
|
126 EFFECT_PLUGINS="audiocompress crystalizer ladspa voice_removal sndstretch stereo_plugin echo_plugin" |
2826
615a87ac7a96
Integrate skins interface into the build.
William Pitcock <nenolod@atheme.org>
parents:
2800
diff
changeset
|
127 GENERAL_PLUGINS="song_change alarm skins" |
146
03cfb311eafd
[svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents:
144
diff
changeset
|
128 VISUALIZATION_PLUGINS="blur_scope spectrum" |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
129 CONTAINER_PLUGINS="m3u pls" |
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
130 TRANSPORT_PLUGINS="stdio" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
131 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
132 dnl Check for Audacious |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
133 |
2727 | 134 PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 1.9.0], |
135 [ADD_PC_REQUIRES([audacious >= 1.9.0])], | |
136 [AC_MSG_ERROR([Cannot find Audacious 1.9.0 or later, have you installed audacious yet?])] | |
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 |
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
|
139 dnl Check for GTK/GLib/GThread/Pango/DBus |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
140 |
2428
5ba6588580e0
g_timeout_add_seconds() requires glib-2.14.0 or higher.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2423
diff
changeset
|
141 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.14.0 gthread-2.0], |
5ba6588580e0
g_timeout_add_seconds() requires glib-2.14.0 or higher.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2423
diff
changeset
|
142 [ADD_PC_REQUIRES([glib-2.0 >= 2.14.0])], |
2447
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
143 [AC_MSG_ERROR([Cannot find Glib2 >= 2.14.0])] |
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
|
144 ) |
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
|
145 |
2447
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
146 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0], |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
147 [ADD_PC_REQUIRES([gtk+-2.0 >= 2.10.0])], |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
148 [AC_MSG_ERROR([Cannot find Gtk+2 >= 2.10.0])] |
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
|
149 ) |
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 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
|
152 [ADD_PC_REQUIRES([pango >= 1.8.0])], |
2447
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
153 [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
|
154 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
155 |
1233 | 156 AC_ARG_ENABLE(dbus, |
157 [ --enable-dbus enable DBus support (default=yes)], | |
158 enable_dbus=$enableval, enable_dbus=yes) | |
2178
852fb48fcc67
Fix bashism in the configure script.
William Pitcock <nenolod@atheme.org>
parents:
2176
diff
changeset
|
159 if test "x$enable_dbus" = "xyes"; then |
1233 | 160 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60], |
161 [ADD_PC_REQUIRES([dbus-1 >= 0.60 dbus-glib-1 >= 0.60]) | |
162 AC_DEFINE(USE_DBUS, 1, [Define if D-Bus support enabled])], | |
163 [AC_MSG_ERROR([Cannot find dbus-glib >= 0.60])] | |
164 ]) | |
1234 | 165 fi |
1005
2346d918470d
[svn] Fixed rootvis' config to only declare stuff once; modified alarm.c to use dbus and made appropriate changes to the build system.
magma
parents:
1001
diff
changeset
|
166 |
2447
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
167 |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
168 dnl Check for libmowgli. |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
169 |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
170 PKG_CHECK_MODULES(MOWGLI, [libmowgli >= 0.4.0], |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
171 [ADD_PC_REQUIRES([libmowgli >= 0.4.0])], |
bfa3d9faa4f0
Some sanitization, I hope.
Matti Hamalainen <ccr@tnsp.org>
parents:
2445
diff
changeset
|
172 [AC_MSG_ERROR([Cannot find libmowgli >= 0.4.0, try http://www.atheme.org/projects/mowgli.shtml])] |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
173 ) |
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
174 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
175 dnl IPv6 support |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
176 dnl ======================== |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
177 AC_ARG_ENABLE(ipv6, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
178 [ --enable-ipv6 enable IPv6 support (default=no)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
179 enable_ipv6=$enableval, enable_ipv6=no) |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
180 if test "x$enable_ipv6" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
181 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
|
182 fi |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
183 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = "xyes") |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
184 AC_SUBST(USE_IPV6) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
185 |
44 | 186 dnl chardet support |
187 dnl ======================== | |
188 AC_ARG_ENABLE(chardet, | |
189 [ --enable-chardet enable character set detection support (default=no)], | |
190 enable_chardet=$enableval, enable_chardet=no) | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
191 if test "x$enable_chardet" = "xyes"; then |
44 | 192 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) |
193 fi | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
194 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = "xyes") |
44 | 195 AC_SUBST(USE_CHARDET) |
196 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
197 dnl plugin stuff |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
198 dnl ======================== |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
199 |
1879
81cdc01db60e
Update buildsys (adds ${PROG_SUFFIX}).
Jonathan Schleifer <js@h3c.de>
parents:
1863
diff
changeset
|
200 BUILDSYS_SHARED_LIB |
1909 | 201 BUILDSYS_PROG_IMPLIB |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
202 test "x$PROG_IMPLIB_NEEDED" = "xyes" && LIBS="$LIBS -L\${libdir} -laudacious.exe" |
1764
0b6e61f2f22b
Connect Mk2 to autoconf.
William Pitcock <nenolod@atheme.org>
parents:
1724
diff
changeset
|
203 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
204 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
|
205 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
|
206 case "$target" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
207 *-apple-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
208 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib]) |
1260
e1df1bad7837
MacOS target: Build modules with -fno-common.
William Pitcock <nenolod@atheme-project.org>
parents:
1237
diff
changeset
|
209 PICFLAGS="-DPIC -fno-common" |
1540
8efa68ee4d5a
audacious-plugins: -single-module on OSX.
William Pitcock <nenolod@atheme.org>
parents:
1523
diff
changeset
|
210 PICLDFLAGS="-DPIC -bundle -fno-common -flat_namespace -undefined suppress -single_module" |
8efa68ee4d5a
audacious-plugins: -single-module on OSX.
William Pitcock <nenolod@atheme.org>
parents:
1523
diff
changeset
|
211 LIBLDFLAGS="-dynamiclib -single_module" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
212 AUDLDFLAGS="" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
213 SHARED_SUFFIX=".dylib" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
214 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
215 *) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
216 AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
217 PICFLAGS="-fPIC -DPIC" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
218 PICLDFLAGS="-fPIC -DPIC -shared" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
219 LIBLDFLAGS="-fPIC -DPIC -shared" |
2431
fd2ef06da1c5
abandon ${pluginlibdir}.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2428
diff
changeset
|
220 AUDLDFLAGS="-L \${libdir} -Wl,-export-dynamic -Wl,-rpath,${libdir}" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
221 SHARED_SUFFIX=".so" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
222 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
223 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
224 AC_SUBST(PICFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
225 AC_SUBST(PICLDFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
226 AC_SUBST(LIBLDFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
227 AC_SUBST(AUDLDFLAGS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
228 AC_SUBST(SHARED_SUFFIX) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
229 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
230 [Define the shared module suffix extension on your platform.]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
231 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
232 AC_MSG_CHECKING([if you are running Apple-GCC]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
233 case "$target" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
234 *-apple-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
235 AC_MSG_RESULT([yes, sorry you poor bastard]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
236 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
|
237 ;; |
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 AC_MSG_RESULT([no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
240 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
241 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
242 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
243 dnl Check for esound |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
244 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
245 AC_ARG_ENABLE( esd, |
2769
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
246 [ --disable-esd disable esound output plugin (default=enabled)], |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
247 [enable_esd=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
248 [enable_esd="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
249 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
250 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
251 if test "x$enable_esd" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
252 PKG_CHECK_MODULES(ESD, [esound >= 0.2], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
253 [have_esd=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
254 OUTPUT_PLUGINS="$OUTPUT_PLUGINS esd"], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
255 [have_esd=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
256 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
257 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
258 AC_MSG_RESULT([*** esound plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
259 have_esd=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
260 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
261 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
262 dnl Check for PulseAudio |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
263 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
264 AC_ARG_ENABLE( pulse, |
2769
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
265 [ --disable-pulse disable PulseAudio output plugin (default=enabled)], |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
266 [enable_pulse=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
267 [enable_pulse="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
268 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
269 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
270 if test "x$enable_pulse" = "xyes"; then |
2399
dd2c14a4c9f1
Change required pulseaudio version to 0.9.9 because some PA_SAMPLE_S32 formats are not defined in older versions.
Christian Birchinger <joker@netswarm.net>
parents:
2359
diff
changeset
|
271 PKG_CHECK_MODULES(PULSE, [libpulse >= 0.9.9], |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
272 [have_pulse=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
273 OUTPUT_PLUGINS="$OUTPUT_PLUGINS pulse_audio"], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
274 [have_pulse=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
275 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
276 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
277 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
|
278 have_pulse=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
279 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
280 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
281 dnl *** CoreAudio |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
282 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
283 AC_ARG_ENABLE(coreaudio, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
284 [ --disable-coreaudio disable CoreAudio output plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
285 [enable_coreaudio=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
286 [enable_coreaudio="yes"] |
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 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
289 if test "x$enable_coreaudio" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
290 AC_CHECK_HEADERS([CoreServices/CoreServices.h], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
291 [have_coreaudio=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
292 OUTPUT_PLUGINS="$OUTPUT_PLUGINS CoreAudio"], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
293 [have_coreaudio=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
294 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
295 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
|
296 have_coreaudio=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
297 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
298 |
2770
9bc47b31404a
added SHOUT_CFLAGS and SHOUT_LIBS
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2769
diff
changeset
|
299 dnl *** Icecast |
9bc47b31404a
added SHOUT_CFLAGS and SHOUT_LIBS
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2769
diff
changeset
|
300 |
2769
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
301 AC_ARG_ENABLE( icecast, |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
302 [ --disable-icecast disable Icecast output plugin (default=enabled)], |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
303 [enable_icecast=$enableval], |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
304 [enable_icecast="yes"] |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
305 ) |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
306 |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
307 if test "x$enable_icecast" = "xyes"; then |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
308 PKG_CHECK_MODULES(SHOUT, [shout >= 2.0], |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
309 [have_shout=yes |
2778
28d9a2148cad
fixed plugins build order: filewriter needs to be built before icecast
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2777
diff
changeset
|
310 enable_filewriter=yes], |
2769
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
311 [have_shout=no] |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
312 ) |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
313 else |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
314 AC_MSG_RESULT([*** icecast output plugin disabled per user request ***]) |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
315 have_shout=no |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
316 fi |
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
317 |
2770
9bc47b31404a
added SHOUT_CFLAGS and SHOUT_LIBS
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2769
diff
changeset
|
318 AC_SUBST(SHOUT_CFLAGS) |
9bc47b31404a
added SHOUT_CFLAGS and SHOUT_LIBS
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2769
diff
changeset
|
319 AC_SUBST(SHOUT_LIBS) |
9bc47b31404a
added SHOUT_CFLAGS and SHOUT_LIBS
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2769
diff
changeset
|
320 |
1710
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
321 dnl *** Dock Album Art (MacOS) |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
322 |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
323 AC_ARG_ENABLE(dockalbumart, |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
324 [ --disable-dockalbumart disable MacOS dock albumart plugin (default=guess)], |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
325 [enable_dockalbumart=$enableval], |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
326 [enable_dockalbumart="yes"] |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
327 ) |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
328 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
329 if test "x$enable_dockalbumart" = "xyes"; then |
1710
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
330 AC_CHECK_HEADERS([Carbon/Carbon.h], |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
331 [have_dockalbumart=yes |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
332 GENERAL_PLUGINS="$GENERAL_PLUGINS dockalbumart"], |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
333 [have_dockalbumart=no]) |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
334 else |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
335 AC_MSG_RESULT([*** DockAlbumArt plugin disabled per user request ***]) |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
336 have_dockalbumart=no |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
337 fi |
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
338 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
339 dnl *** AltiVec |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
340 |
1138
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
341 AC_ARG_ENABLE(altivec, |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
342 [ --disable-altivec disable AltiVec support. (default=enabled) ], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
343 [enable_altivec=$enableval], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
344 [enable_altivec=yes] |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
345 ) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
346 if test "x$enable_altivec" = "xyes"; then |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
347 AC_CHECK_HEADERS(altivec.h, |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
348 [AC_DEFINE(HAVE_ALTIVEC, 1, [Define to 1 if your system has AltiVec.]) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
349 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Define to 1 if your system has an altivec.h file.]) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
350 AC_DEFINE(ARCH_POWERPC, 1, [Define to 1 if your system is a PowerPC.]) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
351 DCT64=dct64_altivec.c |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
352 SIMD_CFLAGS=-maltivec |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
353 AC_SUBST(SIMD_CFLAGS)], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
354 [DCT64=dct64.c] |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
355 ) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
356 fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
357 AC_SUBST(DCT64) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
358 |
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
|
359 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
|
360 |
1138
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
361 AC_ARG_ENABLE(sse2, |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
362 [ --disable-sse2 disable SSE2 support. (default=enabled) ], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
363 [enable_sse2=$enableval], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
364 [enable_sse2=yes] |
923 | 365 ) |
1138
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
366 if test "x$enable_sse2" = "xyes"; then |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
367 AC_MSG_CHECKING(SSE2) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
368 ac_save_CFLAGS="$CFLAGS" |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
369 CFLAGS="-msse2" |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
370 AC_TRY_RUN([ |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
371 #include <emmintrin.h> |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
372 int main() |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
373 { |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
374 _mm_setzero_pd(); |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
375 return 0; |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
376 } |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
377 ], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
378 [AC_MSG_RESULT(SSE2 yes) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
379 AC_DEFINE(HAVE_SSE2, 1, [Define to 1 if your system has SSE2]) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
380 SIMD_CFLAGS=-msse2], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
381 [AC_MSG_RESULT(SSE2 no)], |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
382 ) |
402ee2120cb1
[svn] - added options in configure.ac to disable sse2 and altivec support (madplug) even if available on the system
giacomo
parents:
1083
diff
changeset
|
383 fi |
923 | 384 AC_SUBST(SIMD_CFLAGS) |
385 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
|
386 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
387 dnl *** MP3 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
388 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
389 AC_ARG_ENABLE(mp3, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
390 [ --disable-mp3 disable mp3 plugin. (default=enabled) ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
391 [enable_mp3=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
392 [enable_mp3=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
393 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
394 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
395 if test "x$enable_mp3" = "xyes"; then |
2125
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
396 AM_PATH_LIBMAD([enable_mp3=yes], |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
397 [AC_MSG_WARN([*** Cannot find libmad, mp3 plugin will not be built ***]) |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
398 enable_mp3=no] |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
399 ) |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
400 else |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
401 AC_MSG_RESULT([*** mp3 plugin disabled per user request ***]) |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
402 enable_mp3=no |
634 | 403 fi |
2125
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
404 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
405 if test "x$enable_mp3" = "xyes"; then |
2359
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
406 AC_MSG_CHECKING(mad.h suitability) |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
407 ac_save_CFLAGS="$CFLAGS" |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
408 CFLAGS="$CFLAGS $MAD_CFLAGS $AUDACIOUS_CFLAGS" |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
409 AC_TRY_RUN( |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
410 [ |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
411 #include <mad.h> |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
412 #include <audacious/plugin.h> |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
413 int main() |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
414 { |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
415 return (MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__) ? 0 : 1; |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
416 } |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
417 ], |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
418 [AC_MSG_RESULT(yes)], |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
419 [ |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
420 AC_MSG_RESULT(no) |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
421 enable_mp3=no |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
422 ], |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
423 ) |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
424 CFLAGS="$ac_save_CFLAGS" |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
425 fi |
b3475063c000
little help to yaz: build-time check for MAD_F_FRACBITS == __AUDACIOUS_ASSUMED_MAD_F_FRACBITS__
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2343
diff
changeset
|
426 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
427 if test "x$enable_mp3" = "xyes"; then |
2125
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
428 INPUT_PLUGINS="$INPUT_PLUGINS madplug" |
5c33e8e1a479
- add a m4 macro file to setup MAD_CFLAGS and MAD_LIBS.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2102
diff
changeset
|
429 fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
430 |
2102
42a16b5e5151
try to fill in MAD_CFLAGS/MAD_LIBS with sensible defaults. enforce AC_SUBST().
William Pitcock <nenolod@atheme.org>
parents:
2097
diff
changeset
|
431 AC_SUBST(MAD_CFLAGS) |
42a16b5e5151
try to fill in MAD_CFLAGS/MAD_LIBS with sensible defaults. enforce AC_SUBST().
William Pitcock <nenolod@atheme.org>
parents:
2097
diff
changeset
|
432 AC_SUBST(MAD_LIBS) |
42a16b5e5151
try to fill in MAD_CFLAGS/MAD_LIBS with sensible defaults. enforce AC_SUBST().
William Pitcock <nenolod@atheme.org>
parents:
2097
diff
changeset
|
433 |
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
|
434 dnl *** Rocklight |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
435 |
411 | 436 AC_ARG_ENABLE(rocklight, |
437 AS_HELP_STRING([--disable-rocklight], [disable Rocklight vis plugin (default=enabled)]), | |
438 [enable_rocklight="$enableval"], | |
439 [enable_rocklight="yes"] | |
440 ) | |
441 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
442 if test "x$enable_rocklight" = "xyes"; then |
411 | 443 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rocklight" |
444 fi | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
445 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
446 dnl *** LIRC client libraries |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
447 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
448 AC_ARG_ENABLE(lirc, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
449 [ --disable-lirc disable LIRC plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
450 [enable_lirc=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
451 [enable_lirc="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
452 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
453 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
454 if test "x$enable_lirc" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
455 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
|
456 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
457 AC_MSG_RESULT([*** LIRC plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
458 have_lirc="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
459 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
460 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
461 if test "x$have_lirc" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
462 GENERAL_PLUGINS="$GENERAL_PLUGINS lirc" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
463 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
464 |
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
|
465 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
|
466 |
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
|
467 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
|
468 [ --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
|
469 [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
|
470 [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
|
471 ) |
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
|
472 |
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
|
473 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
|
474 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
|
475 *-*-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
|
476 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
|
477 ;; |
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
|
478 *) |
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
|
479 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
|
480 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
|
481 ;; |
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
|
482 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
|
483 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
|
484 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
|
485 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
|
486 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
|
487 |
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
|
488 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
|
489 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
|
490 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
|
491 |
1543
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
492 dnl *** Global Hotkey general plugin (only built on X11) |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
493 |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
494 AC_ARG_ENABLE(hotkey, |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
495 [ --disable-hotkey disable global hotkey plugin (default=enabled)], |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
496 [enable_hotkey=$enableval], |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
497 [enable_hotkey="yes"] |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
498 ) |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
499 |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
500 if test "x$enable_hotkey" = "xyes"; then |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
501 have_hotkey="yes" |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
502 PKG_CHECK_MODULES(GDKX11,[gdk-x11-2.0 >= 2.6.0],,[have_hotkey="no"]) |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
503 else |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
504 AC_MSG_RESULT([*** X11 Global Hotkey plugin disabled per user request ***]) |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
505 have_hotkey="no" |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
506 fi |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
507 |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
508 if test "x$have_hotkey" = "xyes"; then |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
509 GENERAL_PLUGINS="$GENERAL_PLUGINS hotkey" |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
510 fi |
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
511 |
1724
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
512 dnl *** Gnome Shortcuts Plugin |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
513 |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
514 AC_ARG_ENABLE(gnomeshortcuts, |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
515 [ --disable-gnomeshortcuts disable gnome shortcuts (default=enabled)], |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
516 [enable_gnomeshortcuts=$enableval], |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
517 [enable_gnomeshortcuts="yes"] |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
518 ) |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
519 |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
520 if test "x$enable_gnomeshortcuts" = "xyes"; then |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
521 have_gnomeshortcuts="yes" |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
522 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60],, |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
523 [AC_MSG_ERROR([Cannot find dbus-glib >= 0.60 for gnomeshortcuts plugin])]) |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
524 else |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
525 AC_MSG_RESULT([*** Gnome Shortcuts Plugin disabled per user request ***]) |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
526 have_gnomeshortcuts="no" |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
527 fi |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
528 |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
529 if test "x$have_gnomeshortcuts" = "xyes"; then |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
530 GENERAL_PLUGINS="$GENERAL_PLUGINS gnomeshortcuts" |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
531 fi |
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
532 |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
533 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
|
534 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
535 AC_ARG_ENABLE(statusicon, |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
536 [ --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
|
537 [enable_statusicon=$enableval], |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
538 [enable_statusicon="yes"] |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
539 ) |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
540 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
541 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
|
542 have_statusicon="yes" |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
543 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
|
544 else |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
545 AC_MSG_RESULT([*** X11 Status Icon plugin disabled per user request ***]) |
856 | 546 have_statusicon="no" |
433
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
547 fi |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
548 |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
549 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
|
550 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
|
551 fi |
38fe08dff5cd
[svn] - added status icon plugin (written from scratch, with code from gtk 2.10)
giacomo
parents:
429
diff
changeset
|
552 |
579 | 553 dnl *** Audacious OSD plugin (pangocairo-based) |
554 | |
555 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
|
556 [ --disable-aosd disable Audacious OSD plugin (default=enabled)], |
579 | 557 [enable_aosd=$enableval], |
933 | 558 [enable_aosd="guess"] |
579 | 559 ) |
560 | |
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
|
561 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
|
562 [ --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
|
563 [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
|
564 [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
|
565 ) |
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
|
566 |
933 | 567 if test "x$enable_aosd" = "xguess"; then |
579 | 568 have_aosd="yes" |
569 PKG_CHECK_MODULES(PANGO,[pango >= 1.14.7],, | |
570 [have_aosd="no" | |
571 AC_MSG_RESULT([*** pango >= 1.14.7 is required for Audacious OSD plugin ***])] | |
572 ) | |
573 PKG_CHECK_MODULES(CAIRO,[cairo >= 1.2.6],, | |
574 [have_aosd="no" | |
575 AC_MSG_RESULT([*** cairo >= 1.2.6 is required for Audacious OSD plugin ***])] | |
576 ) | |
577 PKG_CHECK_MODULES(PANGOCAIRO,[pangocairo >= 1.14.7],, | |
578 [have_aosd="no" | |
579 AC_MSG_RESULT([*** pangocairo >= 1.14.7 is required for Audacious OSD plugin ***])] | |
580 ) | |
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
|
581 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
|
582 [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
|
583 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
|
584 ) |
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
|
585 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
|
586 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
|
587 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
|
588 [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
|
589 [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
|
590 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
|
591 ) |
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
|
592 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
|
593 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
|
594 have_aosd_xcomp="no" |
933 | 595 fi |
579 | 596 else |
933 | 597 if test "x$enable_aosd" = "xyes"; then |
598 AC_MSG_RESULT([*** Audacious OSD plugin has been forcefully enabled ***]) | |
599 have_aosd="yes" | |
600 if test "x$enable_aosd_xcomp" = "xyes"; then | |
601 have_aosd_xcomp="yes" | |
602 PKG_CHECK_MODULES(XCOMPOSITE, xcomposite, | |
603 [AC_DEFINE([HAVE_XCOMPOSITE],[],[X Composite extension available])], | |
604 [have_aosd_xcomp="no" | |
605 AC_MSG_RESULT([*** X Composite extension not found, composite support for Audacious OSD will not be compiled ***])] | |
606 ) | |
607 else | |
608 AC_MSG_RESULT([*** X Composite support for Audacious OSD plugin disabled per user request ***]) | |
609 have_aosd_xcomp="no" | |
610 fi | |
611 else | |
612 AC_MSG_RESULT([*** Audacious OSD plugin disabled per user request ***]) | |
613 have_aosd="no" | |
614 fi | |
579 | 615 fi |
616 | |
617 if test "x$have_aosd" = "xyes"; then | |
618 GENERAL_PLUGINS="$GENERAL_PLUGINS aosd" | |
619 fi | |
620 | |
900
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
621 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
|
622 |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
623 AC_ARG_ENABLE(rootvis, |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
624 [ --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
|
625 [enable_rootvis=$enableval], |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
626 [enable_rootvis="yes"] |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
627 ) |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
628 |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
629 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
|
630 have_rootvis="yes" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
631 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
|
632 [have_rootvis="no" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
633 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
|
634 ) |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
635 else |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
636 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
|
637 have_rootvis="no" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
638 fi |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
639 |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
640 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
|
641 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS rootvis" |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
642 fi |
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
643 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
644 dnl *** AdPlug requirement (libbinio) |
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 AC_ARG_ENABLE(adplug, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
647 [ --disable-adplug disable AdPlug plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
648 [enable_adplug=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
649 [enable_adplug="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
650 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
651 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
652 if test "x$enable_adplug" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
653 have_adplug="yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
654 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
|
655 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
656 AC_MSG_RESULT([*** AdPlug plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
657 have_adplug="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
658 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
659 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
660 if test "x$have_adplug" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
661 INPUT_PLUGINS="$INPUT_PLUGINS adplug" |
2002
d7642cf63ae5
make adplug compile again.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2000
diff
changeset
|
662 AC_SUBST(BINIO_CFLAGS) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
663 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
664 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
665 dnl *** Ogg Vorbis |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
666 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
667 AC_ARG_ENABLE(vorbis, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
668 [ --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
669 [enable_vorbis=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
670 [enable_vorbis="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
671 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
672 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
673 if test "x$enable_vorbis" = "xyes"; then |
2141
c266c29a36c5
require libvorbis 1.2 due to undefined behaviour in 1.1.x.
William Pitcock <nenolod@atheme.org>
parents:
2139
diff
changeset
|
674 PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.2 vorbisfile >= 1.2], |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
675 [have_oggvorbis=yes], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
676 [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
|
677 have_oggvorbis=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
678 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
679 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
680 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
|
681 have_oggvorbis=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
682 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
683 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
684 if test "x$have_oggvorbis" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
685 INPUT_PLUGINS="$INPUT_PLUGINS vorbis" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
686 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
687 |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
688 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
|
689 |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
690 AC_ARG_ENABLE(flacng, |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
691 [ --disable-flacng disable flac input plugin (default=enabled)], |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
692 [enable_flacng=$enableval], |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
693 [enable_flacng="yes"] |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
694 ) |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
695 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
696 if test "x$enable_flacng" = "xyes"; then |
1309
e25e32e7d44e
Autoconf flac-config wrangling magic for FLAC 1.1.2.
William Pitcock <nenolod@atheme-project.org>
parents:
1294
diff
changeset
|
697 AM_PATH_LIBFLAC([have_flacng=yes], |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
698 [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
|
699 have_flacng=no] |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
700 ) |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
701 else |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
702 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
|
703 have_flacng=no |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
704 fi |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
705 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
706 if test "x$have_flacng" = "xyes"; then |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
707 INPUT_PLUGINS="$INPUT_PLUGINS flacng" |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
708 fi |
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
709 |
110 | 710 dnl *** WavPack 4.31 support |
711 | |
712 AC_ARG_ENABLE(wavpack, | |
713 [ --disable-wavpack disable WavPack input plugin (default=enabled)], | |
714 [enable_wavpack=$enableval], | |
715 [enable_wavpack="yes"] | |
716 ) | |
717 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
718 if test "x$enable_wavpack" = "xyes"; then |
110 | 719 PKG_CHECK_MODULES(WAVPACK, [wavpack >= 4.31], |
720 [have_wavpack=yes], | |
721 [AC_MSG_WARN([*** Cannot find WavPack 4.31+, WavPack support will not be built ***]) | |
722 have_wavpack=no] | |
723 ) | |
724 else | |
725 AC_MSG_RESULT([*** WavPack plugin disabled per user request ***]) | |
726 have_wavpack=no | |
727 fi | |
728 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
729 if test "x$have_wavpack" = "xyes"; then |
110 | 730 INPUT_PLUGINS="$INPUT_PLUGINS wavpack" |
731 fi | |
732 | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
733 dnl *** AAC |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
734 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
735 AC_ARG_ENABLE(aac, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
736 [ --disable-aac disable aac plugin (default=enabled) ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
737 [enable_aac=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
738 [enable_aac=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
739 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
740 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
741 if test "x$enable_aac" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
742 INPUT_PLUGINS="$INPUT_PLUGINS aac" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
743 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
744 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
745 dnl *** sndfile |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
746 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
747 AC_ARG_ENABLE(sndfile, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
748 [ --disable-sndfile disable sndfile extensions. [default=enabled] ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
749 [enable_sndfile=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
750 [enable_sndfile=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
751 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
752 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
753 if test "x$enable_sndfile" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
754 PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
755 [enable_sndfile=yes], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
756 [enable_sndfile=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
757 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
758 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
759 AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
760 enable_sndfile=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
761 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
762 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
763 if test "x$enable_sndfile" = "xyes"; then |
2303
5561e63e9133
threw out the WAV plugin in favour of the sndfile plugin
mf0102 <0102@gmx.at>
parents:
2182
diff
changeset
|
764 INPUT_PLUGINS="$INPUT_PLUGINS sndfile" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
765 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
766 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
767 dnl *** modplug |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
768 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
769 AC_ARG_ENABLE(modplug, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
770 [ --disable-modplug disable ModPlug plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
771 [enable_modplug=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
772 [enable_modplug="yes"] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
773 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
774 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
775 if test "x$enable_modplug" = "xyes"; then |
136
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
135
diff
changeset
|
776 INPUT_PLUGINS="$INPUT_PLUGINS modplug" |
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
135
diff
changeset
|
777 have_modplug="yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
778 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
779 AC_MSG_RESULT([*** ModPlug plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
780 have_modplug="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
781 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
782 |
232 | 783 dnl *** Musepack |
784 | |
785 AC_ARG_ENABLE(musepack, | |
786 [ --disable-musepack disable musepack input plugin (default=enabled)], | |
787 [enable_musepack=$enableval], | |
788 [enable_musepack="yes"] | |
789 ) | |
790 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
791 if test "x$enable_musepack" = "xyes"; then |
662 | 792 PKG_CHECK_MODULES(TAGLIB, [taglib >= 1.4], [ |
793 AC_CHECK_HEADERS(mpcdec/config_types.h,, [ | |
794 enable_musepack=no | |
795 ]) | |
796 ], [enable_musepack=no]) | |
232 | 797 else |
798 AC_MSG_RESULT([*** Musepack plugin disabled per user request ***]) | |
799 enable_musepack=no | |
800 fi | |
801 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
802 if test "x$enable_musepack" = "xyes"; then |
232 | 803 INPUT_PLUGINS="$INPUT_PLUGINS musepack" |
2000
89a445c53318
make musepack compile again.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1973
diff
changeset
|
804 AC_SUBST(TAGLIB_CFLAGS) |
232 | 805 fi |
806 | |
878 | 807 dnl *** WMA |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
808 |
878 | 809 AC_ARG_ENABLE(wma, |
810 [ --disable-wma disable wma plugin. (default=enabled)], | |
811 [enable_wma=$enableval], | |
812 [enable_wma=yes] | |
0
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 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
815 if test "x$enable_wma" = "xyes"; then |
878 | 816 INPUT_PLUGINS="$INPUT_PLUGINS wma" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
817 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
818 |
2182
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
819 dnl *** Monkey's Audio |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
820 |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
821 AC_ARG_ENABLE(ape, |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
822 [ --disable-ape disable Monkey's Audio plugin. (default=enabled)], |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
823 [enable_ape=$enableval], |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
824 [enable_ape=yes] |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
825 ) |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
826 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
827 if test "x$enable_ape" = "xyes"; then |
2182
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
828 INPUT_PLUGINS="$INPUT_PLUGINS demac" |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
829 fi |
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
830 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
831 dnl *** jack output plugin |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
832 AC_ARG_ENABLE( jack, |
50 | 833 [ --disable-jack disable jack output plugin (default=enabled)], [enable_jack=$enableval], |
834 [enable_jack="yes"]) | |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
835 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
836 if test "x$enable_jack" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
837 AM_PATH_JACK(have_jack=yes, have_jack=no) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
838 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
839 AC_MSG_RESULT([*** jack plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
840 have_jack=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
841 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
842 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
843 if test "x$have_jack" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
844 OUTPUT_PLUGINS="$OUTPUT_PLUGINS jack" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
845 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
846 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
847 dnl *** arts output plugin |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
848 AC_ARG_ENABLE( arts, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
849 [ --disable-arts disable arts output plugin (default=enabled)],, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
850 enable_arts="yes") |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
851 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
852 if test "x$enable_arts" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
853 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
|
854 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
855 AC_MSG_RESULT([*** arts plugin disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
856 have_arts=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
857 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
858 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
859 if test "x$have_arts" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
860 OUTPUT_PLUGINS="$OUTPUT_PLUGINS arts" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
861 fi |
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 dnl *** sid |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
864 AC_ARG_ENABLE( sid, |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
865 [ --disable-sid disable SID input plugin (default=enabled)],, |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
866 enable_sid="yes") |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
867 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
868 if test "x$enable_sid" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
869 AM_PATH_SIDPLAY(have_sidplay=yes, have_sidplay=no) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
870 else |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
871 AC_MSG_RESULT([*** SID plugin disabled per user request ***]) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
872 have_sidplay=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
873 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
874 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
875 if test "x$have_sidplay" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
876 INPUT_PLUGINS="$INPUT_PLUGINS sid" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
877 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
878 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
879 dnl *** OSS output |
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 AC_ARG_ENABLE(oss, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
882 [ --disable-oss disable the OSS output plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
883 [enable_oss=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
884 [enable_oss=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
885 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
886 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
887 have_oss=no |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
888 if test "x$enable_oss" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
889 AC_MSG_CHECKING(for OSS include dir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
890 OSS_CFLAGS="" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
891 if test -f "/etc/oss.conf" ; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
892 for i in `cat /etc/oss.conf`; do |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
893 t=`echo $i | sed -e 's/OSSLIBDIR=//'` |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
894 if test "x$i" != "x$t" ; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
895 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
|
896 OSS_CFLAGS="-I$t/include" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
897 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
898 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
899 done |
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 -n "$OSS_CFLAGS" ; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
902 AC_MSG_RESULT([$OSS_CFLAGS]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
903 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
904 AC_MSG_RESULT([not found]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
905 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
906 CFLAGS_save=$CFLAGS |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
907 CFLAGS="$CFLAGS $OSS_CFLAGS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
908 AC_CHECK_HEADERS(soundcard.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
909 AC_CHECK_HEADERS(sys/soundcard.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
910 AC_CHECK_HEADERS(machine/soundcard.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
911 CFLAGS=$CFLAGS_save |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
912 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
913 if test "x${ac_cv_header_soundcard_h}" = "xyes" || test "x${ac_cv_header_sys_soundcard_h}" = "xyes" || test "x${ac_cv_header_machine_soundcard_h}" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
914 have_oss=yes |
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 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
917 if test "x${have_oss}" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
918 AC_MSG_CHECKING(whether we need -lossaudio) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
919 AC_TRY_LINK([ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
920 #include <sys/ioctl.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
921 #ifdef HAVE_SYS_SOUNDCARD_H |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
922 #include <sys/soundcard.h> |
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 #include <soundcard.h> |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
925 #endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
926 ], [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
927 int fd, value; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
928 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value); |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
929 ], AC_MSG_RESULT(no), [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
930 OSS_LIBS="-lossaudio" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
931 AC_MSG_RESULT(yes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
932 ]) |
6
7cac35581bd0
[svn] - only check for -lossaudio if have_oss is true (otherwise libESD is broken on many platforms)
nenolod
parents:
5
diff
changeset
|
933 fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
934 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
935 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
936 if test "x$have_oss" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
937 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
|
938 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
939 have_oss=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 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
942 if test "x$have_oss" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
943 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
944 fi |
2526
27630085a2c7
Actually substitute/define OSS_CFLAGS.
Matti Hamalainen <ccr@tnsp.org>
parents:
2521
diff
changeset
|
945 AC_SUBST(OSS_CFLAGS) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
946 AC_SUBST(OSS_LIBS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
947 |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
948 |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
949 dnl *** OSS4 output |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
950 |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
951 AC_ARG_ENABLE(oss4, |
1215
386342d66a4f
disabled OSS4 by default
Cristi Magherusan <majeru@atheme-project.org>
parents:
1213
diff
changeset
|
952 [ --enable-oss4 enable the OSS4 output plugin (default=disabled)], |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
953 [enable_oss4=$enableval], |
1215
386342d66a4f
disabled OSS4 by default
Cristi Magherusan <majeru@atheme-project.org>
parents:
1213
diff
changeset
|
954 [enable_oss4=no] |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
955 ) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
956 |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
957 have_oss4=no |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
958 if test "x$enable_oss4" = "xyes"; then |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
959 AC_MSG_CHECKING(for OSS4 include dir) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
960 OSS4_CFLAGS="" |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
961 if test -f "/etc/oss.conf" ; then |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
962 for i in `cat /etc/oss.conf`; do |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
963 t=`echo $i | sed -e 's/OSSLIBDIR=//'` |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
964 if test "x$i" != "x$t" ; then |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
965 if test -f "$t/include/sys/soundcard.h" -o -f "$i/include/soundcard.h" ; then |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
966 OSS4_CFLAGS="-I$t/include" |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
967 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
968 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
969 done |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
970 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
971 if test -n "$OSS4_CFLAGS" ; then |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
972 AC_MSG_RESULT([$OSS4_CFLAGS]) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
973 else |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
974 AC_MSG_RESULT([not found]) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
975 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
976 CFLAGS_save=$CFLAGS |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
977 CFLAGS="$CFLAGS $OSS4_CFLAGS" |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
978 AC_CHECK_HEADERS(soundcard.h) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
979 AC_CHECK_HEADERS(sys/soundcard.h) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
980 AC_CHECK_HEADERS(machine/soundcard.h) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
981 CFLAGS=$CFLAGS_save |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
982 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
983 if test "x${ac_cv_header_soundcard_h}" = "xyes" || test "x${ac_cv_header_sys_soundcard_h}" = "xyes" || test "x${ac_cv_header_machine_soundcard_h}" = "xyes"; then |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
984 have_oss4=yes |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
985 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
986 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
987 if test "x${have_oss4}" = "xyes"; then |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
988 AC_MSG_CHECKING(whether we need -lossaudio) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
989 AC_TRY_LINK([ |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
990 #include <sys/ioctl.h> |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
991 #ifdef HAVE_SYS_SOUNDCARD_H |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
992 #include <sys/soundcard.h> |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
993 #else |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
994 #include <soundcard.h> |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
995 #endif |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
996 ], [ |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
997 int fd, value; |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
998 ioctl(fd, SOUND_MIXER_READ_VOLUME, &value); |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
999 ], AC_MSG_RESULT(no), [ |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1000 OSS_LIBS="-lossaudio" |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1001 AC_MSG_RESULT(yes) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1002 ]) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1003 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1004 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1005 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1006 if test "x$have_oss4" = "xyes"; then |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1007 AC_DEFINE(HAVE_OSS4, 1, [Define if the OSS4 output plugin should be built]) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1008 else |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1009 have_oss4=no |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1010 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1011 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1012 if test "x$have_oss4" = "xyes"; then |
1213
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1013 OUTPUT_PLUGINS="$OUTPUT_PLUGINS OSS4" |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1014 fi |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1015 |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1016 AC_SUBST(OSS_LIBS) |
e49e02828f85
OSS4 VMIX-enabled fork of the OSS3 output plugin (just bypasses the mixer
Cristi Magherusan <majeru@atheme-project.org>
parents:
1190
diff
changeset
|
1017 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1018 dnl *** ALSA output plugin |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1019 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1020 AC_ARG_ENABLE(alsa, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1021 [ --disable-alsa disable ALSA input plugin (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1022 [enable_alsa=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1023 [enable_alsa=yes] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1024 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1025 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1026 if test "x$enable_alsa" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1027 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1028 [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1029 have_alsa=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1030 alsalib_available=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1031 ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1032 [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1033 have_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1034 alsalib_available=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1035 ] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1036 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1037 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1038 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
|
1039 have_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1040 alsalib_available=check |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1041 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1042 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1043 if test "x$have_alsa" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1044 OUTPUT_PLUGINS="$OUTPUT_PLUGINS alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1045 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1046 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1047 |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1048 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
|
1049 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1050 AC_ARG_ENABLE(amidiplug, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1051 [ --disable-amidiplug disable amidi-plug input plugin (default=check) ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1052 [enable_amidiplug=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1053 [enable_amidiplug=check] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1054 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1055 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1056 AC_ARG_ENABLE(amidiplug-alsa, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1057 [ --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
|
1058 [enable_amidiplug_alsa=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1059 [enable_amidiplug_alsa=auto] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1060 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1061 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1062 AC_ARG_ENABLE(amidiplug-flsyn, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1063 [ --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
|
1064 [enable_amidiplug_fluidsynth=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1065 [enable_amidiplug_fluidsynth=auto] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1066 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1067 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1068 AC_ARG_ENABLE(amidiplug-dummy, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1069 [ --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
|
1070 [enable_amidiplug_dummy=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1071 [enable_amidiplug_dummy=auto] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1072 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1073 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1074 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1075 if test "x$enable_amidiplug" = "xno"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1076 AC_MSG_RESULT([*** amidi-plug disabled per user request ***]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1077 enable_amidiplug=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1078 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1079 if test "x$enable_amidiplug_alsa" != "xauto"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1080 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1081 elif test "x$enable_amidiplug_fluidsynth" != "xauto"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1082 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1083 elif test "x$enable_amidiplug_dummy" != "xauto"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1084 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1085 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1086 fi |
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 if test "x$enable_amidiplug" = "xcheck"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1089 if test "x$alsalib_available" = "xcheck"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1090 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1091 [alsalib_available=yes],[alsalib_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1092 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1093 if test "x$alsalib_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1094 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
|
1095 if test "x$ap_have_hwsynth" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1096 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1097 ap_disable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1098 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1099 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1100 [fluidsynth_available=yes],[fluidsynth_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1101 if test "x$fluidsynth_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1102 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1103 ap_disable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1104 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1105 enable_amidiplug=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1106 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
|
1107 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1108 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1109 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1110 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1111 [fluidsynth_available=yes],[fluidsynth_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1112 if test "x$fluidsynth_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1113 enable_amidiplug=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1114 ap_disable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1115 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1116 enable_amidiplug=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1117 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
|
1118 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1119 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1120 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1121 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1122 if test "x$enable_amidiplug" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1123 INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1124 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
|
1125 PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,) |
2005
e2904348f154
Converted amidi-plug backends to the new build system.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2002
diff
changeset
|
1126 AMIDIPLUG_BACKEND_DIR=amidi-plug |
e2904348f154
Converted amidi-plug backends to the new build system.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2002
diff
changeset
|
1127 AC_SUBST(AMIDIPLUG_BACKEND_DIR) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1128 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
|
1129 if test "x$alsalib_available" = "xcheck"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1130 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1131 [alsalib_available=yes],[alsalib_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1132 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1133 if test "x$alsalib_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1134 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1135 enable_amidiplug_alsa=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1136 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1137 if test "x$enable_amidiplug_alsa" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1138 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
|
1139 enable_amidiplug_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1140 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1141 enable_amidiplug_alsa=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1142 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1143 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1144 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1145 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
|
1146 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
|
1147 PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.0.6], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1148 [fluidsynth_available=yes],[fluidsynth_available=no]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1149 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1150 if test "x$fluidsynth_available" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1151 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-fluidsynth" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1152 enable_amidiplug_fluidsynth=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1153 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1154 if test "x$enable_amidiplug_fluidsynth" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1155 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
|
1156 enable_amidiplug_fluidsynth=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1157 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1158 enable_amidiplug_fluidsynth=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1159 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1160 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1161 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1162 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
|
1163 AMIDIPLUG_BACKENDS="$AMIDIPLUG_BACKENDS backend-dummy" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1164 enable_amidiplug_dummy=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1165 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1166 AC_SUBST(AMIDIPLUG_BACKENDS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1167 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1168 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1169 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1170 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
|
1171 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1172 AC_ARG_ENABLE(timidity, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1173 [ --disable-timidity disable timidity plugin. (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1174 [enable_timidity=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1175 [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1176 if test "x$ap_disable_timidity" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1177 enable_timidity=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1178 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1179 enable_timidity=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1180 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1181 ] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1182 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1183 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1184 if test "x$enable_timidity" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1185 INPUT_PLUGINS="$INPUT_PLUGINS timidity" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1186 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1187 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1188 dnl FreeBSD newpcm driver detection |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1189 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1190 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
|
1191 if test -r "/dev/sndstat"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1192 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
|
1193 if test "x$?" = "x0"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1194 beep_cv_newpcm_driver="yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1195 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1196 beep_cv_newpcm_driver="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1197 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1198 else |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1199 beep_cv_newpcm_driver="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1200 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1201 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1202 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1203 if test "x$beep_cv_newpcm_driver" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1204 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
|
1205 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1206 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1207 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1208 AC_CHECK_HEADERS(linux/joystick.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1209 AC_CHECK_HEADERS(unistd.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1210 AC_CHECK_HEADERS(fcntl.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1211 AC_CHECK_HEADERS(sys/ioctl.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1212 AC_CHECK_HEADERS(fnmatch.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1213 AC_CHECK_HEADERS(limits.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1214 AC_CHECK_HEADERS(wchar.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1215 AC_CHECK_HEADERS(fts.h) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1216 |
736 | 1217 AC_CHECK_DECL([lrintf],[AC_DEFINE(HAVE_LRINTF,1)],[AC_CHECK_FUNCS([lrintf])],[ |
1218 #define _ISOC9X_SOURCE | |
1219 #include <math.h> | |
1220 ], [AC_CHECK_FUNCS([lrintf])]) | |
734
ff62f5530a36
[svn] - freebsd portability fixes from "The_Paya". Closes #814.
nenolod
parents:
729
diff
changeset
|
1221 AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul]) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1222 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1223 |
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
|
1224 dnl CD-Audio New Generation |
1058 | 1225 |
1375
ef07ff837063
Obliterate old-style CD-Audio and make cdaudio-ng default to on.
Tony Vroon <chainsaw@gentoo.org>
parents:
1338
diff
changeset
|
1226 AC_ARG_ENABLE(cdaudio, |
1377
4eb2bacab83a
Added an information box to cdaudio-ng
Calin Crisan ccrisan@gmail.com
parents:
1375
diff
changeset
|
1227 [ --disable-cdaudio disable cdaudio-ng input plugin (default=enabled) ], |
1058 | 1228 [enable_cdaudio_ng=$enableval], |
1375
ef07ff837063
Obliterate old-style CD-Audio and make cdaudio-ng default to on.
Tony Vroon <chainsaw@gentoo.org>
parents:
1338
diff
changeset
|
1229 [enable_cdaudio_ng=yes] |
1058 | 1230 ) |
1231 | |
1232 if test "$enable_cdaudio_ng" = "yes"; then | |
1338
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1233 PKG_CHECK_MODULES(CDIO, [libcdio >= 0.70], |
1467
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1234 , |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1235 [AC_MSG_WARN([*** Cannot find libcdio 0.70 or newer, cdaudio-ng will not be built ***]) |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1236 enable_cdaudio_ng=no] |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1237 ) |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1238 fi |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1239 |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1240 if test "$enable_cdaudio_ng" = "yes"; then |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1241 PKG_CHECK_MODULES(CDIO, [libcdio_cdda >= 0.70], |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1242 [CDIO_LIBS=`pkg-config --libs libcdio_cdda` |
1083
325c52b01e56
[svn] Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
deitarion
parents:
1082
diff
changeset
|
1243 CDIO_CFLAGS=`pkg-config --cflags libcdio_cdda` |
1058 | 1244 AC_SUBST(CDIO_LIBS) |
1245 AC_SUBST(CDIO_CFLAGS)], | |
1467
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1246 [AC_MSG_WARN([*** Cannot find libcdio_cdda 0.70 or newer, cdaudio-ng will not be built ***]) |
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1247 enable_cdaudio_ng=no] |
1338
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1248 ) |
1467
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1249 fi |
1338
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1250 |
1467
42306c187663
Fixed libcdio and libcddb autoconf detection
Calin Crisan ccrisan@gmail.com
parents:
1457
diff
changeset
|
1251 if test "$enable_cdaudio_ng" = "yes"; then |
1338
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1252 PKG_CHECK_MODULES(CDDB, [libcddb >= 1.2.1], |
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1253 [INPUT_PLUGINS="$INPUT_PLUGINS cdaudio-ng" |
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1254 CDDB_LIBS=`pkg-config --libs libcddb` |
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1255 CDDB_CFLAGS=`pkg-config --cflags libcddb` |
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1256 AC_SUBST(CDDB_LIBS) |
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1257 AC_SUBST(CDDB_CFLAGS)], |
0d4450d66bd1
Added libcddb autoconf dependency
Calin Crisan ccrisan@gmail.com
parents:
1337
diff
changeset
|
1258 [AC_MSG_WARN([*** Cannot find libcddb 1.2.1 or newer, cdaudio-ng will not be built ***]) |
1337
831720848162
Bail out if libcdio isn't found.
Alex Maclean <monkeh@monkeh.net>
parents:
1310
diff
changeset
|
1259 enable_cdaudio_ng=no] |
1058 | 1260 ) |
1261 fi | |
1262 | |
2763
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1263 AC_ARG_ENABLE(streambrowser, |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1264 [ --disable-streambrowser disable streambrowser general plugin (default=enabled) ], |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1265 [enable_streambrowser=$enableval], |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1266 [enable_streambrowser=yes] |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1267 ) |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1268 |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1269 if test "$enable_streambrowser" = "yes"; then |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1270 GENERAL_PLUGINS="$GENERAL_PLUGINS streambrowser" |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1271 fi |
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1272 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1273 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
|
1274 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
|
1275 |
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
|
1276 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
|
1277 CXXFLAGS="$CXXFLAGS $AUDACIOUS_CFLAGS $DBUS_CFLAGS" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1278 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1279 AC_MSG_CHECKING(if __ELF__ is defined) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1280 AC_EGREP_CPP(yes, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1281 [#ifdef __ELF__ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1282 yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1283 #endif |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1284 ], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1285 [is_elf=yes], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1286 [is_elf=no] |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1287 ) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1288 AC_MSG_RESULT([${is_elf}]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1289 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1290 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1291 have_solaris=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1292 have_sun=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1293 ARCH_DEFINES="" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1294 case "$host" in |
314 | 1295 *-*-openbsd* | *-*-netbsd* | *-*-mirbsd*) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1296 have_sun=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1297 if test "${is_elf}" = "no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1298 then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1299 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
|
1300 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1301 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1302 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1303 *-*-darwin*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1304 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
|
1305 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1306 *-hpux-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1307 ARCH_DEFINES="-DHPUX" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1308 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1309 *-*-solaris* | *-*-sunos*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1310 have_solaris=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1311 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1312 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1313 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1314 arch_type=other |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1315 x86_asm=no |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1316 case "$host" in |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1317 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1318 arch_type=ix86 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1319 case "$host" in |
314 | 1320 *-*-netbsd* | *-*openbsd* | *-*-mirbsd*) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1321 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1322 *) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1323 ARCH_DEFINES="-DI386_ASSEM" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1324 x86_asm=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1325 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1326 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1327 ;; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1328 esac |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1329 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1330 dnl *** Scrobbler *** |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1331 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1332 scrobbler="yes" |
2027
46bfefacb8b7
Removed some curl leftovers.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2024
diff
changeset
|
1333 have_lastfm="no" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1334 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1335 dnl libcurl check |
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 my_cv_curl_vers=NONE |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1338 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
|
1339 check="7.9.7" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1340 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
|
1341 check_hex="070907" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1342 |
2027
46bfefacb8b7
Removed some curl leftovers.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2024
diff
changeset
|
1343 PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], [], [scrobbler="no"]) |
46bfefacb8b7
Removed some curl leftovers.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2024
diff
changeset
|
1344 AC_SUBST(CURL_CFLAGS) |
46bfefacb8b7
Removed some curl leftovers.
Eugene Paskevich <eugene@raptor.kiev.ua>
parents:
2024
diff
changeset
|
1345 AC_SUBST(CURL_LIBS) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1346 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1347 if test "x$scrobbler" = "xyes"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1348 GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler" |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1349 TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS lastfm" |
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1350 have_lastfm="yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1351 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1352 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1353 dnl *** End of Scrobbler checks *** |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1354 |
1718
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1355 dnl *** neon http plugin *** |
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1356 |
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1357 AC_ARG_ENABLE(neon, |
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1358 [ --enable-neon enable neon support (experimental). (default=disabled)], |
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1359 [have_neon=$enableval], |
2024
361ee83691e9
enable neon by default
William Pitcock <nenolod@atheme.org>
parents:
2023
diff
changeset
|
1360 [have_neon=yes]) |
1718
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1361 |
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1362 if test "x$have_neon" = "xyes"; then |
1906
353787f211ec
- Make code compilable against neon 0.26 by dropping the connect timeout.
Ralf Ertzinger <ralf@skytale.net>
parents:
1879
diff
changeset
|
1363 PKG_CHECK_MODULES(NEON, [neon >= 0.26], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS neon" ], [have_neon="no"]) |
2674
b84f2aca1675
Fixed js's commit, and few other things.
Matti Hamalainen <ccr@tnsp.org>
parents:
2673
diff
changeset
|
1364 AC_CHECK_LIB([neon], [ne_set_connect_timeout], [AC_DEFINE(HAVE_NE_SET_CONNECT_TIMEOUT, 1, [Whether we have ne_set_connect_timeout])], [], [$NEON_LIBS]) |
1718
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1365 else |
2674
b84f2aca1675
Fixed js's commit, and few other things.
Matti Hamalainen <ccr@tnsp.org>
parents:
2673
diff
changeset
|
1366 have_neon="no" |
1718
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1367 fi |
2674
b84f2aca1675
Fixed js's commit, and few other things.
Matti Hamalainen <ccr@tnsp.org>
parents:
2673
diff
changeset
|
1368 AC_SUBST([NEON_LIBS]) |
b84f2aca1675
Fixed js's commit, and few other things.
Matti Hamalainen <ccr@tnsp.org>
parents:
2673
diff
changeset
|
1369 AC_SUBST([NEON_CFLAGS]) |
1718
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1370 |
892deefba58d
- Add neon HTTP transport plugin sources
Ralf Ertzinger <ralf@skytale.net>
parents:
1710
diff
changeset
|
1371 |
503 | 1372 dnl *** MMS |
1373 | |
1374 AC_ARG_ENABLE(mms, | |
1375 [ --disable-mms disable mms support. (default=enabled)], | |
1376 [have_mms=$enableval], | |
1377 [have_mms=yes]) | |
1378 | |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1379 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
|
1380 have_mms=yes |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1381 PKG_CHECK_MODULES(MMS, [libmms >= 0.3], [TRANSPORT_PLUGINS="$TRANSPORT_PLUGINS mms" ], [have_mms="no"]) |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1382 else |
503 | 1383 have_mms=no |
1384 AC_MSG_RESULT([*** mms plugin disabled by request ***]) | |
1385 fi | |
1386 | |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1387 |
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1388 dnl *** MTP Upload |
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1389 |
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1390 AC_ARG_ENABLE(mtp_up, |
1523
ff7d0178ba8e
fixed build system, now MTP support gets compiled if one has libmtp installed
Cristi Magherusan <majeru@atheme-project.org>
parents:
1500
diff
changeset
|
1391 [ --disable-mtp_up disable mtp upload support. (default=enabled)], |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1392 [have_mtp_up=$enableval], |
1523
ff7d0178ba8e
fixed build system, now MTP support gets compiled if one has libmtp installed
Cristi Magherusan <majeru@atheme-project.org>
parents:
1500
diff
changeset
|
1393 [have_mtp_up=yes]) |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1394 |
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1395 if test "x$have_mtp_up" = "xyes"; then |
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1396 have_mtp_up=yes |
1523
ff7d0178ba8e
fixed build system, now MTP support gets compiled if one has libmtp installed
Cristi Magherusan <majeru@atheme-project.org>
parents:
1500
diff
changeset
|
1397 PKG_CHECK_MODULES(MTP, [libmtp >= 0.1.3], [GENERAL_PLUGINS="$GENERAL_PLUGINS mtp_up" ], [have_mtp_up="no"]) |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1398 MTP_LIBS=`pkg-config --libs libmtp` |
1457
71138874c5fd
fixed linking
Cristi Magherusan <majeru@atheme-project.org>
parents:
1456
diff
changeset
|
1399 MTP_CFLAGS=`pkg-config --cflags libmtp` |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1400 else |
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1401 have_mtp_up=no |
1523
ff7d0178ba8e
fixed build system, now MTP support gets compiled if one has libmtp installed
Cristi Magherusan <majeru@atheme-project.org>
parents:
1500
diff
changeset
|
1402 AC_MSG_RESULT([*** mtp upload plugin disabled by request ***]) |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1403 fi |
1457
71138874c5fd
fixed linking
Cristi Magherusan <majeru@atheme-project.org>
parents:
1456
diff
changeset
|
1404 AC_SUBST(MTP_LIBS) |
71138874c5fd
fixed linking
Cristi Magherusan <majeru@atheme-project.org>
parents:
1456
diff
changeset
|
1405 AC_SUBST(MTP_CFLAGS) |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1406 |
2644
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1407 dnl *** Bluetooth audio suport |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1408 |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1409 AC_ARG_ENABLE(bluetooth, |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1410 [ --disable-bluetooth disable bluetooth audio support. (default=enabled)], |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1411 [have_bluetooth=$enableval], |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1412 [have_bluetooth=yes]) |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1413 |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1414 if test "x$have_bluetooth" = "xyes"; then |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1415 have_bluetooth=yes |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1416 PKG_CHECK_MODULES(BLUEZ, [bluez >= 2.22], |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1417 [GENERAL_PLUGINS="$GENERAL_PLUGINS bluetooth" ], [have_bluetooth="no"]) |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1418 BLUEZ_LIBS=`pkg-config --libs bluez` |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1419 BLUEZ_CFLAGS=`pkg-config --cflags bluez` |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1420 else |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1421 have_bluetooth=no |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1422 AC_MSG_RESULT([*** bluetooth audio suport plugin disabled by request ***]) |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1423 fi |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1424 AC_SUBST(BLUEZ_LIBS) |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1425 AC_SUBST(BLUEZ_CFLAGS) |
6fd8ca4b7b17
add bluetooth plugin
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2526
diff
changeset
|
1426 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1427 dnl *** libparanormal checks |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1428 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1429 AC_ARG_ENABLE(paranormal, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1430 [ --disable-paranormal disable paranormal vis plugin. (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1431 [have_paranormal=$enableval], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1432 [have_paranormal=yes]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1433 |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1434 if test "x$have_paranormal" = "xyes"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1435 have_paranormal=yes |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1436 AM_PATH_SDL(1.2.5, , [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1437 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
|
1438 have_paranormal="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1439 ]) |
874
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1440 else |
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1441 have_paranormal=no |
5b29a6fe9295
[svn] - clear up some configure bugs, pointed out by freebsd port patches
nenolod
parents:
856
diff
changeset
|
1442 AC_MSG_RESULT([*** paranormal plugin disabled by request ***]) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1443 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1444 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1445 AC_ARG_ENABLE(xspf, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1446 [ --disable-xspf disable XSPF support. (default=enabled)], |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1447 [have_xspf=$enableval], [have_xspf=yes]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1448 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1449 AM_PATH_XML2(2.0.0, , [ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1450 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
|
1451 have_paranormal="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1452 have_xspf="no" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1453 ]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1454 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1455 if test "x$have_paranormal" = "xyes"; then |
1821
eee1f51296ed
rovascope: drop from distribution due to too many bugs
William Pitcock <nenolod@atheme.org>
parents:
1764
diff
changeset
|
1456 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS paranormal" |
149
fd9c0a5871ac
[svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
148
diff
changeset
|
1457 fi |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1458 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1459 if test "x$have_xspf" = "xyes"; then |
364 | 1460 CONTAINER_PLUGINS="$CONTAINER_PLUGINS xspf" |
1461 fi | |
1462 | |
1919
266f1bf0d5fc
Add support for projectM-1.0, soon to be released
Kieran Clancy <clancy.kieran+audacious@gmail.com>
parents:
1912
diff
changeset
|
1463 dnl *** projectM (GL Milkdrop port) |
358 | 1464 |
1465 AC_ARG_ENABLE(projectm, | |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1466 [ --disable-projectm disable projectM vis plugin. (default=enabled)], |
358 | 1467 [have_projectm=$enableval], |
1468 [have_projectm=yes]) | |
1469 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1470 if test "x$have_projectm" = "xyes"; then |
1919
266f1bf0d5fc
Add support for projectM-1.0, soon to be released
Kieran Clancy <clancy.kieran+audacious@gmail.com>
parents:
1912
diff
changeset
|
1471 PKG_CHECK_MODULES(LIBPROJECTM, libprojectM < 1.0, [have_projectm="yes"], [have_projectm="no"]) |
1294 | 1472 AM_PATH_SDL(1.2.5, , [ |
1473 AC_MSG_WARN([*** SDL is not installed. projectM will not be built. ***]) | |
1474 have_projectm="no" | |
1475 ]) | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1476 if test "x$libprjM" = "xno"; then |
358 | 1477 AC_MSG_WARN([*** libprojectM not found. |
1478 libprojectM is needed to build this package. | |
1919
266f1bf0d5fc
Add support for projectM-1.0, soon to be released
Kieran Clancy <clancy.kieran+audacious@gmail.com>
parents:
1912
diff
changeset
|
1479 You can download libprojectM at http://projectm.sf.net/]) |
358 | 1480 fi |
1481 LIBPROJECTM_datadir=`pkg-config --variable=pkgdatadir libprojectM`; | |
1482 LIBPROJECTM_sysconfdir=`pkg-config --variable=sysconfdir libprojectM`; | |
1483 LIBPROJECTM_CFLAGS="$LIBPROJECTM_CFLAGS -DPROJECTM_DATADIR=\\\"$LIBPROJECTM_datadir\\\" -DPROJECTM_SYSCONFDIR=\\\"$LIBPROJECTM_sysconfdir\\\""; | |
1484 fi | |
1485 AC_SUBST(LIBPROJECTM_LIBS) | |
1486 AC_SUBST(LIBPROJECTM_CFLAGS) | |
1487 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1488 if test "x$have_projectm" = "xyes"; then |
358 | 1489 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS projectm" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1490 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1491 |
2136
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1492 dnl *** projectM (GL Milkdrop port) |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1493 |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1494 AC_ARG_ENABLE(projectm-1.0, |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1495 [ --disable-projectm-1.0 disable projectM 1.0+ vis plugin. (default=enabled)], |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1496 [have_projectm1=$enableval], |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1497 [have_projectm1=yes]) |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1498 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1499 if test "x$have_projectm1" = "xyes"; then |
2412
49c27d619ffc
Fix configure.ac to be less retarded.
William Pitcock <nenolod@atheme.org>
parents:
2401
diff
changeset
|
1500 PKG_CHECK_MODULES(GTKGLEXT, [gtkglext-1.0 >= 1.2.0], [have_projectm1="yes"], [have_projectm1="no"]) |
49c27d619ffc
Fix configure.ac to be less retarded.
William Pitcock <nenolod@atheme.org>
parents:
2401
diff
changeset
|
1501 fi |
49c27d619ffc
Fix configure.ac to be less retarded.
William Pitcock <nenolod@atheme.org>
parents:
2401
diff
changeset
|
1502 |
49c27d619ffc
Fix configure.ac to be less retarded.
William Pitcock <nenolod@atheme.org>
parents:
2401
diff
changeset
|
1503 if test "$have_projectm1" = "yes"; then |
2492
478622d66962
use projectm 1.1 again
William Pitcock <nenolod@atheme.org>
parents:
2449
diff
changeset
|
1504 PKG_CHECK_MODULES(LIBPROJECTM1, [libprojectM >= 1.1], [have_projectm1="yes"], [have_projectm1="no"]) |
2136
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1505 if test x$libprjM = xno; then |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1506 AC_MSG_WARN([*** libprojectM not found. |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1507 libprojectM is needed to build this package. |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1508 You can download libprojectM at http://projectm.sf.net/]) |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1509 fi |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1510 LIBPROJECTM1_datadir=`pkg-config --variable=pkgdatadir libprojectM`; |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1511 LIBPROJECTM1_sysconfdir=`pkg-config --variable=sysconfdir libprojectM`; |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1512 LIBPROJECTM1_prefix=`pkg-config --variable=prefix libprojectM`; |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1513 LIBPROJECTM1_CFLAGS="$LIBPROJECTM1_CFLAGS -DPROJECTM_DATADIR=\\\"$LIBPROJECTM1_datadir\\\" -DPROJECTM_SYSCONFDIR=\\\"$LIBPROJECTM1_sysconfdir\\\" -DPROJECTM_PREFIX=\\\"$LIBPROJECTM1_prefix\\\""; |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1514 fi |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1515 AC_SUBST(LIBPROJECTM1_LIBS) |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1516 AC_SUBST(LIBPROJECTM1_CFLAGS) |
2400
a0746d858e31
Depend on gtkglext for projectm-1.0 instead of SDL.
William Pitcock <nenolod@atheme.org>
parents:
2399
diff
changeset
|
1517 AC_SUBST(GTKGLEXT_LIBS) |
a0746d858e31
Depend on gtkglext for projectm-1.0 instead of SDL.
William Pitcock <nenolod@atheme.org>
parents:
2399
diff
changeset
|
1518 AC_SUBST(GTKGLEXT_CFLAGS) |
2136
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1519 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1520 if test "x$have_projectm1" = "xyes"; then |
2136
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1521 VISUALIZATION_PLUGINS="$VISUALIZATION_PLUGINS projectm-1.0" |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1522 fi |
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1523 |
290 | 1524 dnl *** TTA |
1525 | |
1526 AC_ARG_ENABLE(tta, | |
1527 [ --disable-tta disable TrueAudio plugin (default=enabled) ], | |
1528 [enable_tta=$enableval], | |
1529 [enable_tta=yes] | |
1530 ) | |
1531 | |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1532 if test "x$enable_tta" = "xyes"; then |
290 | 1533 INPUT_PLUGINS="$INPUT_PLUGINS tta" |
1534 fi | |
1535 | |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1536 dnl *** FileWriter |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1537 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1538 AC_ARG_ENABLE(filewriter, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1539 [ --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
|
1540 [enable_filewriter=$enableval], |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1541 [enable_filewriter=yes] |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1542 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1543 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1544 if test "x$enable_filewriter" = "xyes"; then |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1545 OUTPUT_PLUGINS="$OUTPUT_PLUGINS filewriter" |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1546 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1547 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1548 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1549 AC_ARG_ENABLE(filewriter_mp3, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1550 [ --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
|
1551 [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
|
1552 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1553 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1554 if test "x$enable_filewriter_mp3" = "xyes"; then |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1555 AC_CHECK_LIB(mp3lame -lm, lame_init, [have_lame=yes], [have_lame=no]) |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1556 if test "x$have_lame" = "xyes"; then |
2097
6e4ad45c21d6
make it build on MacOS again
William Pitcock <nenolod@atheme.org>
parents:
2027
diff
changeset
|
1557 AC_DEFINE(FILEWRITER_MP3, 1, [Define if MP3 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
|
1558 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
|
1559 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1560 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1561 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1562 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1563 AC_ARG_ENABLE(filewriter_vorbis, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1564 [ --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
|
1565 [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
|
1566 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1567 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1568 if test "x$enable_filewriter_vorbis" = "xyes"; then |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1569 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
|
1570 [have_vorbisenc=yes], [have_vorbisenc=no]) |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1571 if test "x$have_vorbisenc" = "xyes"; then |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1572 AC_DEFINE(FILEWRITER_VORBIS, 1, [Define if Vorbis output part should be built]) |
2097
6e4ad45c21d6
make it build on MacOS again
William Pitcock <nenolod@atheme.org>
parents:
2027
diff
changeset
|
1573 FILEWRITER_CFLAGS="$FILEWRITER_CFLAGS `pkg-config --cflags vorbisenc`" |
1190
ed2d7787779e
more warning elimination.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1173
diff
changeset
|
1574 FILEWRITER_LIBS="$FILEWRITER_LIBS `pkg-config --libs vorbisenc`" |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1575 fi |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1576 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1577 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1578 |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1579 AC_ARG_ENABLE(filewriter_flac, |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1580 [ --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
|
1581 [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
|
1582 ) |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1583 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1584 if test "x$enable_filewriter_flac" = "xyes"; then |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1585 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
|
1586 [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
|
1587 ) |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1588 if test "x$have_writer_flac" = "xyes"; then |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1589 AC_DEFINE(FILEWRITER_FLAC, 1, [Define if FLAC output part should be built]) |
2097
6e4ad45c21d6
make it build on MacOS again
William Pitcock <nenolod@atheme.org>
parents:
2027
diff
changeset
|
1590 FILEWRITER_CFLAGS="$FILEWRITER_CFLAGS `pkg-config --cflags flac`" |
1190
ed2d7787779e
more warning elimination.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
1173
diff
changeset
|
1591 FILEWRITER_LIBS="$FILEWRITER_LIBS `pkg-config --libs flac`" |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1592 fi |
1001
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1593 fi |
8825a00d57d7
[svn] - configure.ac changes for FileWriter (are likely to have to be fixed)
mf0102
parents:
973
diff
changeset
|
1594 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1595 if test "x$enable_filewriter" != "xyes"; then |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1596 have_lame=no |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1597 have_vorbisenc=no |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1598 have_writer_flac=no |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1599 FILEWRITER_LIBS="" |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1600 fi |
2097
6e4ad45c21d6
make it build on MacOS again
William Pitcock <nenolod@atheme.org>
parents:
2027
diff
changeset
|
1601 AC_SUBST(FILEWRITER_CFLAGS) |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1602 AC_SUBST(FILEWRITER_LIBS) |
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1603 |
2778
28d9a2148cad
fixed plugins build order: filewriter needs to be built before icecast
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2777
diff
changeset
|
1604 if test "x$have_shout" = "xyes"; then |
28d9a2148cad
fixed plugins build order: filewriter needs to be built before icecast
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2777
diff
changeset
|
1605 OUTPUT_PLUGINS="$OUTPUT_PLUGINS icecast" |
28d9a2148cad
fixed plugins build order: filewriter needs to be built before icecast
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2777
diff
changeset
|
1606 fi |
28d9a2148cad
fixed plugins build order: filewriter needs to be built before icecast
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2777
diff
changeset
|
1607 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1608 dnl *** End of all plugin checks *** |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1609 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1610 AC_SUBST(ARCH_DEFINES) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1611 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1612 dnl XXX delete ASAP -nenolod |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1613 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1614 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1615 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1616 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1617 |
10 | 1618 plugindir=`pkg-config audacious --variable=plugin_dir` |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1619 AC_SUBST(plugindir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1620 |
10 | 1621 dnl XXX |
1622 | |
1623 INPUT_PLUGIN_DIR=Input | |
1624 OUTPUT_PLUGIN_DIR=Output | |
1625 EFFECT_PLUGIN_DIR=Effect | |
1626 GENERAL_PLUGIN_DIR=General | |
1627 VISUALIZATION_PLUGIN_DIR=Visualization | |
1628 CONTAINER_PLUGIN_DIR=Container | |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1629 TRANSPORT_PLUGIN_DIR=Transport |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1630 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1631 AC_SUBST(INPUT_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1632 AC_SUBST(OUTPUT_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1633 AC_SUBST(EFFECT_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1634 AC_SUBST(GENERAL_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1635 AC_SUBST(VISUALIZATION_PLUGIN_DIR) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1636 AC_SUBST(CONTAINER_PLUGIN_DIR) |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1637 AC_SUBST(TRANSPORT_PLUGIN_DIR) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1638 AC_SUBST(pluginsubs) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1639 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1640 dnl XXX Work around some autoconf bugs. |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1641 if test "x$prefix" = "xNONE"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1642 prefix="${ac_default_prefix}" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1643 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1644 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1645 if test -z "$datadir"; then |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1646 datadir="${prefix}/share" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1647 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1648 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1649 localedir="$datadir/locale" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1650 AC_SUBST(localedir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1651 |
94
230d8b49db8b
[svn] - do not use a different DATA_DIR for audacious-plugins
giacomo
parents:
59
diff
changeset
|
1652 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
|
1653 CFLAGS="$CFLAGS $EXTRA_CFLAGS" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1654 |
2454
2c8bb51ba9cd
Minor shellscript consistency cleanups, always test strings
Matti Hamalainen <ccr@tnsp.org>
parents:
2449
diff
changeset
|
1655 if test "x$enable_user_plugin_dir" = "xno"; then |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1656 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
|
1657 fi |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1658 |
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
|
1659 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
|
1660 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1661 AC_SUBST(BEEP_DEFINES) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1662 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1663 AC_SUBST(beepdir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1664 AC_SUBST(plugindir) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1665 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1666 AC_SUBST(EFFECT_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1667 AC_SUBST(GENERAL_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1668 AC_SUBST(INPUT_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1669 AC_SUBST(OUTPUT_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1670 AC_SUBST(VISUALIZATION_PLUGINS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1671 AC_SUBST(CONTAINER_PLUGINS) |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1672 AC_SUBST(TRANSPORT_PLUGINS) |
1046
9b8400ca5ee8
[svn] - add a check for gcc version. now -fgnu89-inline is added only if gcc is 4.2.0 or more.
yaz
parents:
1043
diff
changeset
|
1673 AC_SUBST(GCC42_CFLAGS) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1674 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1675 AC_CONFIG_FILES([ |
1764
0b6e61f2f22b
Connect Mk2 to autoconf.
William Pitcock <nenolod@atheme.org>
parents:
1724
diff
changeset
|
1676 buildsys.mk |
0b6e61f2f22b
Connect Mk2 to autoconf.
William Pitcock <nenolod@atheme.org>
parents:
1724
diff
changeset
|
1677 extra.mk |
391 | 1678 po/Makefile.in |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1679 ]) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1680 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1681 AC_OUTPUT |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1682 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1683 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1684 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1685 echo "Configuration:" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1686 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1687 echo " Install path: ${audacious_plugin_root}" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1688 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1689 echo " Output Plugins" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1690 echo " --------------" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1691 echo " Open Sound System (oss): $have_oss" |
1215
386342d66a4f
disabled OSS4 by default
Cristi Magherusan <majeru@atheme-project.org>
parents:
1213
diff
changeset
|
1692 echo " Open Sound System v4 (oss4): $have_oss4" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1693 echo " Advanced Linux Sound Arch. (alsa): $have_alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1694 echo " Enlightenment Sound Daemon (esd): $have_esd" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1695 echo " Jack Audio Connection Kit (jack): $have_jack" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1696 echo " Analog Realtime Synthesizer (arts): $have_arts" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1697 echo " BSD/SUN audio output (sun): $have_sun" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1698 echo " PulseAudio sound server (pulse_audio): $have_pulse" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1699 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
|
1700 echo " FileWriter: $enable_filewriter" |
1043
f65aa5417221
[svn] I will murder someone if I have to fix the buildsystem again.
kiyoshi
parents:
1039
diff
changeset
|
1701 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
|
1702 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
|
1703 echo " -> FileWriter FLAC output part: $have_writer_flac" |
2769
073c6eac0390
check for libshout in configure
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2454
diff
changeset
|
1704 echo " Icecast audio output (icecast): $have_shout" |
560 | 1705 echo " Null Audio output (null): yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1706 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1707 echo " Input Plugins" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1708 echo " -------------" |
622
70f3b14434b2
[svn] - remove the buggy memoryleaking mpg123 and integrate madplug into the
nenolod
parents:
579
diff
changeset
|
1709 echo " MPEG 1/2/3 (madplug): $enable_mp3" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1710 echo " MPEG 4 Audio (AAC): $enable_aac" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1711 echo " Windows Media Audio (wma): $enable_wma" |
2182
cc5e9ec110a4
Added initial version of Monkey's Audio plugin
Eugene Zagidullin <e.asphyx@gmail.com>
parents:
2178
diff
changeset
|
1712 echo " Monkey's Audio (ape): $enable_ape" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1713 echo " Module decoder (modplug): $have_modplug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1714 echo " MIDI modular plugin (amidi-plug): $enable_amidiplug" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1715 echo " -> ALSA backend: $enable_amidiplug_alsa" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1716 echo " -> FluidSynth backend: $enable_amidiplug_fluidsynth" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1717 echo " -> dummy backend: $enable_amidiplug_dummy" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1718 echo " MIDI to WAVE converter (timidity): $enable_timidity" |
1375
ef07ff837063
Obliterate old-style CD-Audio and make cdaudio-ng default to on.
Tony Vroon <chainsaw@gentoo.org>
parents:
1338
diff
changeset
|
1719 echo " CD Digital Audio (cdaudio_ng): $enable_cdaudio_ng" |
2303
5561e63e9133
threw out the WAV plugin in favour of the sndfile plugin
mf0102 <0102@gmx.at>
parents:
2182
diff
changeset
|
1720 echo " sndfile extensions: $enable_sndfile" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1721 echo " Tone Generator: yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1722 echo " Ogg Vorbis (vorbis): $have_oggvorbis" |
930
2f742d127b3e
[svn] - initial import of flacng from audacious-flacng-0.012
nenolod
parents:
923
diff
changeset
|
1723 echo " Free Lossless Audio Codec (flacng): $have_flacng" |
2704
5719fca5b7a4
Inform the user about in-going SID-plugin options bit better.
Matti Hamalainen <ccr@tnsp.org>
parents:
2674
diff
changeset
|
1724 echo " Commodore 64 audio (SID): $have_sidplay $xs_have_sidplay2_api" |
5719fca5b7a4
Inform the user about in-going SID-plugin options bit better.
Matti Hamalainen <ccr@tnsp.org>
parents:
2674
diff
changeset
|
1725 echo " -> libSIDPlay1 support: $xs_have_sidplay1" |
5719fca5b7a4
Inform the user about in-going SID-plugin options bit better.
Matti Hamalainen <ccr@tnsp.org>
parents:
2674
diff
changeset
|
1726 echo " -> libSIDPlay2 support: $xs_have_sidplay2" |
5719fca5b7a4
Inform the user about in-going SID-plugin options bit better.
Matti Hamalainen <ccr@tnsp.org>
parents:
2674
diff
changeset
|
1727 echo " -> distortion patched libSIDPlay2: $xs_have_distortion" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1728 echo " Game music (spc, nsf & gbs): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1729 echo " PlayStation audio (sexypsf): yes" |
2755
5a0f5e9af5ef
Add psf2 plugin to build process.
William Pitcock <nenolod@atheme.org>
parents:
2727
diff
changeset
|
1730 echo " PlayStation2 audio (psf2): yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1731 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
|
1732 echo " Apple Lossless Audio Codec (alac): yes" |
110 | 1733 echo " WavPack 4.31+ (wavpack): $have_wavpack" |
232 | 1734 echo " Musepack support (musepack): $enable_musepack" |
290 | 1735 echo " TrueAudio (tta): $enable_tta" |
315
2294f3a6f136
[svn] Metronom (a.k.a. tact generator) input plugin, ported from XMMS.
chainsaw
parents:
314
diff
changeset
|
1736 echo " Metronom: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1737 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1738 echo " General" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1739 echo " -------" |
121 | 1740 echo " Alarm: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1741 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
|
1742 echo " Status Icon: $have_statusicon" |
579 | 1743 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
|
1744 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
|
1745 echo " Control via event device (evdev-plug): $have_evdevplug" |
1543
ec4e8ec829b1
Include global hotkey plugin in build system (src/hotkey)
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1540
diff
changeset
|
1746 echo " Global Hotkey Plugin: $have_hotkey" |
1724
655949f889ec
New Gnome shortcuts plugin to listen for Gnome's shortcuts over dbus
Sascha Hlusiak <contact@saschahlusiak.de>
parents:
1720
diff
changeset
|
1747 echo " Gnome Shortcuts Plugin: $have_gnomeshortcuts" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1748 echo " LIRC: $have_lirc" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1749 echo " AudioScrobbler Client: $scrobbler" |
1456
475eac76a8ba
MTP upload plugin
Cristi Magherusan <majeru@atheme-project.org>
parents:
1377
diff
changeset
|
1750 echo " Upload to MTP device: $have_mtp_up" |
2778
28d9a2148cad
fixed plugins build order: filewriter needs to be built before icecast
Andrew O. Shadoura <bugzilla@tut.by>
parents:
2777
diff
changeset
|
1751 echo " Bluetooth audio support: $have_bluetooth" |
1710
5dfa4fc721b0
Add dockalbumart plugin for MacOS. (this could also be ported to GNOME's AWN too.)
William Pitcock <nenolod@atheme.org>
parents:
1543
diff
changeset
|
1752 echo " MacOS Dock Album Art plugin: $have_dockalbumart" |
2763
bbde87558ec7
integrated streambrowser into the main buildsystem
Calin Crisan ccrisan@gmail.com
parents:
2755
diff
changeset
|
1753 echo " Streambrowser: $enable_streambrowser" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1754 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1755 echo " Effect" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1756 echo " ------" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1757 echo " AudioCompressor (AGC): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1758 echo " LADSPA effects host (ladspa): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1759 echo " Voice Removal: yes" |
125 | 1760 echo " Extra Stereo: yes" |
127
46730e83b1e2
[svn] - echo plugin support by Christian Birchinger <joker -at- gentoo.org>
nenolod
parents:
125
diff
changeset
|
1761 echo " Echo/Surround: yes" |
882 | 1762 echo " SndStretch: yes" |
2521
c9d6887cd5d4
added a configure message for crystalizer
Cristi Magherusan <majeru@atheme.org>
parents:
2518
diff
changeset
|
1763 echo " Crystalizer: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1764 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1765 echo " Visualization" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1766 echo " -------------" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1767 echo " Blur Scope: yes" |
146
03cfb311eafd
[svn] - spectrum analyzer plugin based on blurscope and a little of xmms-finespectrum
nenolod
parents:
144
diff
changeset
|
1768 echo " Spectrum Analyzer: yes" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1769 echo " Paranormal Visualization Library: $have_paranormal" |
1919
266f1bf0d5fc
Add support for projectM-1.0, soon to be released
Kieran Clancy <clancy.kieran+audacious@gmail.com>
parents:
1912
diff
changeset
|
1770 echo " projectM 0.x (GL milkdrop): $have_projectm" |
2136
9bdb5aba5e00
Backed out changeset 3bbb2673419b
William Pitcock <nenolod@atheme.org>
parents:
2135
diff
changeset
|
1771 echo " projectM 1.x (GL milkdrop): $have_projectm1" |
900
d985f0dcdeb0
[svn] - add a starting point for xmms-rootvis port. giacomo will need to
nenolod
parents:
882
diff
changeset
|
1772 echo " RootVis plugin: $have_rootvis" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1773 echo |
503 | 1774 echo " Transport" |
1775 echo " ---------" | |
1776 echo " stdio transport: yes" | |
1720
48b4c7d504f7
Make configure show neon plugin status
Ralf Ertzinger <ralf@skytale.net>
parents:
1718
diff
changeset
|
1777 echo " neon-based http/https: $have_neon" |
503 | 1778 echo " libmms-based mms: $have_mms" |
1173
5896bd827cbc
[svn] - move transport plugins into Transport subdirectory.
yaz
parents:
1138
diff
changeset
|
1779 echo " lastfm transport: $have_lastfm" |
503 | 1780 echo |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1781 echo " Container" |
44 | 1782 echo " ---------" |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1783 echo " Winamp PLS playlist format (pls): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1784 echo " M3U playlist format (m3u): yes" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1785 echo " XML Sharable Playlist Format (xspf): $have_xspf" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1786 echo |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1787 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1788 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
|
1789 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
|
1790 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
|
1791 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
|
1792 echo "anyway, simply use --enable-timidity in configuration." |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1793 echo "" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1794 fi |