diff --git a/configure.ac b/configure.ac index ca30147..df0d35e 100644 --- a/configure.ac +++ b/configure.ac @@ -440,10 +440,12 @@ if test "x$BUILD_AV" = "xyes"; then ], [ AC_MSG_NOTICE([No A/V library; disabling A/V support]) + BUILD_AV="no" ]) ], [ AC_MSG_NOTICE([No openal library; disabling A/V support]) + BUILD_AV="no" ]) fi diff --git a/src/friendlist.c b/src/friendlist.c index a625bfa..430bfeb 100644 --- a/src/friendlist.c +++ b/src/friendlist.c @@ -33,7 +33,10 @@ #include "chat.h" #include "friendlist.h" #include "misc_tools.h" + +#ifdef _SUPPORT_AUDIO #include "audio_call.h" +#endif extern char *DATA_FILE; extern ToxWindow *prompt;