]> granicus.if.org Git - curl/commitdiff
Temporarily show additional info needed to debug configure
authorYang Tse <yangsita@gmail.com>
Sat, 19 Jul 2008 18:32:27 +0000 (18:32 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 19 Jul 2008 18:32:27 +0000 (18:32 +0000)
failure to properly detect recvfrom arg types on Solaris

acinclude.m4

index e1c16bbfd32fc963228bd67a5d6b835477bf65cf..13eb4936382d4a9795af22aae1e33f1958961dd9 100644 (file)
@@ -1687,6 +1687,22 @@ 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