The GLIBC_LOCALE_AUTO is created by the #cmakedefine01 directive and thus is always defined. (cherry picked from commit 196966b0)