1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 00:20:06 +02:00

Make sure that we have expat enabled one way or another.

This commit is contained in:
benjamin.drung@gmail.com 2013-11-14 11:08:43 +00:00
parent dbffdea8f6
commit 6d2cef480f
2 changed files with 10 additions and 0 deletions

5
configure vendored
View File

@ -8670,11 +8670,16 @@ $as_echo "$as_me: disabling $lib at your request" >&6;}
done
# In some cases the choices made above might be inappropriate.
# * we need to have expat one way or another
# * 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
if test "$LIBEXPAT_USE_LOCAL" != "yes" -a "$LIBEXPAT_USE_SYSTEM" != "yes"; then
as_fn_error $? "Audacity requires expat to be enabled." "$LINENO" 5
fi
if test "$WIDGETEXTRA_USE_LOCAL" != "yes" -a "$WIDGETEXTRA_USE_SYSTEM" != "yes"; then
as_fn_error $? "Audacity requires libwidgetextra to be enabled." "$LINENO" 5
fi

View File

@ -405,11 +405,16 @@ for lib in $LIBRARIES ; do
done
# In some cases the choices made above might be inappropriate.
# * we need to have expat one way or another
# * 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
if test "$LIBEXPAT_USE_LOCAL" != "yes" -a "$LIBEXPAT_USE_SYSTEM" != "yes"; then
AC_MSG_ERROR([Audacity requires expat to be enabled.])
fi
if test "$WIDGETEXTRA_USE_LOCAL" != "yes" -a "$WIDGETEXTRA_USE_SYSTEM" != "yes"; then
AC_MSG_ERROR([Audacity requires libwidgetextra to be enabled.])
fi