mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
Merge commit 'flameeyes/flameeyes'
This commit is contained in:
commit
f6fcbed6d0
6 changed files with 38 additions and 16 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
EXTRA_DIST = bootstrap.sh LICENSE GPL LGPL doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in README todo
|
EXTRA_DIST = bootstrap.sh LICENSE GPL LGPL doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in README todo
|
||||||
SUBDIRS = libltdl src doxygen man po
|
SUBDIRS = src doxygen man po
|
||||||
|
|
||||||
MAINTAINERCLEANFILES =
|
MAINTAINERCLEANFILES =
|
||||||
noinst_DATA =
|
noinst_DATA =
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,15 @@ run_versioned() {
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# We check for this here, because if pkg-config is not found in the
|
||||||
|
# system, it's likely that the pkg.m4 macro file is also not present,
|
||||||
|
# which will make PKG_PROG_PKG_CONFIG be undefined and the generated
|
||||||
|
# configure file faulty.
|
||||||
|
if ! pkg-config --version &>/dev/null; then
|
||||||
|
echo "pkg-config is required to bootstrap this program" &>/dev/null
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "x$1" = "xam" ] ; then
|
if [ "x$1" = "xam" ] ; then
|
||||||
run_versioned automake "$VERSION" -a -c --foreign
|
run_versioned automake "$VERSION" -a -c --foreign
|
||||||
./config.status
|
./config.status
|
||||||
|
|
|
||||||
38
configure.ac
38
configure.ac
|
|
@ -105,7 +105,7 @@ dnl Check whether to build tests by default (as compile-test) or not
|
||||||
AC_ARG_ENABLE([default-build-tests],
|
AC_ARG_ENABLE([default-build-tests],
|
||||||
AS_HELP_STRING([--disable-default-build-tests], [Build test programs only during make check]))
|
AS_HELP_STRING([--disable-default-build-tests], [Build test programs only during make check]))
|
||||||
|
|
||||||
AM_CONDITIONAL([BUILD_TESTS_DEFAULT], [test "x$enable_default_build_tests" = "xno"])
|
AM_CONDITIONAL([BUILD_TESTS_DEFAULT], [test "x$enable_default_build_tests" != "xno"])
|
||||||
|
|
||||||
# Native atomic operation support
|
# Native atomic operation support
|
||||||
AC_ARG_ENABLE([atomic-arm-linux-helpers],
|
AC_ARG_ENABLE([atomic-arm-linux-helpers],
|
||||||
|
|
@ -237,9 +237,32 @@ AS_IF([test "$pulseaudio_cv__Bool" = "yes"], [
|
||||||
|
|
||||||
#### libtool stuff ####
|
#### libtool stuff ####
|
||||||
LT_PREREQ(2.2)
|
LT_PREREQ(2.2)
|
||||||
LT_CONFIG_LTDL_DIR([libltdl])
|
|
||||||
LT_INIT([dlopen win32-dll disable-static])
|
LT_INIT([dlopen win32-dll disable-static])
|
||||||
LTDL_INIT([convenience recursive])
|
|
||||||
|
dnl Unfortunately, even up to libtool 2.2.6a there is no way to know
|
||||||
|
dnl exactly which version of libltdl is present in the system, so we
|
||||||
|
dnl just assume that it's a working version as long as we have the
|
||||||
|
dnl library and the header files.
|
||||||
|
dnl
|
||||||
|
dnl As an extra safety device, check for lt_dladvise_init() which is
|
||||||
|
dnl only implemented in libtool 2.x, and refine as we go if we have
|
||||||
|
dnl refined requirements.
|
||||||
|
dnl
|
||||||
|
dnl Check the header files first since the system may have a
|
||||||
|
dnl libltdl.so for runtime, but no headers, and we want to bail out as
|
||||||
|
dnl soon as possible.
|
||||||
|
dnl
|
||||||
|
dnl We don't need any special variable for this though, since the user
|
||||||
|
dnl can give the proper place to find libltdl through the standard
|
||||||
|
dnl variables like LDFLAGS and CPPFLAGS.
|
||||||
|
|
||||||
|
AC_CHECK_HEADER([ltdl.h],
|
||||||
|
[AC_CHECK_LIB([ltdl], [lt_dladvise_init], [LIBLTDL=-lltdl], [LIBLTDL=])],
|
||||||
|
[LIBLTDL=])
|
||||||
|
|
||||||
|
AS_IF([test "x$LIBLTDL" = "x"],
|
||||||
|
[AC_MSG_ERROR([Unable to find libltdl.])])
|
||||||
|
AC_SUBST([LIBLTDL])
|
||||||
|
|
||||||
#### Determine build environment ####
|
#### Determine build environment ####
|
||||||
|
|
||||||
|
|
@ -443,14 +466,6 @@ AC_SUBST(pulselocaledir)
|
||||||
|
|
||||||
#### pkg-config ####
|
#### pkg-config ####
|
||||||
|
|
||||||
# Check for pkg-config manually first, as if its not installed the
|
|
||||||
# PKG_PROG_PKG_CONFIG macro won't be defined.
|
|
||||||
AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no)
|
|
||||||
|
|
||||||
if test x"$have_pkg_config" = "xno"; then
|
|
||||||
AC_MSG_ERROR(pkg-config is required to install this program)
|
|
||||||
fi
|
|
||||||
|
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
#### X11 (optional) ####
|
#### X11 (optional) ####
|
||||||
|
|
@ -1174,7 +1189,6 @@ AM_CONDITIONAL([FORCE_PREOPEN], [test "x$FORCE_PREOPEN" = "xyes"])
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
libltdl/Makefile
|
|
||||||
src/Makefile
|
src/Makefile
|
||||||
man/Makefile
|
man/Makefile
|
||||||
libpulse.pc
|
libpulse.pc
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@ AM_CFLAGS = \
|
||||||
-I$(top_builddir)/src/modules/alsa \
|
-I$(top_builddir)/src/modules/alsa \
|
||||||
-I$(top_srcdir)/src/modules/raop \
|
-I$(top_srcdir)/src/modules/raop \
|
||||||
$(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
|
$(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
|
||||||
$(LTDLINCL) \
|
|
||||||
$(LIBSAMPLERATE_CFLAGS) \
|
$(LIBSAMPLERATE_CFLAGS) \
|
||||||
$(LIBSNDFILE_CFLAGS) \
|
$(LIBSNDFILE_CFLAGS) \
|
||||||
$(LIBSPEEX_CFLAGS) \
|
$(LIBSPEEX_CFLAGS) \
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ int pa__init(pa_module*m) {
|
||||||
#ifdef HAVE_ALSA
|
#ifdef HAVE_ALSA
|
||||||
if ((n = detect_alsa(m->core, just_one)) <= 0)
|
if ((n = detect_alsa(m->core, just_one)) <= 0)
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_OSS
|
#ifdef HAVE_OSS
|
||||||
if ((n = detect_oss(m->core, just_one)) <= 0)
|
if ((n = detect_oss(m->core, just_one)) <= 0)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SOLARIS
|
#ifdef HAVE_SOLARIS
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if HAVE_LIBSAMPLERATE
|
#ifdef HAVE_LIBSAMPLERATE
|
||||||
#include <samplerate.h>
|
#include <samplerate.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue