Add debug tracing for COMPILER_WORKS_IFELSE

pull/1/head
Yang Tse 17 years ago
parent 98846c3419
commit 9fe351f223
  1. 9
      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

Loading…
Cancel
Save