mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-10 01:30:44 +00:00
Make the lack of libsamplerate a non-fatal error.
Requiring libsamplerate when not building clients is rather silly. When building clients, disable sound if libsamplerate can't be found.
This commit is contained in:
parent
77dcd07b37
commit
a5272fac17
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ fi
|
||||||
AC_SUBST(SAMPLERATE_LIBS)
|
AC_SUBST(SAMPLERATE_LIBS)
|
||||||
dnl AM_CONDITIONAL(HAVE_SAMPLERATE, test "$HAVE_SAMPLERATE" = "yes")
|
dnl AM_CONDITIONAL(HAVE_SAMPLERATE, test "$HAVE_SAMPLERATE" = "yes")
|
||||||
if test "x$HAVE_SAMPLERATE" = "xno"; then
|
if test "x$HAVE_SAMPLERATE" = "xno"; then
|
||||||
AC_MSG_ERROR(libsamplerate is required but was not found)
|
AC_MSG_WARN([libsamplerate is required but was not found.]
|
||||||
|
[Sound will be disabled.])
|
||||||
|
enable_sound=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SOUND_TYPES="$SOUND_TYPES DISK"
|
SOUND_TYPES="$SOUND_TYPES DISK"
|
||||||
|
|
Loading…
Reference in a new issue