aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-compilers.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-10 00:07:41 +0000
committerYang Tse <yangsita@gmail.com>2008-10-10 00:07:41 +0000
commit4b8f13e902abe1fcbf4052a598b4bde2d3233635 (patch)
tree2eafd34e7758a9d07648a53cc11624e6f42624d1 /m4/curl-compilers.m4
parent5b9a57f536bc1418f0071f7d488ae340b59c6c65 (diff)
Add debug tracing for COMPILER_WORKS_IFELSE
Diffstat (limited to 'm4/curl-compilers.m4')
-rw-r--r--m4/curl-compilers.m49
1 files changed, 9 insertions, 0 deletions
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