summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r--src/corelib/configure.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index a22a7459bd..5f5a00a64f 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -374,6 +374,16 @@
]
}
},
+ "glibc": {
+ "label": "GNU libc",
+ "type": "compile",
+ "test": {
+ "include": "stdlib.h",
+ "main": [
+ "return __GLIBC__;"
+ ]
+ }
+ },
"inotify": {
"label": "inotify",
"type": "compile",
@@ -593,6 +603,12 @@
"condition": "libs.glib",
"output": [ "privateFeature", "feature" ]
},
+ "glibc": {
+ "label": "GNU libc",
+ "autoDetect": "config.linux",
+ "condition": "tests.glibc",
+ "output": [ "privateFeature" ]
+ },
"iconv": {
"label": "iconv",
"purpose": "Provides internationalization on Unix.",