diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-10 00:07:41 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-10 00:07:41 +0000 |
commit | 9fe351f223bc22bf7bcab099ecc1d0632e8cc807 (patch) | |
tree | 9b69baf32891f7b4f1593d188630de5a8ef652ed | |
parent | 98846c34197f3464dd169947452b603db8836053 (diff) | |
download | c-ares-9fe351f223bc22bf7bcab099ecc1d0632e8cc807.tar.gz c-ares-9fe351f223bc22bf7bcab099ecc1d0632e8cc807.tar.bz2 c-ares-9fe351f223bc22bf7bcab099ecc1d0632e8cc807.zip |
Add debug tracing for COMPILER_WORKS_IFELSE
-rw-r--r-- | m4/cares-compilers.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4 index 5b5f43d..ac4fc07 100644 --- a/m4/cares-compilers.m4 +++ b/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 |