[Linux-ha-dev] configure.in kludge

Alan Robertson alanr at unix.sh
Thu Mar 1 23:31:12 MST 2007


Andrew Beekhof wrote:
> Alan,
> 
> can you please explain the reason for the kludge you added in the
> following configure block
> 
>         AC_MSG_CHECKING(for special snmp libraries)
>         SNMPLIB=`net-snmp-config --libs`
>         SNMPAGENTLIB=`net-snmp-config --agent-libs`
>         # KLUDGE!!
>                 case $SNMPAGENTLIB in
>                   *wrap*)    ;;
>                   *)        SNMPAGENTLIB="$SNMPAGENTLIB -lwrap";;
>         esac
>         AC_MSG_RESULT($SNMPLIB)
> 
> I ask because it prevents building when -lwrap is not present.
> It seems odd that we apparently think we know more than the people that
> publish the snmp package.

Because SUSE didn't include the full set of dependencies, and I wanted
it to work.

The other option is have it not work, which I thought wasn't quite as
good an option.


-- 
    Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce


More information about the Linux-HA-Dev mailing list