mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 19:23:28 +01:00
commit
6cd2411ec0
16
configure.ac
16
configure.ac
@ -387,6 +387,15 @@ if test "x$LIBTOXCORE_FOUND" = "xno"; then
|
|||||||
AC_SUBST(LIBTOXCORE_LDFLAGS)
|
AC_SUBST(LIBTOXCORE_LDFLAGS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_CHECK_HEADER([resolv.h], [],
|
||||||
|
[
|
||||||
|
AC_MSG_ERROR([resolv.h header was not found on your system])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_CHECK_LIB(resolv, __res_init, [],
|
||||||
|
[
|
||||||
|
AC_MSG_ERROR([libresolv library was not found on your system])
|
||||||
|
])
|
||||||
|
|
||||||
####
|
####
|
||||||
#### A/V Stuff
|
#### A/V Stuff
|
||||||
@ -452,18 +461,11 @@ fi
|
|||||||
|
|
||||||
if test "x$BUILD_AV" = "xyes"; then
|
if test "x$BUILD_AV" = "xyes"; then
|
||||||
PKG_CHECK_MODULES([LIBTOXAV], [libtoxav],
|
PKG_CHECK_MODULES([LIBTOXAV], [libtoxav],
|
||||||
[
|
|
||||||
AC_CHECK_HEADER([tox/toxav.h],
|
|
||||||
[
|
[
|
||||||
# Place define for audio support
|
# Place define for audio support
|
||||||
AC_DEFINE([_SUPPORT_AUDIO], [], [Is audio supported])
|
AC_DEFINE([_SUPPORT_AUDIO], [], [Is audio supported])
|
||||||
AC_MSG_NOTICE([Building with audio support])
|
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])
|
AC_MSG_NOTICE([No A/V library; disabling A/V support])
|
||||||
BUILD_AV="no"
|
BUILD_AV="no"
|
||||||
|
Loading…
Reference in New Issue
Block a user