Hello. configure is not passwd when ld called with --as-needed:
<skip> checking for curl >= 7.10.0... 7.15.1 checking for mi_stop in -lmilter... no checking for library containing strlcpy... none required checking for mi_stop in -lmilter... no configure: error: Cannot find libmilter error: Bad exit status from /home/asy/tmp/rpm-tmp.82987 (%build) I found what test called as gcc -o conftest -g -O2 -lnsl -lmilter -lnsl -lpthread conftest.c -lmilter -lnsl >&5 I think that -l* must be put after conftest.c... -- Regards, Sergey _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html