summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-12 12:14:30 +0100
committerDiego Biurrun <diego@biurrun.de>2013-12-14 14:09:40 +0100
commit5db4e88ecd32485341f6150c00f5ee5bfa74f62d (patch)
treec6361ccd41f774eddf1947d7382dba3c1fc220f8 /configure
parentc85aad9cb2af459e8306871f76722de440c3ca93 (diff)
configure: Detect Solaris libc in an OpenIndiana/illumos compatible way
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6e28e4ef57..910c47d834 100755
--- a/configure
+++ b/configure
@@ -3437,7 +3437,7 @@ probe_libc(){
eval ${pfx}libc_type=klibc
elif check_${pfx}cpp_condition sys/cdefs.h "defined __BIONIC__"; then
eval ${pfx}libc_type=bionic
- elif check_${pfx}cpp_condition sys/brand.h "defined SOLARIS_BRAND_NAME"; then
+ 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
fi