Commit graph

2706 commits

Author SHA1 Message Date
Diego 'Flameeyes' Pettenò
016fcd92d4 Reduce rules for man pages generation to pattern rules.
Instead of having to duplicat ethe same code all over for all the man
pages, simplify it and reduce it to generic pattern rules.x
2008-08-08 15:12:54 +02:00
Diego 'Flameeyes' Pettenò
89f492a7df Replace some manual build tests with AC_CACHE_CHECK and AC_COMPILE_IFELSE.
Instead of compiling the build tests manually, use autoconf
facilities, so that the results are cached between runs. Also avoid
linking when a simple compile test is enough.
2008-08-08 15:09:38 +02:00
Diego 'Flameeyes' Pettenò
daf3e8b97d Create a new macro for checking compiler support for TLS.
Create a new macro that can be shared between projects to check for
__thread support by the compiler. This macro might come useful for
xine-lib too so I want to keep it separate for easier importing it
over.

Name the defined macro SUPPORT_TLS___THREAD to follow the same style
as the checks from attributes.m4.
2008-08-08 15:09:38 +02:00
Diego 'Flameeyes' Pettenò
81969a73a4 Replace the CFLAGS-checking code with a common macro from xine-lib.
Instead of writing custom code to check for cflags checking, import a
copy of attributes.m4 from xine-lib's repository and use the
CC_CHECK_CFLAGS macro.

The advantage lies not only in being able to reduce the custom code in
configure.ac, but also in the fact that the CC_CHECK_CFLAGS macro
caches the results, making ./configure -C quite faster on second run.

Check for the CFLAGS for any compiler and not just GCC, if the
compiler does support the flag it is better to u se it anyway,
otherwise it will be skipped.
2008-08-08 15:09:37 +02:00
Diego 'Flameeyes' Pettenò
a6e4507a4b Use AC_PROG_CC_C99 to discover C99-compliant compiler.
Instead of just checking if the compiler supports -std=c99 option,
make use of the autoconf macro for discovering C99. This way other
non-GCC compiler could be used in C99 mode too.
2008-08-08 15:09:32 +02:00
Diego 'Flameeyes' Pettenò
f46ae106a5 Create an m4 directory for common macros and use it.
Split acinclude.m4 in multiple macro files.

Let it be known to autoconf and aclocal to use the m4 directory.
Ignore macro files copied or linked by libtool and intltool.
2008-08-08 15:09:32 +02:00
Diego 'Flameeyes' Pettenò
66512f3fd6 Remove gettext macros from configure.ac, intltool is used.
When using intltool there is no need to _also_ use gettext, so remove
gettext macros so that autoreconf does not copy them over.
2008-08-08 15:09:32 +02:00
Diego 'Flameeyes' Pettenò
07395ceea1 Bump autoconf requirement to 2.62 (latest released version). 2008-08-08 15:09:27 +02:00
Diego 'Flameeyes' Pettenò
29fca62c89 Fix man pages generation when building out of tree.
When referring to the xmltoman script srcdir should be requested, or
the build will fail when doing out of tree builds (and the script is
thus not in the build directory).
2008-08-08 13:18:16 +02:00
Diego 'Flameeyes' Pettenò
8a3d666da3 Fix building again libtool/ltdl 2.2.4.
On changeset f1d2bf8408 support for
libtool 2.2 was broken as libtool_set_error was not defined anymore on
that version. Fix this by also putting under #ifdef the calls to that
function.
2008-08-08 12:39:04 +02:00
Lennart Poettering
40ff5fa06f add compatibility with older PA socket paths 2008-08-07 02:39:58 +02:00
Lennart Poettering
75b28e97fa remove some leftover debug string 2008-08-07 02:29:44 +02:00
Lennart Poettering
ecb2bc4f04 Modify pa_state_path() to take an additional argument for prepending the machine id to the file name. 2008-08-07 02:28:47 +02:00
Lennart Poettering
bd05b36a1e Rework state/runtime directory logic
The runtime directory is now guaranteed to be in /tmp which will hopefully
provide support for POSIX file locking and UNIX sockets.

