1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 20:57:45 +02:00
This commit is contained in:
Jfreegman 2014-06-17 11:47:02 -04:00
commit afa4bc86e8
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -387,19 +387,15 @@ if test "x$LIBTOXCORE_FOUND" = "xno"; then
AC_SUBST(LIBTOXCORE_LDFLAGS) AC_SUBST(LIBTOXCORE_LDFLAGS)
fi fi
PKG_CHECK_MODULES([LRESOLV], [lresolv], AC_CHECK_HEADER([resolv.h], [],
[],
[
AC_CHECK_HEADER([resolv.h],
[ [
LRESOLV_CFLAGS="-lresolv" AC_MSG_ERROR([resolv.h header was not found on your system])
LRESOLV_LIBS="-lresolv" ])
AC_SUBST(LRESOLV_CFLAGS)
AC_SUBST(LRESOLV_LIBS) AC_CHECK_LIB(resolv, __res_init, [],
], [
[] AC_MSG_ERROR([libresolv library was not found on your system])
) ])
])
#### ####
#### A/V Stuff #### A/V Stuff