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

Remove trailing spaces and replace tabs by spaces in m4 macros.

This commit is contained in:
benjamin.drung@gmail.com 2013-10-24 23:24:52 +00:00
parent e1eb176ec4
commit bb7d691ffd
17 changed files with 35 additions and 37 deletions

View File

@ -4,10 +4,10 @@ dnl Check whether C99's lrint function is available.
dnl @version 1.1
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl
AC_DEFUN([AC_C99_FUNC_LRINT],

View File

@ -4,10 +4,10 @@ dnl Check whether C99's lrintf function is available.
dnl @version 1.1
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl
AC_DEFUN([AC_C99_FUNC_LRINTF],

View File

@ -76,7 +76,6 @@ AC_DEFUN([AUDACITY_CHECKLIB_FFMPEG], [
if test "x$FFMPEG_LOCAL_AVAILABLE" = "xno" ; then
AC_MSG_NOTICE([ffmpeg library is NOT available in the local tree])
fi
FFMPEG_MIMETYPES="audio/aac;audio/ac3;audio/mp4;audio/x-ms-wma;video/mpeg;"
])

View File

@ -52,4 +52,3 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBEXPAT], [
AC_MSG_NOTICE([Expat libraries are NOT available in the local tree])
fi
])

View File

@ -16,7 +16,7 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBLRDF], [
[Define if liblrdf (metadata for LADSPA plugins) support should be enabled])
fi
dnl Check for a system copy of liblrdf to use. I've only tested with
dnl Check for a system copy of liblrdf to use. I've only tested with
dnl version 0.4.0, this requirement might be relaxed in the future if
dnl someone else has it working with an earlier version.

View File

@ -35,7 +35,7 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBMAD], [
if test "x$libmad_available_system" = "xyes" ; then
LIBMAD_SYSTEM_AVAILABLE="yes"
LIBMAD_SYSTEM_LIBS="$LIBMAD_LIBS"
LIBMAD_SYSTEM_CXXFLAGS="$LIBMAD_CFLAGS"
LIBMAD_SYSTEM_CXXFLAGS="$LIBMAD_CFLAGS"
LIBMAD_SYSTEM_CPPSYMBOLS="USE_LIBMAD"
AC_MSG_NOTICE([libmad libraries are available as system libraries])
else

View File

@ -10,7 +10,7 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBRAPTOR], [
LIBRAPTOR_ARGUMENT=$withval,
LIBRAPTOR_ARGUMENT="unspecified")
dnl Check for a system copy of libraptor to use.
dnl Check for a system copy of libraptor to use.
PKG_CHECK_MODULES(LIBRAPTOR, raptor >= 1.4.17,
libraptor_available_system="yes",

View File

@ -33,7 +33,7 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBRESAMPLE], [
LIBRESAMPLE_LOCAL_LIBS="libresample.a"
LIBRESAMPLE_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/libresample/include'
LIBRESAMPLE_LOCAL_CPPSYMBOLS="USE_LIBRESAMPLE"
AC_MSG_NOTICE([libresample libraries are available in the local tree])
else
LIBRESAMPLE_LOCAL_AVAILABLE="no"

View File

@ -45,8 +45,8 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBSBSMS], [
LIBSBSMS_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/sbsms/include'
LIBSBSMS_LOCAL_CPPSYMBOLS="USE_SBSMS"
dnl do not build programs we don't need
LIBSBSMS_LOCAL_CONFIGURE_ARGS="--disable-programs"
dnl do not build programs we don't need
LIBSBSMS_LOCAL_CONFIGURE_ARGS="--disable-programs"
AC_MSG_NOTICE([libsbsms libraries are available in the local tree])
else

View File

@ -22,8 +22,8 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBSOXR], [
dnl more recent)
PKG_CHECK_MODULES(SOXR, soxr >= 0.0.5,
soxr_available_system="yes",
soxr_available_system="no")
soxr_available_system="yes",
soxr_available_system="no")
if test "x$soxr_available_system" = "xyes" ; then
LIBSOXR_SYSTEM_AVAILABLE="yes"

View File

