[Nut-upsdev] patch for m4/nut_check_libwrap.m4

Arjen de Korte nut+devel at de-korte.org
Tue Dec 15 22:02:02 UTC 2009


Citeren Tim Rice <tim op multitalents.net>:

> AC_CHECK_LIB or AC_SEARCH_LIBS will fail if libwrap is built as
> a shared lib with errors like
> .....
> Undefined                       first referenced
>  symbol                             in file
> deny_severity                       /usr/sfw/lib/libwrap.so
> allow_severity                      /usr/sfw/lib/libwrap.so
> ld: fatal: Symbol referencing errors. No output written to conftest
> .....
> Using AC_TRY_LINK resolves this.

AC_TRY_LINK is obsolete, so we shouldn't use it anymore. Also, your  
patch broke the --without-wrap configure option, by setting HAVE_WRAP.  
The latest version in the trunk should solve both issues.

Thanks for reporting this.

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list