annotate configure.ac @ 4794:2848411c8f12

Only glib.h should be included, as per -DG_DISABLE_SINGLE_INCLUDES (GTK+ 3 compatibility project).
author Tony Vroon <chainsaw@gentoo.org>
date Sat, 04 Oct 2008 23:44:03 +0100
parents 84f70d4b36e6
children 0ea6dd6bfb5a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
1 dnl ***
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
2 dnl *** Process this file with autoconf to produce a configure script.
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
3 dnl ***
3648
5bea21b52a06 Fix installation of Audacious desktop icon.
William Pitcock <nenolod@atheme.org>
parents: 3641
diff changeset
4
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
5 dnl Require autoconf 2.59 or later
1420
0aa4bee03747 [svn] - ok, move this fix down a little
nenolod
parents: 1419
diff changeset
6 AC_PREREQ([2.59])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
8 dnl Initialize
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
9 AC_INIT([audacious], [1.9.0], [bugs+audacious@atheme.org])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
10 AC_COPYRIGHT([(C) 2005-2008 Audacious Development Team])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 AC_CANONICAL_HOST
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 AC_CANONICAL_TARGET
4459
fcd559cfae89 Add AC_GNU_SOURCE, because the newer m4-macros want it.
Matti Hamalainen <ccr@tnsp.org>
parents: 4443
diff changeset
13 AC_GNU_SOURCE
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 AC_CONFIG_HEADERS([config.h])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
15 PKG_PROG_PKG_CONFIG
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
18 dnl buildsystem bootstrap
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
19 dnl =====================
38
4e0397865a31 [svn] Regenerate a bunch of stuff :)
nenolod
parents: 33
diff changeset
20 dnl XXX kludge for FreeBSD
4e0397865a31 [svn] Regenerate a bunch of stuff :)
nenolod
parents: 33
diff changeset
21 if test -d "/usr/X11R6/include"; then
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
22 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
38
4e0397865a31 [svn] Regenerate a bunch of stuff :)
nenolod
parents: 33
diff changeset
23 fi
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24
2324
2ab9ef1e9544 [svn] - remove leftover remnants of automake from buildsystem
nenolod
parents: 2323
diff changeset
25 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])
2ab9ef1e9544 [svn] - remove leftover remnants of automake from buildsystem
nenolod
parents: 2323
diff changeset
26 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
27 AC_DEFINE_UNQUOTED([PACKAGE], "$PACKAGE", [Name of package])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
28 AC_DEFINE_UNQUOTED([VERSION], "$VERSION", [Version number of package])
2324
2ab9ef1e9544 [svn] - remove leftover remnants of automake from buildsystem
nenolod
parents: 2323
diff changeset
29
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
30 BUILDSYS_PROG_IMPLIB
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
31 BUILDSYS_SHARED_LIB
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
32 IMPLIB_LIBS=""
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
33 AC_SUBST([IMPLIB_LIBS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
34
4623
68e0859ad1a6 enables audacious to pick up its own libraries when prefix has been specified.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4620
diff changeset
35 AUDLDFLAGS="-Wl,-rpath,${libdir}"
68e0859ad1a6 enables audacious to pick up its own libraries when prefix has been specified.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4620
diff changeset
36 AC_SUBST([AUDLDFLAGS])
4524
a5377b724505 Cleaned up some accidentally left in duplicated checks.
Matti Hamalainen <ccr@tnsp.org>
parents: 4499
diff changeset
37
a5377b724505 Cleaned up some accidentally left in duplicated checks.
Matti Hamalainen <ccr@tnsp.org>
parents: 4499
diff changeset
38 dnl Plugin stuff
a5377b724505 Cleaned up some accidentally left in duplicated checks.
Matti Hamalainen <ccr@tnsp.org>
parents: 4499
diff changeset
39 dnl ========================
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
40 SHARED_SUFFIX="$PLUGIN_SUFFIX"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
41 AC_SUBST([SHARED_SUFFIX])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
42 AC_DEFINE_UNQUOTED([SHARED_SUFFIX], "${SHARED_SUFFIX}",
4524
a5377b724505 Cleaned up some accidentally left in duplicated checks.
Matti Hamalainen <ccr@tnsp.org>
parents: 4499
diff changeset
43 [Define the shared module suffix extension on your platform.])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
44
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
45 AC_MSG_CHECKING([if you are running Apple-GCC])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
46 case "$target" in
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
47 *-apple-*)
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
48 AC_MSG_RESULT([yes, sorry you poor bastard])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
49 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Carbon"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
50 ;;
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
51 *)
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
52 AC_MSG_RESULT([no])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
53 ;;
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
54 esac
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
55
756
97f5ebf52a3d [svn] put AM_INIT_AUTOMAKE back
nenolod
parents: 751
diff changeset
56
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57 dnl GNU gettext
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
58 dnl ===========
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 AM_GNU_GETTEXT
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
60 AM_GNU_GETTEXT_VERSION([0.14.0])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
61
4540
956272f5935d Synchronized acinclude common macros with upcoming audacious-plugins autoconf cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 4533
diff changeset
62 dnl Checks common for core and plugins
956272f5935d Synchronized acinclude common macros with upcoming audacious-plugins autoconf cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 4533
diff changeset
63 dnl ==================================
956272f5935d Synchronized acinclude common macros with upcoming audacious-plugins autoconf cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 4533
diff changeset
64 AUD_COMMON_PROGS
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
65
750
5fe9bafc1895 [svn] more stuff
nenolod
parents: 743
diff changeset
66
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
67 dnl Check for headers and functions
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
68 dnl ===============================
4692
84f70d4b36e6 Fix compile when signalfd is not available entirely.
William Pitcock <nenolod@atheme.org>
parents: 4690
diff changeset
69 AC_CHECK_HEADERS([unistd.h fcntl.h sys/ioctl.h fnmatch.h limits.h wchar.h fts.h execinfo.h sys/signalfd.h])
4690
cd1e4d4aa0b9 Take advantage of signalfd if available.
William Pitcock <nenolod@atheme.org>
parents: 4657
diff changeset
70 AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf signalfd])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
71
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
72
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
73 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
74 dnl Path settings
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
75 dnl =============
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
76 AC_PATH_PROG([AUDACIOUS_PATH], [audacious], [no])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
78 AUD_ARG_ENABLE([user-plugin-dir], [yes],
4657
52d8b00cfe13 Simplify AUD_ARG_* even more.
Matti Hamalainen <ccr@tnsp.org>
parents: 4655
diff changeset
79 [per-user plugin dir])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80
4480
28863634a2da Properly define DISABLE_USER_PLUGIN_DIR if needed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4476
diff changeset
81 if test "x$enable_user_plugin_dir" = "xno"; then
28863634a2da Properly define DISABLE_USER_PLUGIN_DIR if needed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4476
diff changeset
82 AC_DEFINE([DISABLE_USER_PLUGIN_DIR], 1, [Define to disable per user plugin directory])
28863634a2da Properly define DISABLE_USER_PLUGIN_DIR if needed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4476
diff changeset
83 fi
28863634a2da Properly define DISABLE_USER_PLUGIN_DIR if needed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4476
diff changeset
84
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
86 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
87 dnl Chardet support
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
88 dnl ===============
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
89 AUD_ARG_ENABLE([chardet], [yes],
4657
52d8b00cfe13 Simplify AUD_ARG_* even more.
Matti Hamalainen <ccr@tnsp.org>
parents: 4655
diff changeset
90 [charset detection support],
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
91 [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
92 AC_DEFINE([USE_CHARDET], 1, [Define if character set detection enabled])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
93 AC_CHECK_LIB([udet_c], [detectCharset], [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
94 AC_DEFINE([HAVE_UDET], 1, [Define if the system has Mozilla universal character detector library])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
95 CHARDET_LIBS="$CHARDET_LIBS -ludet -ludet_c"
4481
25730d90d916 USE_CHARDET is now substituted in AUD_CONDITIONAL.
Matti Hamalainen <ccr@tnsp.org>
parents: 4480
diff changeset
96 AC_SUBST([CHARDET_LIBS])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
97 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
98 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
99 AUD_CONDITIONAL([USE_CHARDET], [enable_chardet])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
100
2694
c2b82432c1b6 [svn] Added basic DBus support, disabled by default with a configuration option to enable it. The general and playback information/manipulation methods are currently the only ones implemented. That is version, play, pause, stop, playing, paused, stopped, status, and seek. There are stubs for many unimplemented methods.
magma
parents: 2692
diff changeset
101
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
102 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
103 dnl D-Bus support
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
104 dnl =============
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
105 AUD_ARG_ENABLE([dbus], [yes],
4657
52d8b00cfe13 Simplify AUD_ARG_* even more.
Matti Hamalainen <ccr@tnsp.org>
parents: 4655
diff changeset
106 [D-Bus support],
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
107 [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
108 PKG_CHECK_MODULES([DBUS], [dbus-1 >= 0.60 dbus-glib-1 >= 0.60 gthread-2.0],
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
109 [enable_dbus=yes],
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
110 [enable_dbus=no])
4623
68e0859ad1a6 enables audacious to pick up its own libraries when prefix has been specified.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4620
diff changeset
111
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
112 AC_PATH_PROG([DBUS_BINDING_TOOL], [dbus-binding-tool], [no])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
113 AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal], [no])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
114 if test "x$DBUS_BINDING_TOOL" = "xno" || test "x$GLIB_GENMARSHAL" = "xno" || test "x$enable_dbus" = "xno" ; then
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
115 enable_dbus="no"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
116 else
4533
6fd552b6e5db Add depencies to dbus-1 and dbus-glib-1 in audacious.pc during configure, if DBus
Matti Hamalainen <ccr@tnsp.org>
parents: 4524
diff changeset
117 ADD_PC_REQUIRES([dbus-1 >= 0.60])
6fd552b6e5db Add depencies to dbus-1 and dbus-glib-1 in audacious.pc during configure, if DBus
Matti Hamalainen <ccr@tnsp.org>
parents: 4524
diff changeset
118 ADD_PC_REQUIRES([dbus-glib-1 >= 0.60])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
119 AC_DEFINE([USE_DBUS], 1, [Define if D-Bus support enabled])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
120 AC_DEFINE([DBUS_SERVICES_DIR], "$datadir/dbus-1/services",
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
121 [Location of D-Bus services directory])
4623
68e0859ad1a6 enables audacious to pick up its own libraries when prefix has been specified.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 4620
diff changeset
122 LIBAUDCLIENT_LDFLAGS="$AUDLDFLAGS -laudclient"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
123 AC_SUBST([DBUS_CFLAGS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
124 AC_SUBST([DBUS_LIBS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
125 AC_SUBST([DBUS_SERVICES_DIR])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
126 AC_SUBST([DBUS_BINDING_TOOL])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
127 AC_SUBST([LIBAUDCLIENT_LDFLAGS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
128 fi
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
129 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
130 AUD_CONDITIONAL([USE_DBUS], [enable_dbus])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
131
2694
c2b82432c1b6 [svn] Added basic DBus support, disabled by default with a configuration option to enable it. The general and playback information/manipulation methods are currently the only ones implemented. That is version, play, pause, stop, playing, paused, stopped, status, and seek. There are stubs for many unimplemented methods.
magma
parents: 2692
diff changeset
132
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
133 ### ---------------------------------------------------------------------------
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2535
diff changeset
134 dnl libsamplerate support
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
135 dnl =====================
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
136 AUD_ARG_ENABLE([samplerate], [no],
4657
52d8b00cfe13 Simplify AUD_ARG_* even more.
Matti Hamalainen <ccr@tnsp.org>
parents: 4655
diff changeset
137 [libsamplerate support],
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
138 [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
139 AUD_CHECK_MODULE([SAMPLERATE], [samplerate],, [libsamplerate])
4482
1884c4a9d84f We don't want libsamplerate check to add -lsamplerate global LIBS, fixed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4481
diff changeset
140 aud_save_LIBS="$LIBS"
1884c4a9d84f We don't want libsamplerate check to add -lsamplerate global LIBS, fixed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4481
diff changeset
141 AC_CHECK_LIB([samplerate], [src_process],[
1884c4a9d84f We don't want libsamplerate check to add -lsamplerate global LIBS, fixed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4481
diff changeset
142 SAMPLERATE_LIBS="-lsamplerate"
1884c4a9d84f We don't want libsamplerate check to add -lsamplerate global LIBS, fixed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4481
diff changeset
143 ], [
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
144 AC_MSG_ERROR([*** Unable to link with libsamplerate!])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
145 ])
4482
1884c4a9d84f We don't want libsamplerate check to add -lsamplerate global LIBS, fixed.
Matti Hamalainen <ccr@tnsp.org>
parents: 4481
diff changeset
146 LIBS="$aud_save_LIBS"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
147 AC_DEFINE([USE_SAMPLERATE], 1, [Define if libsamplerate enabled])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
148 AC_SUBST([USE_SAMPLERATE])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
149 AC_SUBST([SAMPLERATE_CFLAGS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
150 AC_SUBST([SAMPLERATE_LIBS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
151 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
152
2538
719e0898ff3c [svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
nenolod
parents: 2535
diff changeset
153
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
154 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
155 dnl xspf playlist support
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
156 dnl =====================
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
157 AUD_ARG_ENABLE([xspf], [yes],
4657
52d8b00cfe13 Simplify AUD_ARG_* even more.
Matti Hamalainen <ccr@tnsp.org>
parents: 4655
diff changeset
158 [XSPF support],
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
159 [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
160 AM_PATH_XML2([2.0.0],, [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
161 AC_MSG_WARN([*** libxml2 is not installed. XSPF playlist support will not be built. ***])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
162 enable_xspf="no"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
163 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
164 if test "x$enable_xspf" = "xyes"; then
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
165 AC_DEFINE([HAVE_XSPF_PLAYLIST], 1, [Define if XSPF playlists are available.])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
166 fi
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
167 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
168
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
169
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
170 ### ---------------------------------------------------------------------------
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
171 dnl regex support (gnu/oniguruma/pcre)
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
172 dnl ==================================
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
173 REGEX_LIBS=
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
174 REGEX_CFLAGS=
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
175 AC_ARG_WITH([regexlib],
4654
de5d2e65cc32 Use AS_HELP_STRING() macro for prettifying --help output where applicable.
Matti Hamalainen <ccr@tnsp.org>
parents: 4651
diff changeset
176 [AS_HELP_STRING([--with-regexlib[=gnu/oniguruma/pcre]],[Use the chosen regex library (def: gnu)])],
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
177 [
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
178 case $withval in
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
179 pcre)
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
180 AUD_CHECK_MODULE([LIBPCRE], [libpcre], [>= 6.7], [PCRE])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
181 AC_DEFINE([USE_REGEX_PCRE], 1, [If this macro is defined, use PCRE regex library.])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
182 REGEX_LIBS="-lpcreposix $LIBPCRE_LIBS"
4651
8a109bf467b2 Use proper quotation.
Matti Hamalainen <ccr@tnsp.org>
parents: 4648
diff changeset
183 REGEX_CFLAGS="$LIBPCRE_CFLAGS"
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
184 ;;
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
185 oniguruma)
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
186 AC_CHECK_LIB([onig], [onig_new],
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
187 [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
188 AC_DEFINE([USE_REGEX_ONIGURUMA], 1, [If this macro is defined, use Oniguruma regex library.])
4651
8a109bf467b2 Use proper quotation.
Matti Hamalainen <ccr@tnsp.org>
parents: 4648
diff changeset
189 REGEX_LIBS="-lonig"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
190 ],[
4648
c4266772a9ed Be clearer about Oniguruma's purpose.
Matti Hamalainen <ccr@tnsp.org>
parents: 4623
diff changeset
191 AC_MSG_ERROR([Cannot find Oniguruma regex library.])
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
192 ])
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
193 ;;
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
194 *)
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
195 AC_DEFINE([USE_REGEX_GNU], 1, [If this macro is defined, use GNU regex library.])
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
196 ;;
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
197 esac
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
198 ],[
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
199 AC_DEFINE([USE_REGEX_GNU], 1, [If this macro is defined, use GNU regex library.])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
200 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
201 AC_SUBST([REGEX_LIBS])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
202 AC_SUBST([REGEX_CFLAGS])
2168
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
203
caaf4b1a8487 [svn] - allow user to choose a regex library between gnu (default), oniguruma, pcre (experimental); oniguruma and pcre support utf-8 encoding
giacomo
parents: 2106
diff changeset
204
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
205 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
206 dnl Session management support
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
207 dnl ==========================
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
208 AS_AC_EXPAND([desktop_file], "${datadir}/applications/audacious.desktop")
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
209 AC_DEFINE_UNQUOTED([AUDACIOUS_DESKTOP_FILE], "${desktop_file}", [Location of the desktop file])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
210
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
211 AUD_ARG_ENABLE([sm], [yes],
4657
52d8b00cfe13 Simplify AUD_ARG_* even more.
Matti Hamalainen <ccr@tnsp.org>
parents: 4655
diff changeset
212 [session management],
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
213 [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
214 PKG_CHECK_MODULES([SM], [sm >= 1.0], [
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
215 AC_DEFINE([USE_EGGSM], 1, [Define if session management should be used.])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
216 enable_sm="yes"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
217 ],[
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
218 enable_sm="no"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
219 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
220 ])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
221 AUD_CONDITIONAL([USE_EGGSM], [enable_sm])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
222
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
223
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
224 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
225 dnl Ugly system checks
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
226 dnl ==================
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
227 AC_MSG_CHECKING([if __ELF__ is defined])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
228 AC_EGREP_CPP([yes],
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
229 [#ifdef __ELF__
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
230 yes
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
231 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
232 ],
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
233 [is_elf=yes],
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
234 [is_elf=no]
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
235 )
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
236 AC_MSG_RESULT([$is_elf])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
237
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
238 have_solaris=no
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
239 have_sun=no
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
240 ARCH_DEFINES=""
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
241 case $host in
2018
58ea18909fe7 [svn] - MirBSD support from <bsiegert -at- gmx.de>
nenolod
parents: 2005
diff changeset
242 *-*-openbsd* | *-*-netbsd* | *-*-mirbsd*)
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
243 have_sun=yes
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
244 if test "x${is_elf}" = "xno"; then
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
245 AC_DEFINE([SYMBOL_PREFIX], "_", [Define to symbol prefix, if any])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
246 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
247 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
248 *-*-darwin*)
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
249 AC_DEFINE([SYMBOL_PREFIX], "_", [Define to symbol prefix, if any])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
250 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
251 *-hpux-*)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
252 ARCH_DEFINES="-DHPUX"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
253 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
254 *-*-solaris* | *-*-sunos*)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
255 have_solaris=yes
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
256 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
257 esac
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
258
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
259 arch_type=other
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
260 x86_asm=no
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
261 case $host in
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
262 i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
263 arch_type=ix86
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
264 case $host in
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
265 *-*-netbsd* | *-*openbsd*)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
266 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
267 *)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
268 ARCH_DEFINES="-DI386_ASSEM"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
269 x86_asm=yes
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
270 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
271 esac
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
272 ;;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
273 esac
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
274
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
275 AC_SUBST([ARCH_DEFINES])
1518
0c5dc8ffcc42 [svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents: 1503
diff changeset
276
0c5dc8ffcc42 [svn] - hook up paranormal -- client interface code doesn't exist yet though
nenolod
parents: 1503
diff changeset
277 dnl XXX delete ASAP -nenolod
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
278 AUD_CONDITIONAL([ARCH_X86], [arch_type], [ix86])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
279 AUD_CONDITIONAL([USE_X86ASM], [x86_asm])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
280 AUD_CONDITIONAL([HAVE_SOLARIS], [have_solaris])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
281 AUD_CONDITIONAL([HAVE_SUN], [have_sun])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
282
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
283
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
284 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
285 dnl Define plugin directories
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
286 dnl =========================
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
287 plugindir="$libdir/audacious"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
288 AC_SUBST([plugindir])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
289 AC_SUBST([pluginsubs])
1418
0d6d938bc936 [svn] - work around a possible autoconf bug causing datadir to be blank
nenolod
parents: 1408
diff changeset
290
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
291 AUD_DEFINE_PLUGIN_DIR([Input])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
292 AUD_DEFINE_PLUGIN_DIR([Output])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
293 AUD_DEFINE_PLUGIN_DIR([Effect])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
294 AUD_DEFINE_PLUGIN_DIR([General])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
295 AUD_DEFINE_PLUGIN_DIR([Visualization])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
296 AUD_DEFINE_PLUGIN_DIR([Container])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
297 AUD_DEFINE_PLUGIN_DIR([Transport])
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
298 AUD_DEFINE_PLUGIN_DIR([Discovery])
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
299
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
300
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
301 ### ---------------------------------------------------------------------------
4484
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
302 dnl XXX Work around some autoconf bugs.
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
303 if test "x$prefix" = "xNONE"; then
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
304 prefix="${ac_default_prefix}"
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
305 fi
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
306
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
307 if test -z "$datadir"; then
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
308 datadir="${prefix}/share"
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
309 fi
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
310
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
311 localedir="$datadir/locale"
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
312 AC_SUBST([localedir])
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
313
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
314 AUDACIOUS_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\""
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
315 AC_SUBST([AUDACIOUS_DEFINES])
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
316
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
317
925df071b0c7 Imported and cleaned up some missing pieces of functionality from old configure.ac.
Matti Hamalainen <ccr@tnsp.org>
parents: 4483
diff changeset
318 ### ---------------------------------------------------------------------------
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
319 dnl Output configuration files
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
320 dnl ==========================
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
321 AC_CONFIG_FILES([
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
322 audacious.pc
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
323 audclient.pc
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
324 buildsys.mk
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
325 extra.mk
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
326 man/audtool.1
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
327 man/audacious.1
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
328 applications/audacious.desktop
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
329 po/Makefile.in
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
330 ])
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
331
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
332 AC_OUTPUT
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
333
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
334
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
335 ### ---------------------------------------------------------------------------
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
336 dnl Print out the results
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
337 dnl =====================
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
338 echo ""
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
339 echo "Configuration:"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
340 echo ""
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
341 echo " Install path: $prefix"
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
342
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
343 if test "x$AUDACIOUS_PATH" != "xno"; then
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
344 echo " Current Audacious executable: $AUDACIOUS_PATH"
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
345 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
346
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
347 echo " Use one plugin dir: $enable_one_plugin_dir"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
348 echo " Allow user plugin dir: $enable_user_plugin_dir"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
349 echo ""
2692
6abffd68fa59 [svn] - make --enable-chardet default.
yaz
parents: 2661
diff changeset
350 echo " Automatic character code detection: $enable_chardet"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
351 echo " Sample rate conversion: $enable_samplerate"
2694
c2b82432c1b6 [svn] Added basic DBus support, disabled by default with a configuration option to enable it. The general and playback information/manipulation methods are currently the only ones implemented. That is version, play, pause, stop, playing, paused, stopped, status, and seek. There are stubs for many unimplemented methods.
magma
parents: 2692
diff changeset
352 echo " D-Bus support: $enable_dbus"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
353 echo " Session management (eggsm) $enable_sm"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
354 echo " XSPF playlists $enable_xspf"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
355 echo ""
4233
74c6f3d3cf1d it buids successfully :)
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 3993
diff changeset
356 echo " SSE2: $enable_sse2"
74c6f3d3cf1d it buids successfully :)
Eugene Zagidullin <e.asphyx@gmail.com>
parents: 3993
diff changeset
357 echo " AltiVec: $enable_altivec"
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
358 echo ""
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
359
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
360 if test "x$AUDACIOUS_PATH" != "xno" && test "x$prefix/bin/audacious" != "x$AUDACIOUS_PATH"; then
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
361 audlocation=`dirname $AUDACIOUS_PATH`
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
362 echo "**"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
363 echo "** NOTICE! Configure has discovered that you already have Audacious installed"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
364 echo "** and it does not match with the given --prefix. You have Audacious installed"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
365 echo "** in ${audlocation} and you chose ${prefix}/bin."
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
366 echo "**"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
367 echo "** If you don't want two copies of Audacious installed, rerun configure with"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
368 echo "** the --prefix option set to the location of the old Audacious, or uninstall"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
369 echo "** the old Audacious."
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
370 echo "**"
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
371 fi
4476
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
372
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
373 if test "x$enable_dbus" != "xyes"; then
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
374 echo "**"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
375 echo "** WARNING! DBUS support is disabled. This means that various features"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
376 echo "** the user might expect (such as remotely adding files to session via"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
377 echo "** commandline) will not work!"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
378 echo "**"
1ff0224469a8 Beginnings of a configure/builsystem cleanup (and partial refactoring).
Matti Hamalainen <ccr@tnsp.org>
parents: 4465
diff changeset
379 fi