From c6496de33456f20144b994ac38f308f2de333608 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 23 Sep 2017 16:35:49 +0200 Subject: configure: Move enabling libc_type into probe_libc() function --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d74a83e239..706f1073ee 100755 --- a/configure +++ b/configure @@ -4147,12 +4147,11 @@ EOF eval ${pfx}libc_type=default add_${pfx}cppflags -D_DEFAULT_SOURCE fi + eval test -n "\${${pfx}libc_type}" && enable ${pfx}libc_${libc_type} } probe_libc -test -n "$libc_type" && enable libc_$libc_type probe_libc host_ -test -n "$host_libc_type" && enable host_libc_$host_libc_type # hacks for compiler/libc/os combinations -- cgit v1.2.3