Re: Require a specific element to be included?
Eddie Kohler <[email protected]>
| Newsgroups | gmane.network.routing.click |
|---|---|
| Organization | Harvard University |
| Message-ID | <[email protected]> |
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 > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click