configure: Assume a standard-compliant default libc
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 11 Sep 2014 13:48:13 +0000 (15:48 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 26 Sep 2014 18:56:16 +0000 (20:56 +0200)
Non-standard compliant libc should be supported on a per-case basis
anyway.

configure

index 59dd453..6125bcb 100755 (executable)
--- a/configure
+++ b/configure
@@ -3657,6 +3657,9 @@ probe_libc(){
     elif check_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
         eval ${pfx}libc_type=solaris
         add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
+    else
+        eval ${pfx}libc_type=unknown
+        add_${pfx}cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
     fi
 }