diff --git a/configure b/configure index b3c5a7dea4..ba283593ba 100755 --- a/configure +++ b/configure @@ -1035,6 +1035,15 @@ test_ld(){ test_cmd $ld $LDFLAGS $LDEXEFLAGS $flags $(ld_o $TMPE) $TMPO $libs $extralibs } +check_ld(){ + log check_ld "$@" + type=$1 + name=$2 + shift 2 + disable $name + test_ld $type $@ && enable $name +} + print_include(){ hdr=$1 test "${hdr%.h}" = "${hdr}" && @@ -5468,8 +5477,8 @@ EOF : elif ! test_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__" && [ $target_os != darwin ]; then case "${cross_prefix:-$cc}" in - *hardfloat*) enable vfp_args; fpabi=vfp ;; - *) test_ld "cc" <