mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 15:11:12 +02:00
Cleanup lib-src
Removing: id3lib libresample libsamplerate taglib
This commit is contained in:
514
configure
vendored
514
configure
vendored
@@ -677,8 +677,6 @@ USE_LIBTWOLAME_FALSE
|
||||
USE_LIBTWOLAME_TRUE
|
||||
USE_LOCAL_LIBSOXR_FALSE
|
||||
USE_LOCAL_LIBSOXR_TRUE
|
||||
USE_LIBSOXR_FALSE
|
||||
USE_LIBSOXR_TRUE
|
||||
USE_LOCAL_LIBSOUNDTOUCH_FALSE
|
||||
USE_LOCAL_LIBSOUNDTOUCH_TRUE
|
||||
USE_LIBSOUNDTOUCH_FALSE
|
||||
@@ -689,18 +687,6 @@ USE_LOCAL_SBSMS_FALSE
|
||||
USE_LOCAL_SBSMS_TRUE
|
||||
USE_SBSMS_FALSE
|
||||
USE_SBSMS_TRUE
|
||||
USE_LOCAL_LIBSAMPLERATE_FALSE
|
||||
USE_LOCAL_LIBSAMPLERATE_TRUE
|
||||
USE_LIBSAMPLERATE_FALSE
|
||||
USE_LIBSAMPLERATE_TRUE
|
||||
SAMPLERATE_LIBS
|
||||
SAMPLERATE_CFLAGS
|
||||
USE_LOCAL_LIBRESAMPLE_FALSE
|
||||
USE_LOCAL_LIBRESAMPLE_TRUE
|
||||
USE_LIBRESAMPLE_FALSE
|
||||
USE_LIBRESAMPLE_TRUE
|
||||
LIBRESAMPLE_LIBS
|
||||
LIBRESAMPLE_CFLAGS
|
||||
USE_LOCAL_LIBNYQUIST_FALSE
|
||||
USE_LOCAL_LIBNYQUIST_TRUE
|
||||
USE_LIBNYQUIST_FALSE
|
||||
@@ -759,8 +745,6 @@ SNDFILE_LIBS
|
||||
SNDFILE_CFLAGS
|
||||
SBSMS_LIBS
|
||||
SBSMS_CFLAGS
|
||||
LIBSAMPLERATE_SYSTEM_LIBS
|
||||
LIBSAMPLERATE_SYSTEM_CFLAGS
|
||||
LIBMAD_LIBS
|
||||
LIBMAD_CFLAGS
|
||||
ID3TAG_LIBS
|
||||
@@ -964,8 +948,6 @@ with_libflac
|
||||
with_libid3tag
|
||||
with_libmad
|
||||
enable_nyquist
|
||||
with_libresample
|
||||
with_libsamplerate
|
||||
with_sbsms
|
||||
with_libsndfile
|
||||
with_soundtouch
|
||||
@@ -1011,8 +993,6 @@ ID3TAG_CFLAGS
|
||||
ID3TAG_LIBS
|
||||
LIBMAD_CFLAGS
|
||||
LIBMAD_LIBS
|
||||
LIBSAMPLERATE_SYSTEM_CFLAGS
|
||||
LIBSAMPLERATE_SYSTEM_LIBS
|
||||
SBSMS_CFLAGS
|
||||
SBSMS_LIBS
|
||||
SNDFILE_CFLAGS
|
||||
@@ -1045,8 +1025,6 @@ lib-src/libflac
|
||||
lib-src/libid3tag
|
||||
lib-src/libmad
|
||||
lib-src/libnyquist
|
||||
lib-src/libresample
|
||||
lib-src/libsamplerate
|
||||
lib-src/sbsms
|
||||
lib-src/libsndfile
|
||||
lib-src/soundtouch
|
||||
@@ -1732,12 +1710,11 @@ Optional Packages:
|
||||
--with-libflac use libFLAC for FLAC support
|
||||
--with-libid3tag use libid3tag for mp3 id3 tag support
|
||||
--with-libmad use libmad for mp2/3 decoding support
|
||||
--with-libresample use libresample for sample rate conversion
|
||||
--with-libsamplerate use libsamplerate for sample rate conversion
|
||||
--with-sbsms use libsbsms for pitch and tempo changing
|
||||
--with-libsndfile which libsndfile to use (required): [system,local]
|
||||
--with-soundtouch use libSoundTouch for pitch and tempo changing
|
||||
--with-libsoxr use libsoxr for sample rate conversion
|
||||
--with-libsoxr use libsoxr for sample rate conversion (required):
|
||||
[system,local]
|
||||
--with-libtwolame use libtwolame for MP2 export support
|
||||
--with-libvamp use libvamp for Vamp plug-in support [default=yes]
|
||||
--with-libvorbis use libvorbis for Ogg Vorbis support
|
||||
@@ -1783,10 +1760,6 @@ Some influential environment variables:
|
||||
LIBMAD_CFLAGS
|
||||
C compiler flags for LIBMAD, overriding pkg-config
|
||||
LIBMAD_LIBS linker flags for LIBMAD, overriding pkg-config
|
||||
LIBSAMPLERATE_SYSTEM_CFLAGS
|
||||
C compiler flags for LIBSAMPLERATE_SYSTEM, overriding pkg-config
|
||||
LIBSAMPLERATE_SYSTEM_LIBS
|
||||
linker flags for LIBSAMPLERATE_SYSTEM, overriding pkg-config
|
||||
SBSMS_CFLAGS
|
||||
C compiler flags for SBSMS, overriding pkg-config
|
||||
SBSMS_LIBS linker flags for SBSMS, overriding pkg-config
|
||||
@@ -2916,7 +2889,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
||||
|
||||
|
||||
|
||||
am__api_version='1.13'
|
||||
am__api_version='1.14'
|
||||
|
||||
# Find a good install program. We prefer a C program (faster),
|
||||
# so one script is as good as another. But avoid the broken or
|
||||
@@ -3569,6 +3542,47 @@ $as_echo "$am_cv_prog_tar_ustar" >&6; }
|
||||
|
||||
|
||||
|
||||
# POSIX will say in a future version that running "rm -f" with no argument
|
||||
# is OK; and we want to be able to make that assumption in our Makefile
|
||||
# recipes. So use an aggressive probe to check that the usage we want is
|
||||
# actually supported "in the wild" to an acceptable degree.
|
||||
# See automake bug#10828.
|
||||
# To make any issue more visible, cause the running configure to be aborted
|
||||
# by default if the 'rm' program in use doesn't match our expectations; the
|
||||
# user can still override this though.
|
||||
if rm -f && rm -fr && rm -rf; then : OK; else
|
||||
cat >&2 <<'END'
|
||||
Oops!
|
||||
|
||||
Your 'rm' program seems unable to run without file operands specified
|
||||
on the command line, even when the '-f' option is present. This is contrary
|
||||
to the behaviour of most rm programs out there, and not conforming with
|
||||
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
|
||||
|
||||
Please tell bug-automake@gnu.org about your system, including the value
|
||||
of your $PATH and any error possibly output before this message. This
|
||||
can help us improve future automake versions.
|
||||
|
||||
END
|
||||
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
|
||||
echo 'Configuration will proceed anyway, since you have set the' >&2
|
||||
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
|
||||
echo >&2
|
||||
else
|
||||
cat >&2 <<'END'
|
||||
Aborting the configuration process, to ensure you take notice of the issue.
|
||||
|
||||
You can download and install GNU coreutils to get an 'rm' implementation
|
||||
that behaves properly: <http://www.gnu.org/software/coreutils/>.
|
||||
|
||||
If you want to complete the configuration process using your problematic
|
||||
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
||||
to "yes", and re-run configure.
|
||||
|
||||
END
|
||||
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
||||
@@ -4769,6 +4783,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
||||
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
||||
if ${am_cv_prog_cc_c_o+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
# Make sure it works both with $CC and with simple cc.
|
||||
# Following AC_PROG_CC_C_O, we do the test twice because some
|
||||
# compilers refuse to overwrite an existing .o file with -o,
|
||||
# though they will create one.
|
||||
am_cv_prog_cc_c_o=yes
|
||||
for am_i in 1 2; do
|
||||
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
||||
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } \
|
||||
&& test -f conftest2.$ac_objext; then
|
||||
: OK
|
||||
else
|
||||
am_cv_prog_cc_c_o=no
|
||||
break
|
||||
fi
|
||||
done
|
||||
rm -f core conftest*
|
||||
unset am_i
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
||||
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
||||
if test "$am_cv_prog_cc_c_o" != yes; then
|
||||
# Losing compiler, so override with the script.
|
||||
# FIXME: It is wrong to rewrite CC.
|
||||
# But if we don't then we get into trouble of one sort or another.
|
||||
# A longer-term fix would be to have automake use am__CC in this case,
|
||||
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
||||
CC="$am_aux_dir/compile $CC"
|
||||
fi
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
depcc="$CC" am_compiler_list=
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
||||
@@ -7518,6 +7591,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
||||
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
||||
if ${am_cv_prog_cc_c_o+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
# Make sure it works both with $CC and with simple cc.
|
||||
# Following AC_PROG_CC_C_O, we do the test twice because some
|
||||
# compilers refuse to overwrite an existing .o file with -o,
|
||||
# though they will create one.
|
||||
am_cv_prog_cc_c_o=yes
|
||||
for am_i in 1 2; do
|
||||
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
||||
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } \
|
||||
&& test -f conftest2.$ac_objext; then
|
||||
: OK
|
||||
else
|
||||
am_cv_prog_cc_c_o=no
|
||||
break
|
||||
fi
|
||||
done
|
||||
rm -f core conftest*
|
||||
unset am_i
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
||||
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
||||
if test "$am_cv_prog_cc_c_o" != yes; then
|
||||
# Losing compiler, so override with the script.
|
||||
# FIXME: It is wrong to rewrite CC.
|
||||
# But if we don't then we get into trouble of one sort or another.
|
||||
# A longer-term fix would be to have automake use am__CC in this case,
|
||||
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
||||
CC="$am_aux_dir/compile $CC"
|
||||
fi
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
depcc="$CC" am_compiler_list=
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
||||
@@ -8174,7 +8306,6 @@ CFLAGS="$cflags_save"
|
||||
CPPFLAGS="$cppflags_save"
|
||||
CXXFLAGS="$cxxflags_save"
|
||||
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
for ac_prog in ar lib "link -lib"
|
||||
do
|
||||
@@ -8282,12 +8413,18 @@ $as_echo_n "checking the archiver ($AR) interface... " >&6; }
|
||||
if ${am_cv_ar_interface+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
am_cv_ar_interface=ar
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
am_cv_ar_interface=ar
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
int some_variable = 0;
|
||||
_ACEOF
|
||||
if ac_fn_cxx_try_compile "$LINENO"; then :
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
|
||||
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
|
||||
(eval $am_ar_try) 2>&5
|
||||
@@ -8313,6 +8450,11 @@ if ac_fn_cxx_try_compile "$LINENO"; then :
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
ac_ext=cpp
|
||||
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
|
||||
@@ -9725,6 +9867,7 @@ test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
||||
|
||||
|
||||
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
for ac_prog in ar
|
||||
do
|
||||
@@ -19723,7 +19866,7 @@ CXXFLAGS="$CXXFLAGS -I\$(top_srcdir)/lib-src/FileDialog"
|
||||
FILEDIALOG_LIBS='$(top_builddir)/lib-src/FileDialog/libFileDialog.la'
|
||||
|
||||
|
||||
LIBRARIES="EXPAT FFMPEG LAME LIBFLAC LIBID3TAG LIBMAD LIBNYQUIST LIBRESAMPLE LIBSAMPLERATE LIBSBSMS LIBSNDFILE LIBSOUNDTOUCH LIBSOXR LIBTWOLAME LIBVAMP LIBVORBIS LV2 PORTAUDIO PORTSMF WIDGETEXTRA"
|
||||
LIBRARIES="EXPAT FFMPEG LAME LIBFLAC LIBID3TAG LIBMAD LIBNYQUIST LIBSBSMS LIBSNDFILE LIBSOUNDTOUCH LIBSOXR LIBTWOLAME LIBVAMP LIBVORBIS LV2 PORTAUDIO PORTSMF WIDGETEXTRA"
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Determining what libraries are available in this tree and on the system" >&5
|
||||
$as_echo "$as_me: Determining what libraries are available in this tree and on the system" >&6;}
|
||||
@@ -20970,173 +21113,6 @@ $as_echo "$as_me: nyquist libraries are NOT available in the local tree" >&6;}
|
||||
|
||||
|
||||
|
||||
|
||||
# Check whether --with-libresample was given.
|
||||
if test "${with_libresample+set}" = set; then :
|
||||
withval=$with_libresample; LIBRESAMPLE_ARGUMENT=$withval
|
||||
else
|
||||
LIBRESAMPLE_ARGUMENT="unspecified"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
LIBRESAMPLE_SYSTEM_AVAILABLE="no"
|
||||
|
||||
|
||||
as_ac_File=`$as_echo "ac_cv_file_${srcdir}/lib-src/libresample/include/libresample.h" | $as_tr_sh`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${srcdir}/lib-src/libresample/include/libresample.h" >&5
|
||||
$as_echo_n "checking for ${srcdir}/lib-src/libresample/include/libresample.h... " >&6; }
|
||||
if eval \${$as_ac_File+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
test "$cross_compiling" = yes &&
|
||||
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
|
||||
if test -r "${srcdir}/lib-src/libresample/include/libresample.h"; then
|
||||
eval "$as_ac_File=yes"
|
||||
else
|
||||
eval "$as_ac_File=no"
|
||||
fi
|
||||
fi
|
||||
eval ac_res=\$$as_ac_File
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
||||
$as_echo "$ac_res" >&6; }
|
||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||
LIBRESAMPLE_LOCAL_AVAILABLE="yes"
|
||||
else
|
||||
LIBRESAMPLE_LOCAL_AVAILABLE="no"
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBRESAMPLE_LOCAL_AVAILABLE" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: libresample libraries are available in the local tree" >&5
|
||||
$as_echo "$as_me: libresample libraries are available in the local tree" >&6;}
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: libresample libraries are NOT available in the local tree" >&5
|
||||
$as_echo "$as_me: libresample libraries are NOT available in the local tree" >&6;}
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# Check whether --with-libsamplerate was given.
|
||||
if test "${with_libsamplerate+set}" = set; then :
|
||||
withval=$with_libsamplerate; LIBSAMPLERATE_ARGUMENT=$withval
|
||||
else
|
||||
LIBSAMPLERATE_ARGUMENT="unspecified"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSAMPLERATE_SYSTEM" >&5
|
||||
$as_echo_n "checking for LIBSAMPLERATE_SYSTEM... " >&6; }
|
||||
|
||||
if test -n "$LIBSAMPLERATE_SYSTEM_CFLAGS"; then
|
||||
pkg_cv_LIBSAMPLERATE_SYSTEM_CFLAGS="$LIBSAMPLERATE_SYSTEM_CFLAGS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.2\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.2") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_LIBSAMPLERATE_SYSTEM_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= 0.1.2" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
if test -n "$LIBSAMPLERATE_SYSTEM_LIBS"; then
|
||||
pkg_cv_LIBSAMPLERATE_SYSTEM_LIBS="$LIBSAMPLERATE_SYSTEM_LIBS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.2\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.2") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_LIBSAMPLERATE_SYSTEM_LIBS=`$PKG_CONFIG --libs "samplerate >= 0.1.2" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test $pkg_failed = yes; then
|
||||
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
_pkg_short_errors_supported=yes
|
||||
else
|
||||
_pkg_short_errors_supported=no
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
LIBSAMPLERATE_SYSTEM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "samplerate >= 0.1.2" 2>&1`
|
||||
else
|
||||
LIBSAMPLERATE_SYSTEM_PKG_ERRORS=`$PKG_CONFIG --print-errors "samplerate >= 0.1.2" 2>&1`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$LIBSAMPLERATE_SYSTEM_PKG_ERRORS" >&5
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
LIBSAMPLERATE_SYSTEM_AVAILABLE="no"
|
||||
elif test $pkg_failed = untried; then
|
||||
LIBSAMPLERATE_SYSTEM_AVAILABLE="no"
|
||||
else
|
||||
LIBSAMPLERATE_SYSTEM_CFLAGS=$pkg_cv_LIBSAMPLERATE_SYSTEM_CFLAGS
|
||||
LIBSAMPLERATE_SYSTEM_LIBS=$pkg_cv_LIBSAMPLERATE_SYSTEM_LIBS
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
LIBSAMPLERATE_SYSTEM_AVAILABLE="yes"
|
||||
fi
|
||||
if test "$LIBSAMPLERATE_SYSTEM_AVAILABLE" = "yes" ; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libsamplerate libraries are available as system libraries" >&5
|
||||
$as_echo "$as_me: Libsamplerate libraries are available as system libraries" >&6;}
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libsamplerate libraries are NOT available as system libraries" >&5
|
||||
$as_echo "$as_me: Libsamplerate libraries are NOT available as system libraries" >&6;}
|
||||
fi
|
||||
|
||||
|
||||
as_ac_File=`$as_echo "ac_cv_file_${srcdir}/lib-src/libsamplerate/src/samplerate.h" | $as_tr_sh`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${srcdir}/lib-src/libsamplerate/src/samplerate.h" >&5
|
||||
$as_echo_n "checking for ${srcdir}/lib-src/libsamplerate/src/samplerate.h... " >&6; }
|
||||
if eval \${$as_ac_File+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
test "$cross_compiling" = yes &&
|
||||
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
|
||||
if test -r "${srcdir}/lib-src/libsamplerate/src/samplerate.h"; then
|
||||
eval "$as_ac_File=yes"
|
||||
else
|
||||
eval "$as_ac_File=no"
|
||||
fi
|
||||
fi
|
||||
eval ac_res=\$$as_ac_File
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
||||
$as_echo "$ac_res" >&6; }
|
||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||
LIBSAMPLERATE_LOCAL_AVAILABLE="yes"
|
||||
else
|
||||
LIBSAMPLERATE_LOCAL_AVAILABLE="no"
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBSAMPLERATE_LOCAL_AVAILABLE" = "yes" ; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: libsamplerate libraries are available in the local tree" >&5
|
||||
$as_echo "$as_me: libsamplerate libraries are available in the local tree" >&6;}
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: libsamplerate libraries are NOT available in the local tree" >&5
|
||||
$as_echo "$as_me: libsamplerate libraries are NOT available in the local tree" >&6;}
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Check whether --with-sbsms was given.
|
||||
if test "${with_sbsms+set}" = set; then :
|
||||
withval=$with_sbsms; LIBSBSMS_ARGUMENT=$withval
|
||||
@@ -22725,7 +22701,7 @@ done
|
||||
# * we need to have libwidgetextra one way or another
|
||||
# * we need to have libsndfile one way or another
|
||||
# * we need to have portaudio way or another
|
||||
# * we can only use one of libsoxr, libsamplerate and libresample
|
||||
# * we need to have libsoxr
|
||||
|
||||
if test "$EXPAT_USE_LOCAL" != "yes" -a "$EXPAT_USE_SYSTEM" != "yes"; then
|
||||
as_fn_error $? "Audacity requires expat to be enabled." "$LINENO" 5
|
||||
@@ -22743,37 +22719,9 @@ if test "$PORTAUDIO_USE_LOCAL" != "yes" && test "$PORTAUDIO_USE_SYSTEM" != "yes"
|
||||
as_fn_error $? "Audacity requires portaudio to be enabled" "$LINENO" 5
|
||||
fi
|
||||
|
||||
if test x"$LIBSAMPLERATE_ARGUMENT" = x"unspecified" ; then
|
||||
LIBSAMPLERATE_USE_LOCAL="no"
|
||||
LIBSAMPLERATE_USE_SYSTEM="no"
|
||||
if test "$LIBSOXR_USE_LOCAL" != "yes" && test "$LIBSOXR_USE_SYSTEM" != "yes" ; then
|
||||
as_fn_error $? "Audacity requires libsoxr to be enabled" "$LINENO" 5
|
||||
fi
|
||||
if test x"$LIBRESAMPLE_ARGUMENT" = x"unspecified" ; then
|
||||
LIBRESAMPLE_USE_LOCAL="no"
|
||||
LIBRESAMPLE_USE_SYSTEM="no"
|
||||
fi
|
||||
|
||||
|
||||
if ( test "$LIBRESAMPLE_USE_LOCAL" = "yes" || test "$LIBRESAMPLE_USE_SYSTEM" = "yes") && ( test "$LIBSOXR_USE_LOCAL" = "yes" || test "$LIBSOXR_USE_SYSTEM" = "yes"); then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Both libresample and libsoxr were requested: favouring libsoxr." >&5
|
||||
$as_echo "$as_me: Both libresample and libsoxr were requested: favouring libsoxr." >&6;}
|
||||
LIBRESAMPLE_USE_LOCAL="no"
|
||||
LIBRESAMPLE_USE_SYSTEM="no"
|
||||
fi
|
||||
|
||||
if ( test "$LIBRESAMPLE_USE_LOCAL" = "yes" || test "$LIBRESAMPLE_USE_SYSTEM" = "yes") && ( test "$LIBSAMPLERATE_USE_LOCAL" = "yes" || test "$LIBSAMPLERATE_USE_SYSTEM" = "yes"); then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Both libresample and libsamplerate were requested: favouring libsamplerate" >&5
|
||||
$as_echo "$as_me: Both libresample and libsamplerate were requested: favouring libsamplerate" >&6;}
|
||||
LIBRESAMPLE_USE_LOCAL="no"
|
||||
LIBRESAMPLE_USE_SYSTEM="no"
|
||||
fi
|
||||
|
||||
if ( test "$LIBSOXR_USE_LOCAL" = "yes" || test "$LIBSOXR_USE_SYSTEM" = "yes") && ( test "$LIBSAMPLERATE_USE_LOCAL" = "yes" || test "$LIBSAMPLERATE_USE_SYSTEM" = "yes"); then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Both libsoxr and libsamplerate were requested: favouring libsoxr" >&5
|
||||
$as_echo "$as_me: Both libsoxr and libsamplerate were requested: favouring libsoxr" >&6;}
|
||||
LIBSOXR_USE_LOCAL="no"
|
||||
LIBSOXR_USE_SYSTEM="no"
|
||||
fi
|
||||
|
||||
|
||||
for lib in $LIBRARIES ; do
|
||||
eval LIB_USE_LOCAL=\$${lib}_USE_LOCAL
|
||||
@@ -23067,74 +23015,6 @@ $as_echo "#define USE_NYQUIST 1" >>confdefs.h
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBRESAMPLE_USE_LOCAL" = yes; then
|
||||
LIBRESAMPLE_CFLAGS='-I$(top_srcdir)/lib-src/libresample/include'
|
||||
LIBRESAMPLE_LIBS='$(top_builddir)/lib-src/libresample/libresample.a'
|
||||
subdirs="$subdirs lib-src/libresample"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test "$LIBRESAMPLE_USE_LOCAL" = yes -o "$LIBRESAMPLE_USE_SYSTEM" = yes; then
|
||||
USE_LIBRESAMPLE_TRUE=
|
||||
USE_LIBRESAMPLE_FALSE='#'
|
||||
else
|
||||
USE_LIBRESAMPLE_TRUE='#'
|
||||
USE_LIBRESAMPLE_FALSE=
|
||||
fi
|
||||
|
||||
if test "$LIBRESAMPLE_USE_LOCAL" = yes; then
|
||||
USE_LOCAL_LIBRESAMPLE_TRUE=
|
||||
USE_LOCAL_LIBRESAMPLE_FALSE='#'
|
||||
else
|
||||
USE_LOCAL_LIBRESAMPLE_TRUE='#'
|
||||
USE_LOCAL_LIBRESAMPLE_FALSE=
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBRESAMPLE_USE_LOCAL" = yes -o "$LIBRESAMPLE_USE_SYSTEM" = yes; then
|
||||
|
||||
$as_echo "#define USE_LIBRESAMPLE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBSAMPLERATE_USE_LOCAL" = yes; then
|
||||
SAMPLERATE_CFLAGS='-I$(top_srcdir)/lib-src/libsamplerate/src'
|
||||
SAMPLERATE_LIBS='$(top_builddir)/lib-src/libsamplerate/libsamplerate.a'
|
||||
subdirs="$subdirs lib-src/libsamplerate"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test "$LIBSAMPLERATE_USE_LOCAL" = yes -o "$LIBSAMPLERATE_USE_SYSTEM" = yes; then
|
||||
USE_LIBSAMPLERATE_TRUE=
|
||||
USE_LIBSAMPLERATE_FALSE='#'
|
||||
else
|
||||
USE_LIBSAMPLERATE_TRUE='#'
|
||||
USE_LIBSAMPLERATE_FALSE=
|
||||
fi
|
||||
|
||||
if test "$LIBSAMPLERATE_USE_LOCAL" = yes; then
|
||||
USE_LOCAL_LIBSAMPLERATE_TRUE=
|
||||
USE_LOCAL_LIBSAMPLERATE_FALSE='#'
|
||||
else
|
||||
USE_LOCAL_LIBSAMPLERATE_TRUE='#'
|
||||
USE_LOCAL_LIBSAMPLERATE_FALSE=
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBSAMPLERATE_USE_LOCAL" = yes -o "$LIBSAMPLERATE_USE_SYSTEM" = yes; then
|
||||
|
||||
$as_echo "#define USE_LIBSAMPLERATE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBSBSMS_USE_LOCAL" = yes; then
|
||||
SBSMS_CFLAGS='-I$(top_srcdir)/lib-src/sbsms/include'
|
||||
SBSMS_LIBS='$(top_builddir)/lib-src/sbsms/src/.libs/libsbsms.a'
|
||||
@@ -23233,14 +23113,6 @@ $as_echo "#define USE_SOUNDTOUCH 1" >>confdefs.h
|
||||
|
||||
|
||||
|
||||
if test "$LIBSOXR_USE_LOCAL" = yes -o "$LIBSOXR_USE_SYSTEM" = yes; then
|
||||
USE_LIBSOXR_TRUE=
|
||||
USE_LIBSOXR_FALSE='#'
|
||||
else
|
||||
USE_LIBSOXR_TRUE='#'
|
||||
USE_LIBSOXR_FALSE=
|
||||
fi
|
||||
|
||||
if test "$LIBSOXR_USE_LOCAL" = yes; then
|
||||
USE_LOCAL_LIBSOXR_TRUE=
|
||||
USE_LOCAL_LIBSOXR_FALSE='#'
|
||||
@@ -23250,12 +23122,6 @@ else
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBSOXR_USE_LOCAL" = yes -o "$LIBSOXR_USE_SYSTEM" = yes; then
|
||||
|
||||
$as_echo "#define USE_LIBSOXR 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "$LIBTWOLAME_USE_LOCAL" = yes; then
|
||||
LIBTWOLAME_CFLAGS='-I$(top_srcdir)/lib-src/twolame/libtwolame'
|
||||
@@ -24460,22 +24326,6 @@ if test -z "${USE_LOCAL_LIBNYQUIST_TRUE}" && test -z "${USE_LOCAL_LIBNYQUIST_FAL
|
||||
as_fn_error $? "conditional \"USE_LOCAL_LIBNYQUIST\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_LIBRESAMPLE_TRUE}" && test -z "${USE_LIBRESAMPLE_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_LIBRESAMPLE\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_LOCAL_LIBRESAMPLE_TRUE}" && test -z "${USE_LOCAL_LIBRESAMPLE_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_LOCAL_LIBRESAMPLE\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_LIBSAMPLERATE_TRUE}" && test -z "${USE_LIBSAMPLERATE_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_LIBSAMPLERATE\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_LOCAL_LIBSAMPLERATE_TRUE}" && test -z "${USE_LOCAL_LIBSAMPLERATE_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_LOCAL_LIBSAMPLERATE\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_SBSMS_TRUE}" && test -z "${USE_SBSMS_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_SBSMS\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
@@ -24496,10 +24346,6 @@ if test -z "${USE_LOCAL_LIBSOUNDTOUCH_TRUE}" && test -z "${USE_LOCAL_LIBSOUNDTOU
|
||||
as_fn_error $? "conditional \"USE_LOCAL_LIBSOUNDTOUCH\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_LIBSOXR_TRUE}" && test -z "${USE_LIBSOXR_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_LIBSOXR\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${USE_LOCAL_LIBSOXR_TRUE}" && test -z "${USE_LOCAL_LIBSOXR_FALSE}"; then
|
||||
as_fn_error $? "conditional \"USE_LOCAL_LIBSOXR\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
|
Reference in New Issue
Block a user