mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-06 16:01:10 +00:00
for now, require libsamplerate.
I really don't feel like implementing a fallback right now.
This commit is contained in:
parent
b1620616b9
commit
a314baebf4
1 changed files with 7 additions and 4 deletions
11
configure.ac
11
configure.ac
|
@ -1077,9 +1077,9 @@ if test "x$enable_jack" != "xno"; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST(JACK_LIBS)
|
AC_SUBST(JACK_LIBS)
|
||||||
|
|
||||||
AC_ARG_ENABLE(samplerate,
|
dnl AC_ARG_ENABLE(samplerate,
|
||||||
[ --disable-samplerate disable libsamplerate support],
|
dnl [ --disable-samplerate disable libsamplerate support],
|
||||||
)
|
dnl )
|
||||||
HAVE_SAMPLERATE=no
|
HAVE_SAMPLERATE=no
|
||||||
SAMPLERATE_LIBS=""
|
SAMPLERATE_LIBS=""
|
||||||
if test "x$enable_samplerate" != "xno"; then
|
if test "x$enable_samplerate" != "xno"; then
|
||||||
|
@ -1104,7 +1104,10 @@ if test "x$enable_samplerate" != "xno"; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_SUBST(SAMPLERATE_LIBS)
|
AC_SUBST(SAMPLERATE_LIBS)
|
||||||
AM_CONDITIONAL(HAVE_SAMPLERATE, test "$HAVE_SAMPLERATE" = "yes")
|
dnl AM_CONDITIONAL(HAVE_SAMPLERATE, test "$HAVE_SAMPLERATE" = "yes")
|
||||||
|
if test "x$HAVE_SAMPLERATE" = "xno"; then
|
||||||
|
AC_MSG_ERROR(libsamplerate is required but wasn't found)
|
||||||
|
fi
|
||||||
|
|
||||||
SOUND_TYPES="$SOUND_TYPES DISK"
|
SOUND_TYPES="$SOUND_TYPES DISK"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue