libcoap: remove current buildsystem

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
libcoap: rename coap source and header files

This rename patch is to preparing the new buildsystem.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
libcoap: add new buildsystem

This patch adds support for autotools buildsystem.

The configure arguments can be:

  --enable-debug
  --disable-async
  --disable-block
  --disable-observe
  --disable-query-filter

the same like the real libcoap implementation.

In addition I added a:

  --with-max-pdu-size=COAP_MAX_PDU_SIZE

to replace the COAP_MAX_PDU_SIZE define with a given number.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
libcoap: remove include of config.h

We can't include "config.h" anymore because other software which
use autotools with libcoap define the same defines into the his
"config.h".

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
libcoap: add -DWITH_POSIX to the CFLAGS

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
client: fix compiler warning

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
gitignore: add autotools gitignore files
gitignore: add more builded files