configure.ac: adding FreeBSD to the detectable platforms

This commit is contained in:
Carsten Schoenert authored and Olaf Bergmann committed 2016-10-26 10:46:50 +02:00
1 parent aa7256a812
commit c95e1f0917
1 file changed
+6 -1
+6 -1
View File
@@ -339,8 +339,13 @@ case $host in
#AC_SUBST(OS_MACOS)
;;
*-freebsd1*)
AC_MSG_RESULT([FreeBSD-1x])
ADDITIONAL_CFLAGS="-D_GNU_SOURCE -DWITH_POSIX"
;;
*)
AC_MSG_WARN([==> Currently unsupported operating system ${host}!])
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'.])
esac