mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
Applying 2 of Benjamin's patches to add an autogen script and to
enable support for using the system portaudio library. The latter also corrects a long standing bug that prevented using config.status to regenerate src/Makefile. As a result of the above, I've taken Benjamin's *_LOCAL_CONFIGURE_ARGS idea and propagated its usage to the other place where ac_configure_args was being set directly. Removed old stuff from lib-src/Makefile.in and made the library locations for portaudio and portmixer like the rest (a symlink in lib-src). Reworked portmixer's configure.ac to properly detect host apis.
This commit is contained in:
@@ -41,9 +41,9 @@ AC_DEFUN([AUDACITY_CHECKLIB_LIBRAPTOR], [
|
||||
fi
|
||||
AC_MSG_NOTICE([libraptor is available in the local tree])
|
||||
if test "x$LIBEXPAT_SYSTEM_AVAILABLE" = "xno" ; then
|
||||
ac_configure_args="$ac_configure_args \"--with-expat-source=${srcdir}/src/include\""
|
||||
LIBRAPTOR_LOCAL_CONFIGURE_ARGS="\"--with-expat-source=${srcdir}/src/include\""
|
||||
fi
|
||||
ac_configure_args="$ac_configure_args RAPTOR_CFLAGS='-I../../libraptor/src' RAPTOR_LIBS='-L../.. -lraptor'"
|
||||
LIBRAPTOR_LOCAL_CONFIGURE_ARGS="$LIBRAPTOR_LOCAL_CONFIGURE_ARGS RAPTOR_CFLAGS='-I../../libraptor/src' RAPTOR_LIBS='-L../.. -lraptor'"
|
||||
else
|
||||
LIBRAPTOR_LOCAL_AVAILABLE="no"
|
||||
AC_MSG_NOTICE([libraptor is NOT available in the local tree])
|
||||
|
||||
Reference in New Issue
Block a user