mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Add check for FFTW, and add option to disable it at build-time.
This way there will be a message at configure if FFTW is not found, and this gets in-line with the rest of the modules' dependencies.
This commit is contained in:
parent
b64b6bbf4c
commit
f55357cd0b
2 changed files with 17 additions and 3 deletions
10
configure.ac
10
configure.ac
|
|
@ -1273,6 +1273,16 @@ AC_SUBST(OPENSSL_LIBS)
|
|||
AC_SUBST(HAVE_OPENSSL)
|
||||
AM_CONDITIONAL([HAVE_OPENSSL], [test "x$HAVE_OPENSSL" = x1])
|
||||
|
||||
#### FFTW (optional) ####
|
||||
AC_ARG_WITH(
|
||||
[fftw],
|
||||
AS_HELP_STRING([--without-fftw], [Omit FFTW-using modules (equalizer)]))
|
||||
|
||||
if test "x${with_fftw}" != "xno"; then
|
||||
PKG_CHECK_MODULES([FFTW], [fftw3f], [HAVE_FFTW=1], [HAVE_FFTW=0])
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_FFTW], [test "x$HAVE_FFTW" = "x1"])
|
||||
|
||||
### Build and Install man pages ###
|
||||
AC_ARG_ENABLE(manpages,
|
||||
AS_HELP_STRING([--disable-manpages],[Disable building and installation of man pages]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue