From 4b8f13e902abe1fcbf4052a598b4bde2d3233635 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 10 Oct 2008 00:07:41 +0000 Subject: Add debug tracing for COMPILER_WORKS_IFELSE --- ares/m4/cares-compilers.m4 | 9 +++++++++ m4/curl-compilers.m4 | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 5b5f43d8d..ac4fc07e9 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -328,6 +328,9 @@ AC_DEFUN([CARES_COMPILER_WORKS_IFELSE], [ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" + echo " " >&6 + sed 's/^/cc-fail> /' conftest.err >&6 + echo " " >&6 ]) dnl linking capability verification if test "$tmp_compiler_works" = "yes"; then @@ -341,6 +344,9 @@ AC_DEFUN([CARES_COMPILER_WORKS_IFELSE], [ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" + echo " " >&6 + sed 's/^/ln-fail> /' conftest.err >&6 + echo " " >&6 ]) fi dnl only do runtime verification when not cross-compiling @@ -359,6 +365,9 @@ AC_DEFUN([CARES_COMPILER_WORKS_IFELSE], [ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" + echo " " >&6 + echo "rn-fail test program exited with status $ac_status" >&6 + echo " " >&6 ]) fi dnl branch upon test result diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index 71e6ea495..60e0c98f7 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -334,6 +334,9 @@ AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" + echo " " >&6 + sed 's/^/cc-fail> /' conftest.err >&6 + echo " " >&6 ]) dnl linking capability verification if test "$tmp_compiler_works" = "yes"; then @@ -347,6 +350,9 @@ AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" + echo " " >&6 + sed 's/^/ln-fail> /' conftest.err >&6 + echo " " >&6 ]) fi dnl only do runtime verification when not cross-compiling @@ -365,6 +371,9 @@ AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" + echo " " >&6 + echo "rn-fail test program exited with status $ac_status" >&6 + echo " " >&6 ]) fi dnl branch upon test result -- cgit v1.2.3