1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +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 Add Audacity license?
dnl Please increment the serial number below whenever you alter this macro dnl Please increment the serial number below whenever you alter this macro
dnl for the benefit of automatic macro update systems 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_DEFUN([AUDACITY_CHECKLIB_LIBSOXR], [
AC_ARG_WITH(libsoxr, dnl These four lines are never executed, but they document the USE_LIBSOXR
[AS_HELP_STRING([--with-libsoxr], dnl pre-processor directive (for configunix.h etc)
[use libsoxr for constant-rate resampling: [yes,no]])],
LIBSOXR_ARGUMENT=$withval,
LIBSOXR_ARGUMENT="unspecified")
if false ; then if false ; then
AC_DEFINE(USE_LIBSOXR, 1, AC_DEFINE(USE_LIBSOXR, 1,
[Define if libsoxr support should be enabled]) [Define if libsoxr support should be enabled])
fi 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, PKG_CHECK_MODULES(SOXR, soxr >= 0.0.5,
soxr_available_system="yes", soxr_available_system="yes",