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