@ -44,9 +44,9 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBTWOLAME], [
LIBTWOLAME_LOCAL_LIBS="libtwolame.a"
LIBTWOLAME_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/twolame/libtwolame'
LIBTWOLAME_LOCAL_CPPSYMBOLS="USE_LIBTWOLAME"
dnl disable programs we don't need to build
LIBTWOLAME_LOCAL_CONFIGURE_ARGS="--disable-programs"
dnl disable programs we don't need to build
LIBTWOLAME_LOCAL_CONFIGURE_ARGS="--disable-programs"
AC_MSG_NOTICE([libtwolame library is available in the local tree])
else

View File

@ -26,7 +26,7 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBVAMP], [
LIBVAMP_SYSTEM_AVAILABLE="yes"
LIBVAMP_SYSTEM_LIBS=$VAMP_LIBS
LIBVAMP_SYSTEM_CXXFLAGS=$VAMP_CFLAGS
dnl still need these local objects for the support in audacity
dnl still need these local objects for the support in audacity
LIBVAMP_SYSTEM_OPTOBJS="effects/vamp/VampEffect.o effects/vamp/LoadVamp.o"
LIBVAMP_SYSTEM_CPPSYMBOLS="USE_VAMP"
AC_MSG_NOTICE([Vamp libraries are available as system libraries])
@ -43,18 +43,18 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBVAMP], [
if test "x$vamp_h_found" = "xyes" ; then
LIBVAMP_LOCAL_AVAILABLE="yes"
dnl Add vamp to the list of things to build in lib-src
dnl Add vamp to the list of things to build in lib-src
LIBVAMP_LOCAL_BUILD="vamp-sdk"
dnl compiler and linker flags
dnl compiler and linker flags
LIBVAMP_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/libvamp'
LIBVAMP_LOCAL_LDFLAGS='-L$(top_builddir)/lib-src/libvamp/src -lvamp-hostsdk'
dnl add some extra object files we can build
dnl add some extra object files we can build
LIBVAMP_LOCAL_OPTOBJS="effects/vamp/VampEffect.o effects/vamp/LoadVamp.o"
dnl define a pre-processor symbol to tell other code that the vamp host
dnl SDK is available
dnl define a pre-processor symbol to tell other code that the vamp host
dnl SDK is available
LIBVAMP_LOCAL_CPPSYMBOLS="USE_VAMP"
dnl do not build programs we don't need
LIBVAMP_LOCAL_CONFIGURE_ARGS="--disable-programs"
dnl do not build programs we don't need
LIBVAMP_LOCAL_CONFIGURE_ARGS="--disable-programs"
AC_MSG_NOTICE([Vamp libraries are available in the local tree])
else

View File

@ -3,7 +3,7 @@ dnl Please increment the serial number below whenever you alter this macro
dnl for the benefit of automatic macro update systems
# audacity_checklib_widgetextra.m4 serial 1
dnl A function to check for the correct presence of lib-widget-extra in the
dnl A function to check for the correct presence of lib-widget-extra in the
dnl lib-src tree. Note that this is a mandatory library, and
dnl that because we maintain it, we don't support system copies.

View File

@ -20,13 +20,13 @@ AS_LITERAL_IF([$1],
[AC_CACHE_VAL(AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1), [
ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
_AC_LANG_PREFIX[]FLAGS="$1"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=yes,
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=no)
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])],
[ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
_AC_LANG_PREFIX[]FLAGS="$1"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=yes,
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=no)
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])

View File

@ -4,7 +4,7 @@ dnl @category C
dnl @category C++
dnl
dnl Determine the vendor of the C/C++ compiler, e.g., gnu, intel, ibm,
dnl sun, hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi,
dnl sun, hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi,
dnl microsoft, watcom, etc. The vendor is returned in the cache variable
dnl $ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++.
dnl
@ -17,7 +17,7 @@ AC_DEFUN([AX_COMPILER_VENDOR],
AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
[ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=unknown
# note: don't check for gcc first since some other compilers define __GNUC__
for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
#if !($vencpp)

View File

@ -6,8 +6,8 @@ dnl We don't worry about whether the configuration worked or not - it is
dnl assumed that the next thing after this will be a package-specific check to
dnl see if the package is actually available. (Hint: use pkg-config and
dnl -uninstalled.pc files if available).
dnl code based on a simplification of _AC_OUTPUT_SUBDIRS in
dnl /usr/share/autoconf/autoconf/status.m4 which implements part of
dnl code based on a simplification of _AC_OUTPUT_SUBDIRS in
dnl /usr/share/autoconf/autoconf/status.m4 which implements part of
dnl AC_CONFIG_SUBDIRS
AC_DEFUN([AX_CONFIG_DIR], [

View File

@ -1,5 +1,5 @@
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
#
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
# This program is free software; you can redistribute it and/or modify
@ -118,7 +118,7 @@ if test $pkg_failed = yes; then
_PKG_SHORT_ERRORS_SUPPORTED
if test $_pkg_short_errors_supported = yes; then
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
else
else
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
fi
# Put the nasty error message in config.log where it belongs