diff --git a/acinclude.m4 b/acinclude.m4
index 660ce6a716a9abe012fc1118e29eac6d449be277..48150459f709c0e2d22b52228d3d6e0f71824e29 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1687,22 +1687,6 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
                         ]])
                       ],[
                         curl_cv_func_recvfrom_args="$recvfrom_arg1,$recvfrom_arg2,$recvfrom_arg3,$recvfrom_arg4,$recvfrom_arg5,$recvfrom_arg6,$recvfrom_retv"
-                      ],[
-                        case $host in
-                          *-*-solaris*)
-                            echo "DEBUG: RECVFROM COMPILATION TEST -----" >&6
-                            echo "DEBUG: ARG1 = $recvfrom_arg1" >&6
-                            echo "DEBUG: ARG2 = $recvfrom_arg2" >&6
-                            echo "DEBUG: ARG3 = $recvfrom_arg3" >&6
-                            echo "DEBUG: ARG4 = $recvfrom_arg4" >&6
-                            echo "DEBUG: ARG5 = $recvfrom_arg5" >&6
-                            echo "DEBUG: ARG6 = $recvfrom_arg6" >&6
-                            echo "DEBUG: RETV = $recvfrom_retv" >&6
-                            echo "DEBUG: fails with conftest.err..." >&6
-                            sed 's/^/| /' conftest.err >&6
-                            echo "DEBUG: -------------------------------" >&6
-                            ;;
-                        esac
                       ])
                     fi
                   done