Commit graph

230 commits

Author SHA1 Message Date
Lennart Poettering
9a4e03c58e bump version and soname 2009-02-04 21:44:25 +01:00
Lennart Poettering
0933f1a2a4 Merge commit 'flameeyes/flameeyes' 2009-02-04 18:42:43 +01:00
Lennart Poettering
69a9ed9ef7 drop -pedantic 2009-02-02 00:23:49 +01:00
Diego Elio 'Flameeyes' Pettenò
e9ca8b1c54 Disable portability warnings from automake.
The portability warning class warns during automake calls about non-POSIX
variable names and GNU make extensions. Since both happens with the current
Makefile.am files and it's reasonable to expect that they wouldn't be
rewritten (GNU make is a reasonable requirement), just avoid the warnings.
2009-01-31 19:26:14 +01:00
Lennart Poettering
f725b06f6f drop -Wpacked 2009-01-31 01:16:16 +01:00
Lennart Poettering
1249cf6dc9 always define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications 2009-01-27 02:16:20 +01:00
Lennart Poettering
a365c8212d include a few HAL properties in our card/sink/source properties for ALSA devices 2009-01-24 01:25:11 +01:00
Lennart Poettering
f6fcbed6d0 Merge commit 'flameeyes/flameeyes' 2009-01-23 19:46:52 +01:00
Lennart Poettering
ddbe6126d3 use pthread_setaffinity_np() only when it is available 2009-01-22 22:50:03 +01:00
Diego E. 'Flameeyes' Pettenò
a257448ceb Improve the ltdl discovery code by checking for libtool 2.x functions.
The lt_dladvise_* interfaces are implemented only in the 2.x series and are
not implemented in 1.4, so we can rely on their presence to know that the
version is good enough.
2009-01-22 20:02:42 +01:00
Diego E. 'Flameeyes' Pettenò
3293251198 Move the safety check about pkg-config in bootstrap.sh.
Don't check twice for pkg-config during configure, since the undefined
macro would be possibly caused on a different system.
2009-01-22 16:52:41 +01:00
Diego E. 'Flameeyes' Pettenò
1b20d287b9 Fix logic thinko. 2009-01-22 16:41:45 +01:00
Diego E. 'Flameeyes' Pettenò
c65d3a9fb0 Remove support for internal distributing and bundling of libltdl.
Standing to what the libtool documentation says, the LTDL_INIT macro and
the related configure options are only useful when intending to distribute
libltdl, and is superfluous if the system copy were always to be used.

Which makes it very easy to just drop the internal copy and use the system
library, just do it like any other library lacking pkg-config files to
identify its presence.

If this tries to build against an older libtool version it might fail at
link time, so for now this is not an user-proof solution. But it at least
should provide a working environment for packagers.
2009-01-22 16:37:40 +01:00
Jared D. McNeill
c0e4e5a868 NetBSD doesn't know getgrnam_r()/getpwnam_r()
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 02:17:10 +01:00
Jared D. McNeill
8d89ccdcf2 NetBSD specific atomic operation implementation
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:52:35 +01:00
Jared D. McNeill
75eeea65bd NetBSD needs to include sys/uio.h for some socket functions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:37:38 +01:00
Lennart Poettering
3be4c31ee0 rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source 2009-01-22 00:26:34 +01:00
Diego E. 'Flameeyes' Pettenò
bd70e80531 Allow to opt-out from building tests.
Since the tests are only useful either if you're hacking at pulseaudio as
a developer, or when running "make check", allow users to opt-out from
their build.

This for instance allows for Gentoo users not to build the tests when
installing the ebuild with tests disabled, and also allow for skipping over
eventually broken tests when trying to get the basic build going on a port.
2009-01-20 00:55:39 +01:00
Marc-André Lureau
3d631df8dd build: print more informations about preopen 2009-01-13 16:59:46 +02:00
Lennart Poettering
f6ac7b4ed6 bump version/soname 2009-01-12 23:36:28 +01:00
Lennart Poettering
5daf141683 drop a few warning options, add a few new ones 2009-01-08 23:30:10 +01:00
Marc-André Lureau
a1a1119afe build: fix missing x11 modules dependencies 2009-01-08 19:38:38 +02:00
Marc-André Lureau
dd9ca70759 build: use pkg-config for X11
According to Daniel, AC_PATH_XTRA is sort-of deprecated.

This patch changes the configure arguments, --x-includes=dir and
--x-libraries=dir, which are now removed and use standard pkg-config.

It also replaces --with{,out}-x with --{dis,en}able-x11, which is the
same as other optionnal dependencies.

(this patch was done in an attempt to solve a build issue on maemo, it
turns out it didn't help)
2009-01-08 11:52:02 +02:00
Lennart Poettering
e67bc1d752 -Wconvert is pain, let's drop it again
Fascist compiler options are sometimes nice, but this one is a real
Ober-Nazi. Let's get rid of it.
2009-01-08 01:00:39 +01:00
Lennart Poettering
8977b2e61d libtool 2.2 updates 2008-12-16 14:25:31 +01:00
Lennart Poettering
2ee9276d97 Merge commit 'flameeyes/libtool-2.2' 2008-12-16 13:55:06 +01:00
Lennart Poettering
adc2973c8d Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED 2008-10-26 19:32:04 +01:00
Lennart Poettering
c180cb5c48 bump micro version 2008-10-25 17:45:21 +02:00
Lennart Poettering
695d300156 make new build logic actually work 2008-10-22 02:22:40 +02:00
Lennart Poettering
df6e38bfd2 temporary commit to allow flameeyes a look 2008-10-21 23:55:33 +02:00
Lennart Poettering
f4320d83a2 Support showing a backtrace on log messages 2008-10-21 19:13:15 +02:00
Colin Guthrie
8715121755 Modularise the RAOP stuff that requires OpenSSL and make it optional at compile time 2008-10-08 20:37:43 +01:00
Lennart Poettering
0274651f88 bump version and sonames 2008-10-06 02:37:59 +02:00
Lennart Poettering
8f604bfb61 bump revisions 2008-09-09 02:28:22 +03:00
Lennart Poettering
5467cc390d drop -Winline from build cflags 2008-09-01 21:42:27 +02:00
Marc-André Lureau
d10e5e56d3 Add CFLAGS information on start-up
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-29 20:10:07 +02:00
Lennart Poettering
6baec251d2 use final glibc eventfd() instead of our homegrown syscall invocations 2008-08-19 23:18:20 +02:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +02:00
Lennart Poettering
047eb52b52 run autoupdate 2008-08-19 00:17:49 +02:00
Lennart Poettering
3d2d6ca958 Merge commit 'flameeyes/autoconf-2.62' 2008-08-18 23:52:44 +02:00
Lennart Poettering
5cc2187bec add some code to make invalid valgrind warnings go away 2008-08-18 19:55:55 +02:00
Lennart Poettering
c6b18880be bump release 2008-08-18 17:57:44 +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ò
f8197cfc4c Update code to use libtool 2.2. Use convenience recursive libltdl.
Also remove the code for older libtool from the daemon.
2008-08-08 12:24:57 +02:00