1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 15:47:46 +02:00

Fix toxic build when toxav is not available

This commit is contained in:
jin-eld 2014-03-16 20:28:46 +01:00
parent a5a7361370
commit 8024757e57
2 changed files with 5 additions and 0 deletions

View File

@ -440,10 +440,12 @@ if test "x$BUILD_AV" = "xyes"; then
], ],
[ [
AC_MSG_NOTICE([No A/V library; disabling A/V support]) AC_MSG_NOTICE([No A/V library; disabling A/V support])
BUILD_AV="no"
]) ])
], ],
[ [
AC_MSG_NOTICE([No openal library; disabling A/V support]) AC_MSG_NOTICE([No openal library; disabling A/V support])
BUILD_AV="no"
]) ])
fi fi

View File

@ -33,7 +33,10 @@
#include "chat.h" #include "chat.h"
#include "friendlist.h" #include "friendlist.h"
#include "misc_tools.h" #include "misc_tools.h"
#ifdef _SUPPORT_AUDIO
#include "audio_call.h" #include "audio_call.h"
#endif
extern char *DATA_FILE; extern char *DATA_FILE;
extern ToxWindow *prompt; extern ToxWindow *prompt;