mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-27 00:23:27 +01:00
Add configure checks for libresolv
This commit is contained in:
parent
53cb4b0248
commit
485191d185
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user