1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Check for res_query, then for __res_query in libresolv

This commit is contained in:
Jasper van Bourgognie 2014-01-09 21:39:01 +01:00
parent 98b1b96e59
commit f1bd350567

View File

@ -60,8 +60,9 @@ AM_CPPFLAGS="$AM_CPPFLAGS $PARSER_CFLAGS"
LIBS="$LIBS $PARSER_LIBS" LIBS="$LIBS $PARSER_LIBS"
### Check for libstrophe dependencies ### Check for libstrophe dependencies
AC_CHECK_LIB([resolv], [__res_query], [], AC_CHECK_LIB([resolv], [res_query], [],
[AC_MSG_ERROR([libresolv is required for profanity])]) [AC_CHECK_LIB([resolv], [__res_query], [],
[AC_MSG_ERROR([libresolv is required for profanity])])])
PKG_CHECK_MODULES([openssl], [openssl], [], PKG_CHECK_MODULES([openssl], [openssl], [],
[AC_MSG_ERROR([openssl is required for profanity])]) [AC_MSG_ERROR([openssl is required for profanity])])
AM_CPPFLAGS="$AM_CPPFLAGS $openssl_CFLAGS" AM_CPPFLAGS="$AM_CPPFLAGS $openssl_CFLAGS"