The state directory stays in $HOME.
2008-08-07 02:25:48 +02:00
Lennart Poettering
4e6fb67e9f don't spam to stderr in API functions 2008-08-07 02:24:19 +02:00
Lennart Poettering
0075649f13 print machine id during startup 2008-08-07 02:23:45 +02:00
Lennart Poettering
73e2577ca6 add new function pa_machine_id() 2008-08-07 02:22:57 +02:00
Lennart Poettering
b84f738e50 translate error strings 2008-08-07 01:57:23 +02:00
Lennart Poettering
b983c0bd14 include host name in default sink/default source file 2008-08-06 21:35:32 +02:00
Lennart Poettering
bb7f80d4d8 fix a few things in the translations 2008-08-06 20:27:03 +02:00
Lennart Poettering
4a440848b2 add basic german translation 2008-08-06 20:24:03 +02:00
Lennart Poettering
31bfd6a44d fix channel position string 2008-08-06 20:16:37 +02:00
Lennart Poettering
ff6bb7acda add a few configuration sanity checks for system mode 2008-08-06 19:56:15 +02:00
Lennart Poettering
a4762ab4b1 add disallow-exit to default configuration file 2008-08-06 19:55:50 +02:00
Lennart Poettering
756fac8d04 add new switch --disallow-exit 2008-08-06 19:39:12 +02:00
Lennart Poettering
f1d2bf8408 add i18n support 2008-08-06 18:54:13 +02:00
Lennart Poettering
c4a953dc96 remove authkey-prop from tree 2008-08-06 03:05:20 +02:00
Lennart Poettering
b4e8cac066 don't include authkey-prop.h anymore 2008-08-06 03:04:53 +02:00
Lennart Poettering
9fde00e449 fix a few potential bad memory accesses 2008-08-06 03:04:22 +02:00
Lennart Poettering
34dd4a20f2 fix shutdown when --disallow-module-loading=1 is passed 2008-08-05 23:56:25 +02:00
Lennart Poettering
ca127532fc add a function to dump the stream database for debugging purposes 2008-08-05 19:03:11 +02:00
Lennart Poettering
8a156d1a23 don't enforce valid callbacks for extension module APIs 2008-08-05 19:01:51 +02:00
Lennart Poettering
98b81636b7 allow extension messages to actually carry information 2008-08-05 19:01:25 +02:00
Lennart Poettering
e0dd72afcb fix error path (spotted by Coling Guthrie) 2008-08-05 16:31:17 +02:00
Lennart Poettering
f57b9153a8 fix a few more copy/paste errors 2008-08-05 14:26:43 +02:00
Lennart Poettering
78236af734 fix copy/paste error 2008-08-04 23:33:29 +02:00
Lennart Poettering
163f10712e fix documentation to follow what actually happens 2008-08-04 23:33:10 +02:00
Lennart Poettering
64a23677d3 inherit proplist on sample playback from client 2008-08-04 23:32:52 +02:00
Lennart Poettering
03cd37eb78 remove port definitions from header file since they are not actually used yet 2008-08-04 19:49:33 +02:00
Lennart Poettering
7de3ab56d8 add missing C++ checks in header 2008-08-04 19:49:13 +02:00
Lennart Poettering
9f5c1c6067 pa_bool_t is not exported 2008-08-04 19:45:47 +02:00
Lennart Poettering
dd07276b8e ignore PA_GCC_DEPRECATED and PA_GCC_PRINTF_ATTR when generating map file 2008-08-04 19:45:30 +02:00
Lennart Poettering
51d181c57e update list of exported symbols 2008-08-04 19:44:55 +02:00
Colin Guthrie
580c4342ac Fix linking
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-04 19:06:08 +02:00
Lennart Poettering
0cc674d961 wrap protocol extension of module-stream-restore 2008-08-04 19:02:20 +02:00
Lennart Poettering
88c3db6636 add protocol extension to module-stream-restore 2008-08-04 19:01:13 +02:00
Lennart Poettering
6cc3a615fa store channel map in database and remap volumes if necessary 2008-08-04 19:00:43 +02:00
Lennart Poettering
eec623a23b add hooks for connection creation/deletion, for that export pa_native_connection 2008-08-04 18:58:29 +02:00
Lennart Poettering
c01f0bc01f split out save trigger function 2008-08-04 18:56:12 +02:00
Lennart Poettering
32cf9db434 store channel map in database and remap volumes if ncessary 2008-08-04 18:55:50 +02:00