summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-09-11 15:48:13 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-09-26 20:56:16 +0200
commit9d2cee52d37c7340f85a5d41110282aac03e6855 (patch)
treecdc031e850cf71a70e7d28fff8e0002ff3fcbedd /configure
parent6cfbe1de5ac6c57c41459626f7ac32841d63ace8 (diff)
configure: Assume a standard-compliant default libc
Non-standard compliant libc should be supported on a per-case basis anyway.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 59dd4532df..6125bcbc32 100755
--- 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
}