On Thu, Aug 31, 2006 at 08:57:35AM +0200, christian said: > On Thu, Aug 31, 2006 at 01:13:21AM +0100, Stephen Gran wrote: > > --------------------------------------------------------------------------- > > diff -Nru clamav-devel-latest/configure.in > > clamav-devel-latest.new/configure.in > > --- clamav-devel-latest/configure.in 2006-08-26 02:30:04.000000000 +0100 > > +++ clamav-devel-latest.new/configure.in 2006-08-31 > > 00:55:53.000000000 +0100 > > @@ -160,7 +160,7 @@ > > if test -z "$resolv_lib"; then > > AC_CHECK_LIB(resolv, dn_expand, resolv_lib="-lresolv",) > > fi > > - AC_CHECK_HEADER(resolv.h,[FRESHCLAM_LIBS="$FRESHCLAM_LIBS > > $resolv_lib"; AC_DEFINE(HAVE_RESOLV_H,1,have resolv.h)], > > AC_MSG_WARN([****** DNS support disabled])) > > + AC_CHECK_HEADER(resolv.h,[FRESHCLAM_LIBS="$FRESHCLAM_LIBS > > $resolv_lib"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $resolv_lib"; > > AC_DEFINE(HAVE_RESOLV_H,1,have resolv.h)], AC_MSG_WARN([****** DNS support > > disabled])) > > fi > > > > AC_ARG_ENABLE(clamuko, > > --------------------------------------------------------------------------- > > thank you - it's working! :-) > > where can one learn such witchcraft? > any fine manuals i could read?
The autoconf book is available on line. As for the more meta issues that you might be asking (how do I learn shell scripting, how do I know which libraries need to appear on the link line given the headers that are included, etc) there are also several good references for those, but it mostly comes with time. Take care, -- -------------------------------------------------------------------------- | Stephen Gran | Nothing makes one so vain as being told | | [EMAIL PROTECTED] | that one is a sinner. Conscience makes | | http://www.lobefin.net/~steve | egotists of us all. -- Oscar Wilde | --------------------------------------------------------------------------
signature.asc
Description: Digital signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html