Curl support

I am new to asterisk. We have an module that requires curl to be complied into asterisk. Right now it is not. How can I recomplile Asterisk without changing anything except adding curl support. I already installed curl on the box. We are running asterisk 1.8.11 on debian.

how was it originally compiled?

make install

run make menuconfig

Enable the application.

Continue from make.

If it won’t enable, supply the missing dependencies, then do ./configure, make menuconfig, and on through make. I can’t guarantee that this won’t also incude other features dependent on the dependencies.