mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-01 22:30:11 +01:00
2nd attempt to Add the ability to build without trashing the source tree
In r13510 I had neglected to build with all local libraries and some of them needed attention. So, I also took the opportunity to work out the locale directory and how to keep it unmolested as well. As a result, all locales are rebuilt as expected, but into the "build" directory. As a bonus you may now test Audacity from the "build" directory and have Nyquist plugins and message catalogs available (so you can test other languages again without havint to install). So, again: mkdir buildme cd buildme ../configure make ./audacity
This commit is contained in:
8
configure
vendored
8
configure
vendored
@@ -22988,7 +22988,7 @@ $as_echo "#define USE_LIBID3TAG 1" >>confdefs.h
|
||||
|
||||
|
||||
if test "$LIBMAD_USE_LOCAL" = yes; then
|
||||
LIBMAD_CFLAGS='-I$(top_srcdir)/lib-src/libmad -I../lib-src/libmad'
|
||||
LIBMAD_CFLAGS='-I$(top_srcdir)/lib-src/libmad -I$(top_builddir)/lib-src/libmad'
|
||||
LIBMAD_LIBS='$(top_builddir)/lib-src/libmad/libmad.la'
|
||||
subdirs="$subdirs lib-src/libmad"
|
||||
|
||||
@@ -23178,7 +23178,7 @@ fi
|
||||
|
||||
|
||||
if test "$LIBSOUNDTOUCH_USE_LOCAL" = yes; then
|
||||
SOUNDTOUCH_CFLAGS='-I$(top_srcdir)/lib-src/soundtouch/include -I../lib-src/soundtouch/include'
|
||||
SOUNDTOUCH_CFLAGS='-I$(top_srcdir)/lib-src/soundtouch/include -I$(top_builddir)/lib-src/soundtouch/include'
|
||||
SOUNDTOUCH_LIBS='$(top_builddir)/lib-src/soundtouch/source/SoundTouch/.libs/libSoundTouch.a'
|
||||
subdirs="$subdirs lib-src/soundtouch"
|
||||
|
||||
@@ -23348,7 +23348,7 @@ $as_echo "#define USE_LIBVORBIS 1" >>confdefs.h
|
||||
|
||||
|
||||
if test "$LV2_USE_LOCAL" = yes; then
|
||||
LV2_CFLAGS='-I$(top_srcdir)/lib-src/lv2/include'
|
||||
LV2_CFLAGS='-I$(top_srcdir)/lib-src/lv2/include -I$(top_builddir)/lib-src/lv2/include'
|
||||
LV2_LIBS='$(top_builddir)/lib-src/lv2/liblv2.a'
|
||||
subdirs="$subdirs lib-src/lv2"
|
||||
|
||||
@@ -27282,6 +27282,8 @@ fi
|
||||
echo ""
|
||||
echo "Finished configure:"
|
||||
|
||||
# Copy the contents of the locale directory to the build directory
|
||||
! -e "${ac_abs+top_builddir}/po/LINGUAS" && cp -a "${ac_abs_top_srcdir}/po/"* "${ac_abs_top_builddir}/po/"
|
||||
|
||||
for lib in $LIBRARIES ; do
|
||||
eval LIB_USE_LOCAL=\$${lib}_USE_LOCAL
|
||||
|
||||
Reference in New Issue
Block a user