---
configure | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/configure b/configure
index 48d2a8497b..45cfea889f 100755
--- a/configure
+++ b/configure
@@ -930,6 +930,20 @@ test_exec(){
test_ld "$@" && { enabled cross_compile || $TMPE >> $logfile 2>&1; }
}
+test_host_cpp(){
+ log test_host_cpp "$@"
+ cat > $TMPC
+ log_file $TMPC
+ test_cmd $host_cc $host_cppflags $host_cflags "$@" $(hostcc_e $TMPO) $TMPC
+}
+
+test_host_cc(){
+ log test_host_cc "$@"
+ cat > $TMPC
+ log_file $TMPC
+ test_cmd $host_cc $host_cflags "$@" $HOSTCC_C $(hostcc_o $TMPO) $TMPC
+}
+
test_host_cpp_condition(){
log test_host_cpp_condition "$@"
header=$1
@@ -1186,20 +1200,6 @@ check_cc(){
test_code cc "$@" && enable "$name"
}
-test_host_cc(){
- log test_host_cc "$@"
- cat > $TMPC
- log_file $TMPC
- test_cmd $host_cc $host_cflags "$@" $HOSTCC_C $(hostcc_o $TMPO) $TMPC
-}
-
-test_host_cpp(){
- log test_host_cpp "$@"
- cat > $TMPC
- log_file $TMPC
- test_cmd $host_cc $host_cppflags $host_cflags "$@" $(hostcc_e $TMPO) $TMPC
-}
-
check_host_cppflags(){
log check_host_cppflags "$@"
test_host_cpp "$@" <<EOF && append host_cppflags "$@"
--
2.11.0
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel