configure.ac: adding detection of kfreebsd platforms

kFreeBSD is a modificated FreeBSD system by Debian with a FreeBSD kernel
and GNU C library (libc) used for the applications. After adding FreeBSD
support for libcoap no more changes needed to get libcoap compiled with
a kFreeBSD installation.
This commit is contained in:
Carsten Schoenert authored and Olaf Bergmann committed 2016-11-25 09:29:10 +01:00
1 parent 85733a6acb
commit 72eec07777
1 file changed
+5
+5
View File
@@ -347,6 +347,11 @@ case $host in
ADDITIONAL_CFLAGS="-D_GNU_SOURCE -DWITH_POSIX"
;;
*kfreebsd*)
AC_MSG_RESULT([kFreeBSD])
ADDITIONAL_CFLAGS="-D_GNU_SOURCE -DWITH_POSIX"
;;
*)
AC_MSG_WARN([==> Currently unsupported operating system '${host}' !])
AC_MSG_ERROR([==> If you can provide patches to support your operating system please write to 'libcoap-developers@lists.sourceforge.net'.])