Trouble Installing Asterisk 1.4.0

When i’m compiling asterisk i do a make clean and then a make install and during the install I receive a compiling error on func_curl.c:

[CC] cdr_custom.c -> cdr_custom.o
[LD] cdr_custom.o ->
[CC] cdr_manager.c -> cdr_manager.o
[LD] cdr_manager.o ->
[CC] cdr_odbc.c -> cdr_odbc.o
[LD] cdr_odbc.o ->
[CC] cdr_pgsql.c -> cdr_pgsql.o
[LD] cdr_pgsql.o ->
[CC] func_base64.c -> func_base64.o
[LD] func_base64.o ->
[CC] func_callerid.c -> func_callerid.o
[LD] func_callerid.o ->
[CC] func_cdr.c -> func_cdr.o
[LD] func_cdr.o ->
[CC] func_channel.c -> func_channel.o
[LD] func_channel.o ->
[CC] func_curl.c -> func_curl.o
func_curl.c: In function curl_internal': func_curl.c:106:CURLOPT_NOSIGNAL’ undeclared (first use in this function)
func_curl.c:106: (Each undeclared identifier is reported only once
func_curl.c:106: for each function it appears in.)
make[1]: *** [func_curl.o] Error 1
make: *** [funcs] Error 2

I have seen other post telling me to just change the make file to exclude this, but I would like to see if I can keep it in my install.

Thank you,

Have you checked that you actually have curl-devel and dependencies installed, and that * knows where to find them (via options in configure?)