kohler / click

The Click modular router: fast modular packet processing and analysis
Other
735 stars 322 forks source link

Makefile.am and configure.ac #453

Open ChrSau opened 4 years ago

ChrSau commented 4 years ago

I would like to add dependencies to my click build. Were the Makefile.in and configure.in created with autotools? If not, what are easy ways to add new decencies (e.g. boost)?

tbarbette commented 4 years ago

autoreconf will generate an updated configure file from configure.in. You should simply modify configure.in, find an existing dependency and copy paste the bit of code.

You may also add to your element .cc file a "ELEMENT_LIBS(boost)" to compile with -lboost, that will be parsed automatically.