It's a pretty stock Fedora 8 system. And the new test doesn't work either.
checking for res_query in -lresolv (with resolv.h if present)... no
configure: error: libresolv was not found. Citadel requires the resolver
library.
From config.log:
configure:6931: checking for res_query in -lresolv (with resolv.h if
present)
configure:6959: gcc -o conftest -g -O2 -Wall -Wcast-qual -Wcast-align
-Wstrict-prototypes -D_REENTRANT -pthread conftest.c -lresolv -lrt >&5
conftest.c:39: warning: function declaration isn't a prototype
conftest.c: In function 'main':
conftest.c:40: warning: implicit declaration of function 'res_query'
/tmp/cckMr5rs.o: In function `main':
/home/error/cvs/citadel/conftest.c:40: undefined reference to `res_query'
collect2: ld returned 1 exit status
It appears that while /usr/include/resolv.h is present, HAVE_RESOLV_H was
not set. This is probably because the rest for resolv.h appears AFTER the
test for res_query. Oops! Hm, I'm not sure whether to move the test for
resolv.h or the test for res_query.