mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-26 15:20:21 +01:00
Make configure subdirectories in AC_CONFIG_SUBDIRS literal.
This fixes the autoreconf warnings and follows the upstream manual: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Subdirectories.html
This commit is contained in:
@@ -44,10 +44,6 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBSAMPLERATE], [
|
||||
LIBSAMPLERATE_LOCAL_LIBS="libsamplerate.a"
|
||||
LIBSAMPLERATE_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/libsamplerate/src'
|
||||
LIBSAMPLERATE_LOCAL_CPPSYMBOLS="USE_LIBSAMPLERATE"
|
||||
|
||||
if test ! -f lib-src/libsamplerate/Makefile ; then
|
||||
LIBSAMPLERATE_LOCAL_CONFIG_SUBDIRS="lib-src/libsamplerate"
|
||||
fi
|
||||
AC_MSG_NOTICE([libsamplerate libraries are available in the local tree])
|
||||
else
|
||||
LIBSAMPLERATE_LOCAL_AVAILABLE="no"
|
||||
@@ -55,3 +51,8 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBSAMPLERATE], [
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AUDACITY_CONFIG_SUBDIRS_LIBSAMPLERATE], [
|
||||
if test "$LIBSAMPLERATE_USE_LOCAL" = yes; then
|
||||
AC_CONFIG_SUBDIRS([lib-src/libsamplerate])
|
||||
fi
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user