summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-01-31 00:50:51 +0100
committerDiego Biurrun <diego@biurrun.de>2013-01-31 11:19:23 +0100
commit197252f1c58b1d53f97c10201990a471dd46d31c (patch)
treef7efd930da9de3fb2ded5477177669e50f5cc4ec /configure
parent29f1fa74225e9fdbab6d590857edbecb51cf74da (diff)
configure: Add a comment indicating why uclibc is checked before glibc
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index c41a396f3e..ebeea83edf 100755
--- a/configure
+++ b/configure
@@ -3035,6 +3035,7 @@ esac
# determine libc flavour
+# uclibc defines __GLIBC__, so it needs to be checked before glibc.
if check_cpp_condition features.h "defined __UCLIBC__"; then
libc_type=uclibc
add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600