mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Check for res_query, then for __res_query in libresolv
This commit is contained in:
parent
98b1b96e59
commit
f1bd350567
@ -60,8 +60,9 @@ AM_CPPFLAGS="$AM_CPPFLAGS $PARSER_CFLAGS"
|
||||
LIBS="$LIBS $PARSER_LIBS"
|
||||
|
||||
### Check for libstrophe dependencies
|
||||
AC_CHECK_LIB([resolv], [__res_query], [],
|
||||
[AC_MSG_ERROR([libresolv is required for profanity])])
|
||||
AC_CHECK_LIB([resolv], [res_query], [],
|
||||
[AC_CHECK_LIB([resolv], [__res_query], [],
|
||||
[AC_MSG_ERROR([libresolv is required for profanity])])])
|
||||
PKG_CHECK_MODULES([openssl], [openssl], [],
|
||||
[AC_MSG_ERROR([openssl is required for profanity])])
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS $openssl_CFLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user