summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2015-09-27build-sys: fix the default bash completion directoryTanu Kaskinen1-1/+1
If bashcompletiondir was empty, the check didn't catch that. As a result, the symlinks that were supposed to be generated in the completion directory were created in the root directory.
2015-09-25build-sys: don't use the nodelete linker flag on executablesShawn Walker1-1/+1
The nodelete flag indicates that we don't want our libraries to be unloaded. It's only relevant on libraries, so let's not use it for executables. Trying to use it on executables breaks things on some platforms. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90878
2015-09-12build-sys: bump sonamesTanu Kaskinen1-1/+1
There were a couple of bug fixes to libpulse since 6.99.1.
2015-09-07build-sys: check strtod_l instead of strtof_lTanu Kaskinen1-1/+1
We have no strtof_l calls in the code, so it doesn't make sense to check that function's availability. We have one strtod_l call, so let's check that instead. I don't know if this change makes any practical difference. I just wondered why we had HAVE_STRTOF_L ifdefs in core-util.c for code that didn't use strtof_l.
2015-08-27build-sys: bump sonamesTanu Kaskinen1-1/+1
In this release cycle, libpulse had some internal code changes, but no ABI changes. libpulse-simple and libpulse-mainloop-glib had no changes whatsoever.
2015-07-29build-sys: Fix up setting the bash completion dirArun Raghavan1-11/+6
This makes setting up the bash completion dir consistent with the other cases that we need to deal with, and also handles distcheck correctly.
2015-05-25build-sys: Install bash completion to where bash-completion.pc saysVille Skyttä1-0/+15
Fall back to the previous /etc/bash_completion.d dir on failures (either old bash completion or not installed). changes over Ville Skyttä's patch: define PKG_CHECK_VAR macro which became available only in pkg-config 0.28 see https://bugs.freedesktop.org/show_bug.cgi?id=88782 and https://bugs.freedesktop.org/show_bug.cgi?id=89540 Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2015-02-12Added libsoxr detection and optional build of soxr resampler backend.Andrey Semashev1-0/+17
2015-02-12man: Drop separate paplay man page, move info to pacat man pagePeter Meerwald1-1/+0
see https://bugs.freedesktop.org/show_bug.cgi?id=68135 pacat and paplay man pages both claim to describe the paplay program (which is actually a symlink to pacat) -- this is inconsistent and redundant, so drop the paplay man page a follow-up patch will add man page symlink for all programs implemented by pacat, not just paplay Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2015-01-14update FSF addresses to FSF web pageOndrej Holecek1-2/+1
FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources.
2015-01-05build-sys: Don't enable libsamplerate by defaultTanu Kaskinen1-2/+2
The libsamplerate based resamplers have been deprecated, so it's best to not build them by default.
2014-12-19Revert "launch: Disable autospawn by default when systemd daemon support is ↵v5.99.2David Henningsson1-3/+0
enabled." This reverts commit 7276faca72e9696d4891daff139aee52509f43bf. Using the new systemd socket activation for PulseAudio will cause PulseAudio to not have any connection with D-Bus, breaking device reservation protocol, module-jackdbus-detect and module-dbus-protocol. Therefore, autospawn is now still enabled by default even if you build with systemd daemon headers.
2014-12-03build-sys: Don't build srbchannel-test on targets without srbchannelDavid Henningsson1-0/+1
Reported-by: Felipe Sateler <fsateler@debian.org> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-11-24build-sys: Fix the BlueZ 5 native headset backend checkTanu Kaskinen1-4/+4
If the libbluetooth headers aren't available, we shouldn't treat that as an error unless --enable-bluez5-native-headset has been explicitly given to configure. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86582
2014-11-24build-sys: Always define bluetooth related HAVE_* variablesTanu Kaskinen1-5/+9
I don't know if it can cause any problems if HAVE_BLUEZ_4, HAVE_BLUEZ_5, HAVE_BLUEZ, HAVE_BLUEZ_5_OFONO_HEADSET or HAVE_BLUEZ_5_NATIVE_HEADSET are undefined when the corresponding features are not enabled, but it certainly won't hurt to define the variables also when the features are not enabled.
2014-11-21configure: Bump sonamesDavid Henningsson1-1/+1
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-11-17build-sys: Deprecate libsamplerate supportPeter Meerwald1-1/+3
output DEPRECATED warnings for libsamplerate in configure and PA daemon's log libsamplerate offers no particular advantage over the speex resampler and is distributed under GPL; support for it will be removed in one of the next releases v2: (thanks Arun Raghavan) * log a warning (instead of info) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2014-11-14bluez 5: Build both headset backends, if availableDavid Henningsson1-13/+20
Enable both ofono and native backends to be built into the same libbluez5-util. Never build the null backend. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-11-12build-sys: Fix a variable value checkTanu Kaskinen1-1/+1
2014-11-03build-sys: Minor cosmetic tidyup of configure summaryColin Guthrie1-3/+4
2014-11-03launch: Disable autospawn by default when systemd daemon support is enabled.Colin Guthrie1-0/+3
When enabled, this method is prefered over pulseaudio's built in systems so we should try our best to ensure that it cannot be spawned outside of the mechanisms desired. Packagers should call 'systemctl --global enable pulseaudio.socket' to enable the socket for all users, or alternatively ship an enabling symlink in /usr/lib/systemd/user/sockets.target.wants/ folder. It may also make sense for distributions to add in a ConditionNNN= line to the socket unit if they have a downstream mechanism for enabling or disabling pulseaudio. If individual users wish to opt out of this vendor (or administrator) decision, they can call 'systemctl --user mask pulseaudio.socket'
2014-11-03launch: Add systemd units for launching pulseaudio user instancesColin Guthrie1-0/+11
2014-11-03socket-server: Add support for systemd socket activation.Colin Guthrie1-1/+20
This adds support to module-native-protocol-unix to take over already listening sockets passed in via socket activation (e.g. from systemd) Most of the code is isolated to socket-server but some cleanup code also had to be tweaked to ensure we do not overzealously close open fds.
2014-11-03build-sys: Add support for newer systemd without compatibility libsColin Guthrie1-6/+21
In newer versions of systemd some libraries were combined for the sake of general simplicity. This change checks against the newer name first and avoids separate pkgconfig checks if it's found. We probably want to keep support for the older library names for some time. systemd does allow for the shipping of compatibility pkgconfig files to not break downstream code like ourselves which is why this likely hasn't been "fixed" until now. With this change we no longer rely on systemd having been built with those compatibility pkgconfig files.
2014-11-03build-sys: Clarify some systemd sub-component variable/define names.Colin Guthrie1-16/+16
We currently use the term SYSTEMD when referring to libsystemd-login and JOURNAL when referring to libsystemd-journal. I will be shortly adding support for libsystemd-daemon and in preparation I figured it would be a good idea to clarify the names used currently before adding another!
2014-10-31backend-native: add a new native headset backendWim Taymans1-3/+3
Add a simple native headset backend that implements support for the blutooth HSP profile. This allows pulseaudio to output audio to a Headset using the HSP profile. Make the native backend the default.
2014-10-28build-sys: Alias bash-completion for all PulseAudio commandsMichał Górny1-0/+4
Bash-completion 1.90 introduced support for on-demand loading of completions. Install the completion file as 'pulseaudio' to match the main command, and create symlinks as aliases for other supported commands in order to support the new system.
2014-10-24configure: Remove "WIBBLE" testDavid Henningsson1-1/+0
Apparently "WIBBLE" is just a test, and maybe the test was "How long does it take until somebody notices a strange row in configure.ac and tries to remove it", if so, the test result is "a little over three years". :-) Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-10-16util: Try finding out application name using dladdr if availableFelipe Sateler1-0/+2
This fixes getting the binary name in the Hurd, or any other port using the GNU C library, but only in the case where the library is directly linked to. Opening with dlopen will not work. Change in v3: reorder header includes and definitions Change in v2: use a weak reference to main, so that we don't crash when main cannot be found.
2014-09-10configure: Fix spelling of "backend"David Henningsson1-1/+1
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-09-10configure: fix headset checkWim Taymans1-1/+1
2014-08-22build-sys: Drop support for json 0.9Peter Meerwald1-2/+1
drop support for json 0.9 and require json-c 0.11 (this will also avoids confusion which json package is needed due to the upstream rename) json 0.9 lacks json_object_object_get_ex() json-c 0.11 was released 20130402 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2014-08-22bluetooth: Create oFono backendJoão Paulo Rechi Vita1-3/+3
2014-08-22bluetooth: Create NULL backendJoão Paulo Rechi Vita1-0/+16
2014-08-17shell-completion: Install the Zsh completionsTanu Kaskinen1-0/+8
This makes the Zsh completions work out-of-the-box. I also moved pulseaudio-zsh-completion.zsh to zsh/_pulseaudio to be in line with the common naming convention of Zsh completion files.
2014-06-27Protocol, client: Add commands to enable srbchannelDavid Henningsson1-1/+1
This increments protocol version to v30 and adds two new commands to enable and disable an shm ringbuffer, as well as client side implementation. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-06-26build-sys: Add -fdiagnostics-color=auto to CFLAGSJavier Jardón1-1/+1
As a way to highlight warnings and errors in GCC output This will be available in GCC 4.9, but some distros backported the feature to lower versions http://gcc.gnu.org/gcc-4.9/changes.html
2014-05-23build-sys: Eliminate _FORTIFY_SOURCE warningsAlexander E. Patrakov1-8/+14
The warnings were produced because the command-line flag redefined the value of _FORTIFY_SOURCE coming from the specs on some distributions, including Gentoo. So, undefine this macro before defining it.
2014-03-03Remove all references to the removed KDE filesTanu Kaskinen1-2/+0
2014-02-15build-sys: Bump sonamev4.99.4Arun Raghavan1-1/+1
Bumping from 0->3 since we missed bumping correctly for v4.99.{1,2,3}
2014-01-23build-sys: Bump sonamesv4.99.1Tanu Kaskinen1-3/+3
The bigger than usual bump in libpulse-simple was warranted by the change in pa_simple_flush() that allows also record streams to be flushed. There are no changes to the function signature, but it's in practice a change in the ABI anyway, because new clients using the new possibility won't work with older versions of the library. libpulse-mainloop-glib got a bug fix in commit 68156d3f79b67c77f88050e6c9de180698377c64.
2013-12-20Add support for FreeBSD <sys/capability.h>Ryan Lortie1-8/+16
cap_init() and friends are Linux-specific, so only use them if we're on Linux. Add support for FreeBSD capabilities if we find <sys/capability.h> to be available there. Add an #else (not Linux or FreeBSD) case with an #error requesting contributions for other platforms. This patch keeps the cap_init check in configure.ac but removes the error if it fails. This will ensure we link to -lcap if needed, but won't fail for the case that capabilities are part of the core system (as on FreeBSD). We do however, modify the header check to ensure we fail if there is no <sys/capability.h> at all and we are on a system where it could be installed. The logic here is that it is better to give the user the chance to install it than it is to proceed silently with a disabled security feature on a system where it could easily be supported. --without-caps remains an option if the user wants to force it. https://bugs.freedesktop.org/show_bug.cgi?id=72580
2013-12-20log: Add support for the systemd journalpoljar (Damir Jelić)1-0/+18
The journal is a component of systemd, that captures Syslog messages, Kernel log messages, initial RAM disk and early boot messages as well as messages written to STDOUT/STDERR of all services, indexes them and makes this available to the user. It can be used in parallel, or in place of a traditional syslog daemon, such as rsyslog or syslog-ng. The journal offers a couple of improvements over traditional logging facilities (e.g. advanced filtering capabilities). This patch adds support for logging directly to the journal using its native API.
2013-10-12build-sys: Print CPPFLAGS in configureTanu Kaskinen1-0/+1
I needed this for verifying that the conditional defining of _FORTIFY_SOURCE works.
2013-10-12build-sys: Don't define _FORTIFY_SOURCE when building with -O0Tanu Kaskinen1-1/+6
2013-09-29module: Create pa_module_exists()João Paulo Rechi Vita1-0/+1
This new function checks if a certain module name is available in the system.
2013-09-29build: Add support for enabling/disabling BlueZ 5 supportJoão Paulo Rechi Vita1-3/+17
2013-09-29build: Make the build of bluetooth modules BlueZ 4 specificJoão Paulo Rechi Vita1-13/+11
2013-09-17build-sys: Fix warning in use-case.h configure checkArun Raghavan1-2/+2
AC_CHECK_HEADER uses cpp for header checks, so in order for the check to use the right flags, we need to override CPPFLAGS and not CFLAGS.
2013-09-17build-sys: Silence warning about missing AC_LANG_SOURCE call in configure.acpoljar (Damir Jelić)1-7/+7
This silences multiple warnings like this on autoconf 2.68+: configure.ac:471: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body