aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-11 23:09:21 -0300
committerJames Almer <jamrial@gmail.com>2017-11-11 23:09:21 -0300
commit3e9fd83592cf102a40512386fdca5a4a3f5a06fb (patch)
tree3bf5bfdcb34e17e96de43ba2f146700fb45bfd43
parent91df92e442844fbde69396d169bb352091cbb66f (diff)
parentc6496de33456f20144b994ac38f308f2de333608 (diff)
downloadffmpeg-3e9fd83592cf102a40512386fdca5a4a3f5a06fb.tar.gz
Merge commit 'c6496de33456f20144b994ac38f308f2de333608'
* commit 'c6496de33456f20144b994ac38f308f2de333608': configure: Move enabling libc_type into probe_libc() function Merged-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index e7b06d4305..b5a45ef7d8 100755
--- a/configure
+++ b/configure
@@ -5266,12 +5266,11 @@ test "$?" != 0 && check_${pfx}cc -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 <<
void *v = localtime_r;
EOF
+ 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