[Click] Require a specific element to be included?

Eddie Kohler ekohler at gmail.com
Thu Mar 29 12:21:37 EDT 2012


Sorry, no way to do this currently. The "--enable-ip6" option is a 
configure-time option. You can't ask Click to reconfigure itself based 
on what elements need. Perhaps IP6Address should be part of the normal 
build, but for right now, you just have to --enable-ip6.

Eddie


On 3/28/12 4:38 AM, Markku Savela wrote:
> For example, my elements would need IP6Address services (element), but
> nothing else from ip6 module.
>
> If I put
>
> ELEMENT_REQUIRES(IP6Address)
>
> my element wont get compiled unless I also configure IP6.
>
> It would be nice, if I could just say something like
>
> ELEMENT_INCLUDE(IP6Address)
>
> and it would add this to the compiled and linked elements
> (elements.conf?).
>
> Or is there already such mechanism, which I just didn't find
> yet?
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list