mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 02:03:03 +01:00
Remove redundant toxav header check
If pkg-config reports that toxav is there, it should be enough, no extra checks needed.
This commit is contained in:
parent
485191d185
commit
6f9ab56493
@ -462,16 +462,9 @@ fi
|
||||
if test "x$BUILD_AV" = "xyes"; then
|
||||
PKG_CHECK_MODULES([LIBTOXAV], [libtoxav],
|
||||
[
|
||||
AC_CHECK_HEADER([tox/toxav.h],
|
||||
[
|
||||
# Place define for audio support
|
||||
AC_DEFINE([_SUPPORT_AUDIO], [], [Is audio supported])
|
||||
AC_MSG_NOTICE([Building with audio support])
|
||||
],
|
||||
[
|
||||
AC_MSG_NOTICE([No A/V headers; disabling A/V support])
|
||||
BUILD_AV="no"
|
||||
],)
|
||||
],
|
||||
[
|
||||
AC_MSG_NOTICE([No A/V library; disabling A/V support])
|
||||
|
Loading…
Reference in New Issue
Block a user