1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

structure like other macros, document what the if false clause does

This commit is contained in:
RichardAsh1981@gmail.com 2013-01-13 20:20:52 +00:00
parent 5791d560e4
commit 2dea45f5b0

View File

@ -1,22 +1,25 @@
dnl Add Audacity license?
dnl Please increment the serial number below whenever you alter this macro
dnl for the benefit of automatic macro update systems
# audacity_checklib_libsoxr.m4 serial 1
# audacity_checklib_libsoxr.m4 serial 2
AC_DEFUN([AUDACITY_CHECKLIB_LIBSOXR], [
AC_ARG_WITH(libsoxr,
[AS_HELP_STRING([--with-libsoxr],
[use libsoxr for constant-rate resampling: [yes,no]])],
LIBSOXR_ARGUMENT=$withval,
LIBSOXR_ARGUMENT="unspecified")
dnl These four lines are never executed, but they document the USE_LIBSOXR
dnl pre-processor directive (for configunix.h etc)
if false ; then
AC_DEFINE(USE_LIBSOXR, 1,
[Define if libsoxr support should be enabled])
fi
dnl see if libsoxr is installed on the system
AC_ARG_WITH(libsoxr,
[AS_HELP_STRING([--with-libsoxr],
[use libsoxr for sample rate conversion])],
LIBSOXR_ARGUMENT=$withval,
LIBSOXR_ARGUMENT="unspecified")
dnl see if libsoxr is installed on the system (we need 0.0.5 or
dnl more recent)
PKG_CHECK_MODULES(SOXR, soxr >= 0.0.5,
soxr_available_system="yes",