Merge commit 'c6496de33456f20144b994ac38f308f2de333608'

* commit 'c6496de33456f20144b994ac38f308f2de333608':
  configure: Move enabling libc_type into probe_libc() function

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-11-11 23:09:21 -03:00
commit 3e9fd83592
1 changed files with 1 additions and 2 deletions

3
configure vendored
View File

@ -5266,12 +5266,11 @@ test "$?" != 0 && check_${pfx}cc -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 <<
void *v = localtime_r; void *v = localtime_r;
EOF EOF
eval test -n "\${${pfx}libc_type}" && enable ${pfx}libc_${libc_type}
} }
probe_libc probe_libc
test -n "$libc_type" && enable libc_$libc_type
probe_libc host_ probe_libc host_
test -n "$host_libc_type" && enable host_libc_$host_libc_type
# hacks for compiler/libc/os combinations # hacks for compiler/libc/os combinations