Skip to content
Snippets Groups Projects
Commit 394d67ab authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Fail if --enable-ldns and ldns not found

parent ab566559
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ AC_PROG_CC_C99
AC_ARG_ENABLE([ldns],
[ --enable-ldns Enable tests with ldns],
[case "${enableval}" in
yes) AC_CHECK_LIB([ldns], [ldns_rr_list_pop_rrset]) ;;
yes) AC_SEARCH_LIBS([ldns_rr_list_pop_rrset], [ldns], [], AC_MSG_ERROR([ldns not found])) ;;
no) ldns=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-ldns]) ;;
esac],[ldns=false])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment