Alexandre CHERIF <alexandre.cherif@...> wrote: > +# Try to configure for libspf2 > +SAVEDLDFLAGS=$LDFLAGS > +SAVEDCFLAGS=$CFLAGS > +AC_ARG_WITH(libspf2, > + [ --with-libspf2=DIR Find libspf2 in DIR], > + [LDFLAGS=$LDFLAGS" -L$withval/lib -Wl,$rpath$withval/lib" > + CFLAGS=$CFLAGS" -I$withval/include" > + AC_CHECK_LIB(spf2, SPF_create_config, [ With libspf2-1.2.0, it seems SPF_create_config does not exist anymore. If that's the case, you'll probably have to check libspf2 version to ensure the older API is available, and write a new function in spf.c to use the new API. -- Emmanuel Dreyfus Il y a 10 sortes de personnes dans le monde: ceux qui comprennent le binaire et ceux qui ne le comprennent pas. manu@...
Message
Re: [milter-greylist] [SPF] libspf_alt vs libspf2
2004-10-06 by manu@netbsd.org