Mercurial > audlegacy
annotate configure.ac @ 2085:472be23d11a1 trunk
[svn] - finish conversion to new API.
author | nenolod |
---|---|
date | Mon, 11 Dec 2006 04:19:56 -0800 |
parents | 58ea18909fe7 |
children | 33f768ab6418 |
rev | line source |
---|---|
0 | 1 dnl Process this file with autoconf to produce a configure script. |
2 | |
1952 | 3 AC_INIT([audacious], [1.3.0], [bugs+audacious@atheme.org]) |
1420 | 4 AC_PREREQ([2.59]) |
0 | 5 |
6 AC_CANONICAL_HOST | |
7 AC_CANONICAL_TARGET | |
8 | |
9 AC_CONFIG_HEADERS([config.h]) | |
10 | |
11 dnl libbeep | |
12 LIBBEEP_MAJOR_VERSION=2 | |
13 LIBBEEP_MINOR_VERSION=0 | |
14 LIBBEEP_MICRO_VERSION=0 | |
15 LIBBEEP_VERSION=$LIBBEEP_MAJOR_VERSION.$LIBBEEP_MINOR_VERSION.$LIBBEEP_MICRO_VERSION | |
16 AC_SUBST(LIBBEEP_MAJOR_VERSION) | |
17 AC_SUBST(LIBBEEP_MINOR_VERSION) | |
18 AC_SUBST(LIBBEEP_MICRO_VERSION) | |
19 | |
38 | 20 dnl XXX kludge for FreeBSD |
21 if test -d "/usr/X11R6/include"; then | |
22 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include" | |
23 fi | |
0 | 24 |
756 | 25 AM_INIT_AUTOMAKE |
26 | |
0 | 27 dnl GNU gettext |
28 | |
29 AM_GNU_GETTEXT | |
30 AM_GNU_GETTEXT_VERSION([0.12.1]) | |
31 | |
32 | |
33 dnl Check for C compiler | |
34 | |
1353
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
35 AC_PROG_CC |
35ef03569852
[svn] Hook up Altivec-enabled DCT64 for MP3. WMA throws a tantrum on Altivec machines. Submit a patch, or wait for me to fix it.
chainsaw
parents:
1317
diff
changeset
|
36 AC_PROG_CXX |
0 | 37 AC_ISC_POSIX |
38 AC_C_BIGENDIAN | |
39 | |
40 dnl Check for assembler | |
41 | |
42 AM_PROG_AS | |
43 | |
44 dnl Checks for various programs | |
45 | |
46 AC_PROG_INSTALL | |
47 AC_PROG_LN_S | |
48 AC_PROG_MAKE_SET | |
49 | |
750 | 50 AC_PATH_PROG(RM, rm) |
51 AC_PATH_PROG(MV, mv) | |
52 AC_PATH_PROG(CP, cp) | |
53 AC_PATH_PROG(AR, ar) | |
54 AC_PATH_PROG(RANLIB, ranlib) | |
55 | |
0 | 56 dnl Path settings |
57 | |
58 AC_PATH_PROG(BEEP_PATH, audacious, no) | |
59 | |
60 AC_ARG_WITH(rc-path, | |
2005 | 61 [ --with-rc-path=path Resource and configuration path for audacious relative to $HOME.], |
0 | 62 [rc_path=$withval], |
63 [rc_path=.audacious] | |
64 ) | |
65 AC_DEFINE_UNQUOTED(BMP_RCPATH, "$rc_path", | |
535 | 66 [Resource and configuration path for audacious relative to $HOME.] |
0 | 67 ) |
68 AC_SUBST(BMP_RCPATH) | |
69 | |
70 AC_ARG_ENABLE(one-plugin-dir, | |
71 [ --enable-one-plugin-dir Use a single plugin dir [default=no]], | |
72 [enable_one_plugin_dir=$enableval], | |
73 [enable_one_plugin_dir=no] | |
74 ) | |
75 | |
76 AC_ARG_ENABLE(user-plugin-dir, | |
77 [ --disable-user-plugin-dir disable per-user plugin dir], | |
78 [enable_user_plugin_dir=$enableval], | |
79 [enable_user_plugin_dir=yes] | |
80 ) | |
81 | |
82 dnl Check for GTK/GLib/GThread/Pango | |
83 | |
535 | 84 PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.6.0 gtk+-2.0 >= 2.6.0 gthread-2.0 pango], |
85 [ADD_PC_REQUIRES([glib-2.0 >= 2.6.0, gtk+-2.0 >= 2.6.0])], | |
0 | 86 [AC_MSG_ERROR([Cannot find glib2/gtk2/pango])] |
87 ) | |
88 | |
89 dnl Check for libglade | |
90 | |
91 PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= 2.3.1], | |
92 [], | |
93 [AC_MSG_ERROR([Cannot find libglade])] | |
94 ) | |
95 | |
96 # Check if socklen_t is defined | |
97 | |
98 AC_CACHE_CHECK(for socklen_t, beep_cv_type_socklen_t, | |
99 [AC_TRY_COMPILE( | |
100 [#include <sys/types.h> | |
101 #include <sys/socket.h>], | |
102 [socklen_t s;], | |
103 [beep_cv_type_socklen_t=yes], | |
104 [beep_cv_type_socklen_t=no] | |
105 ) | |
106 ] | |
107 ) | |
108 | |
109 if test "$beep_cv_type_socklen_t" = "no"; then | |
110 AC_DEFINE(socklen_t, int, [Define to int if the socklen_t type is missing]) | |
111 fi | |
112 | |
978 | 113 dnl IPv6 support |
114 dnl ======================== | |
115 AC_ARG_ENABLE(ipv6, | |
116 [ --enable-ipv6 enable IPv6 support (default=no)], | |
117 enable_ipv6=$enableval, enable_ipv6=no) | |
118 if test "x$enable_ipv6" = xyes; then | |
119 AC_DEFINE(USE_IPV6,, [Define if building with IPv6 support] ) | |
120 fi | |
121 AM_CONDITIONAL(USE_IPV6,test "x$enable_ipv6" = xyes) | |
122 AC_SUBST(USE_IPV6) | |
123 | |
1892
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
124 dnl rpath stuff |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
125 dnl ======================== |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
126 AC_ARG_ENABLE(rpath, |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
127 [ --disable-rpath disable hardcoded rpath (default=enabled)], |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
128 enable_rpath=$enableval, enable_rpath=yes) |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
129 |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
130 if test "x$enable_rpath" = xyes; then |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
131 RPATH_VAL="-Wl,-rpath=\${libdir}" |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
132 fi |
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
133 |
1622 | 134 dnl plugin stuff |
135 dnl ======================== | |
136 | |
137 dnl Ok, first we find out what flags we need to use. | |
138 AC_MSG_CHECKING([for what extension and flags to use for plugin compilation]) | |
139 case "$target" in | |
140 *-apple-*) | |
1657
81e057e03c1f
[svn] - ensure that the module symtable is consistantly unique on Mach-O bundles
nenolod
parents:
1656
diff
changeset
|
141 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib]) |
1624
d863bca9b6d7
[svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should.
nenolod
parents:
1622
diff
changeset
|
142 PICFLAGS="-fPIC -DPIC" |
1657
81e057e03c1f
[svn] - ensure that the module symtable is consistantly unique on Mach-O bundles
nenolod
parents:
1656
diff
changeset
|
143 PICLDFLAGS="-fPIC -DPIC -bundle -fno-common -flat_namespace -undefined suppress" |
1630 | 144 LIBLDFLAGS="-dynamiclib" |
145 AUDLDFLAGS="" | |
1622 | 146 SHARED_SUFFIX=".dylib" |
147 ;; | |
148 *) | |
149 AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so]) | |
1624
d863bca9b6d7
[svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should.
nenolod
parents:
1622
diff
changeset
|
150 PICFLAGS="-fPIC -DPIC" |
1622 | 151 PICLDFLAGS="-fPIC -DPIC -shared" |
1630 | 152 LIBLDFLAGS="-fPIC -DPIC -shared" |
1892
9d53c0faac1b
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
nenolod
parents:
1879
diff
changeset
|
153 AUDLDFLAGS="-Wl,-export-dynamic $RPATH_VAL" |
1622 | 154 SHARED_SUFFIX=".so" |
155 ;; | |
156 esac | |
157 AC_SUBST(PICFLAGS) | |
1626 | 158 AC_SUBST(PICLDFLAGS) |
1630 | 159 AC_SUBST(LIBLDFLAGS) |
160 AC_SUBST(AUDLDFLAGS) | |
1622 | 161 AC_SUBST(SHARED_SUFFIX) |
1632 | 162 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", |
1631 | 163 [Define the shared module suffix extension on your platform.]) |
1622 | 164 |
165 AC_MSG_CHECKING([if you are running Apple-GCC]) | |
166 case "$target" in | |
167 *-apple-*) | |
168 AC_MSG_RESULT([yes, sorry you poor bastard]) | |
169 LDFLAGS="$LDFLAGS -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" | |
170 ;; | |
171 *) | |
172 AC_MSG_RESULT([no]) | |
173 ;; | |
174 esac | |
175 | |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
176 dnl chardet support |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
177 dnl ======================== |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
178 AC_ARG_ENABLE(chardet, |
1758
6b9e1c2b2b32
[svn] - fix for gconf_value_get_string() does not accept null string.
yaz
parents:
1755
diff
changeset
|
179 [ --enable-chardet enable character set detection support (default=no)], |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
180 enable_chardet=$enableval, enable_chardet=no) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
181 if test "x$enable_chardet" = xyes; then |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
182 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) |
1317
a698348c5155
[svn] - libaac: potential buffer overflow vulnerability fix
nenolod
parents:
1265
diff
changeset
|
183 AC_CHECK_LIB(guess, guess_jp, [SUBDIR_GUESS=[''] CHARDET_LIBS=['-lguess']], [SUBDIR_GUESS=['libguess'] CHARDET_LIBS=['../libguess/libguess.a']]) |
1613
9becbe564217
[svn] - chardet patch for Russian language witten by Valentine Sinitsyn.
yaz
parents:
1603
diff
changeset
|
184 AC_CHECK_LIB(rcd, rcdGetRussianCharset, [CHARDET_LIBS=["$CHARDET_LIBS -lrcd"]], [SUBDIR_GUESS=["$SUBDIR_GUESS librcd"] CHARDET_LIBS=["$CHARDET_LIBS ../librcd/librcd.a"]]) |
1105
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
185 AC_CHECK_LIB(udet_c, detectCharset, [AC_DEFINE(HAVE_UDET, 1,[Define if the system has Mozilla universal character detector library]) CHARDET_LIBS=["$CHARDET_LIBS -ludet -ludet_c"]]) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
186 fi |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
187 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
188 AC_SUBST(USE_CHARDET) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
189 AC_SUBST(CHARDET_LIBS) |
4be4d74db123
[svn] automatic character encoding detector for id3 metadata. --enable-chardet enables this feature.
yaz
parents:
1029
diff
changeset
|
190 AC_SUBST(SUBDIR_GUESS) |
0 | 191 |
192 dnl GConf support | |
193 | |
194 AC_ARG_ENABLE( gconf, | |
195 [ --enable-gconf enable GConf support (default=disabled)], | |
196 [enable_gconf=$enableval], | |
197 [enable_gconf="no"] | |
198 ) | |
199 | |
200 if test "$enable_gconf" = "yes"; then | |
201 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0], | |
202 [ | |
203 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support]) | |
204 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0]) | |
205 ], | |
206 [AC_MSG_ERROR([Cannot find GConf])] | |
207 ) | |
208 fi | |
209 | |
727 | 210 if test "$enable_gconf" = "yes"; then |
211 CONFIGDB_BACKEND="gconf" | |
212 else | |
213 CONFIGDB_BACKEND="rcfile" | |
214 fi | |
0 | 215 |
727 | 216 AC_SUBST(CONFIGDB_BACKEND) |
0 | 217 |
218 AC_CHECK_HEADERS(linux/cdrom.h) | |
219 AC_CHECK_HEADERS(sys/cdio.h) | |
1675
cc5952675fca
[svn] Fixes for NetBSD by Jonathan Schleifer <js@h3c.de>
chainsaw
parents:
1671
diff
changeset
|
220 AC_CHECK_HEADERS(sys/cdrio.h) |
0 | 221 AC_CHECK_HEADERS(linux/joystick.h) |
222 AC_CHECK_HEADERS(unistd.h) | |
223 AC_CHECK_HEADERS(fcntl.h) | |
224 AC_CHECK_HEADERS(sys/ioctl.h) | |
225 AC_CHECK_HEADERS(fnmatch.h) | |
226 AC_CHECK_HEADERS(limits.h) | |
227 AC_CHECK_HEADERS(wchar.h) | |
228 AC_CHECK_HEADERS(fts.h) | |
229 | |
1675
cc5952675fca
[svn] Fixes for NetBSD by Jonathan Schleifer <js@h3c.de>
chainsaw
parents:
1671
diff
changeset
|
230 AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf]) |
0 | 231 |
232 AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") | |
233 AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") | |
234 | |
235 AC_MSG_CHECKING(if __ELF__ is defined) | |
236 AC_EGREP_CPP(yes, | |
237 [#ifdef __ELF__ | |
238 yes | |
239 #endif | |
240 ], | |
241 [is_elf=yes], | |
242 [is_elf=no] | |
243 ) | |
244 AC_MSG_RESULT([${is_elf}]) | |
245 | |
246 have_solaris=no | |
247 have_sun=no | |
248 ARCH_DEFINES="" | |
249 case "$host" in | |
2018
58ea18909fe7
[svn] - MirBSD support from <bsiegert -at- gmx.de>
nenolod
parents:
2005
diff
changeset
|
250 *-*-openbsd* | *-*-netbsd* | *-*-mirbsd*) |
0 | 251 have_sun=yes |
252 if test "${is_elf}" = "no" | |
253 then | |
254 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
255 fi | |
758
f9e8807ea6e5
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
nenolod
parents:
756
diff
changeset
|
256 OUTPUT_PLUGINS="$OUTPUT_PLUGINS sun" |
0 | 257 ;; |
258 *-*-darwin*) | |
259 AC_DEFINE(SYMBOL_PREFIX, "_", [Define to symbol prefix, if any]) | |
260 ;; | |
261 *-hpux-*) | |
262 ARCH_DEFINES="-DHPUX" | |
263 ;; | |
264 *-*-solaris* | *-*-sunos*) | |
265 have_solaris=yes | |
266 ;; | |
267 esac | |
268 | |
269 arch_type=other | |
270 x86_asm=no | |
271 case "$host" in | |
272 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*) | |
273 arch_type=ix86 | |
274 case "$host" in | |
275 *-*-netbsd* | *-*openbsd*) | |
276 ;; | |
277 *) | |
278 ARCH_DEFINES="-DI386_ASSEM" | |
279 x86_asm=yes | |
280 ;; | |
281 esac | |
282 ;; | |
283 esac | |
284 | |
285 AC_SUBST(ARCH_DEFINES) | |
1518
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
286 |
0c5dc8ffcc42
[svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents:
1503
diff
changeset
|
287 dnl XXX delete ASAP -nenolod |
0 | 288 AM_CONDITIONAL(ARCH_X86, test "x$arch_type" = "xix86") |
289 AM_CONDITIONAL(USE_X86ASM, test "x$x86_asm" = xyes) | |
290 AM_CONDITIONAL(HAVE_SOLARIS, test "x$have_solaris" = xyes) | |
291 AM_CONDITIONAL(HAVE_SUN, test "x$have_sun" = xyes) | |
292 | |
1425 | 293 plugindir="$libdir/audacious" |
0 | 294 AC_SUBST(plugindir) |
295 | |
296 if test "x$enable_one_plugin_dir" = "xyes"; then | |
297 pluginsubs="\\\"Plugins\\\"" | |
298 INPUT_PLUGIN_DIR=Plugins | |
299 OUTPUT_PLUGIN_DIR=Plugins | |
300 EFFECT_PLUGIN_DIR=Plugins | |
301 GENERAL_PLUGIN_DIR=Plugins | |
302 VISUALIZATION_PLUGIN_DIR=Plugins | |
1561 | 303 CONTAINER_PLUGIN_DIR=Plugins |
0 | 304 else |
1561 | 305 pluginsubs="\\\"Output\\\",\\\"Input\\\",\\\"Effect\\\",\\\"General\\\",\\\"Visualization\\\",\\\"Container\\\"" |
0 | 306 INPUT_PLUGIN_DIR=Input |
307 OUTPUT_PLUGIN_DIR=Output | |
308 EFFECT_PLUGIN_DIR=Effect | |
309 GENERAL_PLUGIN_DIR=General | |
310 VISUALIZATION_PLUGIN_DIR=Visualization | |
1561 | 311 CONTAINER_PLUGIN_DIR=Container |
0 | 312 fi |
313 | |
314 AC_SUBST(INPUT_PLUGIN_DIR) | |
315 AC_SUBST(OUTPUT_PLUGIN_DIR) | |
316 AC_SUBST(EFFECT_PLUGIN_DIR) | |
317 AC_SUBST(GENERAL_PLUGIN_DIR) | |
318 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | |
1561 | 319 AC_SUBST(CONTAINER_PLUGIN_DIR) |
0 | 320 AC_SUBST(pluginsubs) |
321 | |
1421 | 322 dnl XXX Work around some autoconf bugs. |
1422 | 323 if test "$prefix" = "NONE"; then |
1421 | 324 prefix="${ac_default_prefix}" |
325 fi | |
326 | |
1425 | 327 if test -z "$datadir"; then |
328 datadir="${prefix}/share" | |
1418
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
329 fi |
0d6d938bc936
[svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents:
1408
diff
changeset
|
330 |
1425 | 331 localedir="$datadir/locale" |
0 | 332 AC_SUBST(localedir) |
333 | |
334 BEEP_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\"" | |
335 CFLAGS="$CFLAGS $EXTRA_CFLAGS" | |
336 | |
337 if test "$enable_user_plugin_dir" = "no"; then | |
338 AC_DEFINE(DISABLE_USER_PLUGIN_DIR,, [Define to disable per user plugin directory]) | |
339 fi | |
340 | |
341 AC_SUBST(BEEP_DEFINES) | |
342 | |
1747
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
343 AC_ARG_ENABLE(xspf, |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
344 [ --disable-xspf disable XSPF support. (default=enabled)], |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
345 [have_xspf=$enableval], [have_xspf=yes]) |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
346 |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
347 AM_PATH_XML2(2.0.0, , [ |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
348 AC_MSG_WARN([*** libxml2 is not installed. Paranormal nor XSPF support will not be built. ***]) |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
349 have_xspf="no" |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
350 ]) |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
351 |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
352 if test "$have_xspf" = "yes"; then |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
353 AC_DEFINE(HAVE_XSPF_PLAYLIST, 1, [Define if XSPF playlists are available.]) |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
354 fi |
44ed31f63ee4
[svn] - add back a test for libxml2, that way we'll still use xspf as default if available
nenolod
parents:
1746
diff
changeset
|
355 |
0 | 356 AC_SUBST(beepdir) |
357 AC_SUBST(plugindir) | |
358 | |
634 | 359 AC_SUBST(EFFECT_PLUGINS) |
360 AC_SUBST(GENERAL_PLUGINS) | |
361 AC_SUBST(INPUT_PLUGINS) | |
362 AC_SUBST(OUTPUT_PLUGINS) | |
363 AC_SUBST(VISUALIZATION_PLUGINS) | |
1562 | 364 AC_SUBST(CONTAINER_PLUGINS) |
38 | 365 |
0 | 366 AC_CONFIG_FILES([ |
1879
104fe1a701b9
[svn] - add audtool(1) manpage; mostly written by Kiyoshi Aman.
nenolod
parents:
1877
diff
changeset
|
367 audtool.1 |
1656
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
368 audacious.1 |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
369 audacious.spec |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
370 audacious.pc |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
371 audacious/audacious.desktop |
d05836d18d42
[svn] Hook PulseAudio into the build system and clean it up a little.
chainsaw
parents:
1632
diff
changeset
|
372 po/Makefile.in |
562
5cdadcf74ec3
[svn] needed requirements for objective-based buildsystem (automake replacement)
nenolod
parents:
539
diff
changeset
|
373 mk/rules.mk |
0 | 374 ]) |
375 | |
376 AC_OUTPUT | |
377 | |
378 | |
379 echo | |
380 echo "Configuration:" | |
381 echo | |
382 echo " Install path: ${prefix}" | |
383 | |
384 if test "$BEEP_PATH" != "no"; then | |
38 | 385 echo " Current Audacious executable: $BEEP_PATH" |
0 | 386 fi |
387 | |
388 echo " Configuration path: \$HOME/$rc_path" | |
389 echo | |
390 echo " Use one plugin dir: $enable_one_plugin_dir" | |
391 echo " Allow user plugin dir: $enable_user_plugin_dir" | |
392 echo | |
393 echo " GNOME support" | |
394 echo " -------------" | |
395 echo " GConf support $enable_gconf" | |
396 echo | |
397 | |
398 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then | |
32 | 399 echo "Note: You need to have thread-safe xlibs to use Audacious." |
0 | 400 echo "If you are using libc5 thread aware Xlibs just skip this." |
401 echo "" | |
402 echo "If you don't have those libs and you are on a libc5 system get them at:" | |
403 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" | |
404 fi | |
405 | |
406 if test "$BEEP_PATH" != "no" && test "$prefix/bin/audacious" != "$BEEP_PATH" ; then | |
407 echo "" | |
408 echo "Note: Configure has discovered that you already have Audacious installed" | |
409 echo "and it does not match with the given --prefix. You have Audacious installed " | |
410 echo "in $(dirname $BEEP_PATH) and you chose $prefix/bin." | |
411 echo | |
412 echo "If you don't want two copies of Audacious installed, rerun configure with" | |
413 echo "the --prefix option set to the location of the old Audacious, or uninstall" | |
414 echo "the old Audacious." | |
415 fi |