Browse Source

configure: Assume a standard-compliant default libc

Non-standard compliant libc should be supported on a per-case basis
anyway.
tags/n2.5
Luca Barbato 11 years ago
parent
commit
9d2cee52d3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      configure

+ 3
- 0
configure View File

@@ -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
}



Loading…
Cancel
Save