aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-09-23 16:35:49 +0200
committerDiego Biurrun <diego@biurrun.de>2017-10-19 18:09:39 +0200
commitc6496de33456f20144b994ac38f308f2de333608 (patch)
treeb8de54ed2a17fe6f1889fc8850e451318e35a635 /configure
parentb46a77f19ddc4b2b5fa3187835ceb602a5244e24 (diff)
downloadffmpeg-c6496de33456f20144b994ac38f308f2de333608.tar.gz
configure: Move enabling libc_type into probe_libc() function
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
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