1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

Add debug tracing for COMPILER_WORKS_IFELSE

This commit is contained in:
Yang Tse 2008-10-10 00:07:41 +00:00
parent 5b9a57f536
commit 4b8f13e902
2 changed files with 18 additions and 0 deletions

View File

@ -328,6 +328,9 @@ AC_DEFUN([CARES_COMPILER_WORKS_IFELSE], [
tmp_compiler_works="yes" tmp_compiler_works="yes"
],[ ],[
tmp_compiler_works="no" tmp_compiler_works="no"
echo " " >&6
sed 's/^/cc-fail> /' conftest.err >&6
echo " " >&6
]) ])
dnl linking capability verification dnl linking capability verification
if test "$tmp_compiler_works" = "yes"; then if test "$tmp_compiler_works" = "yes"; then
@ -341,6 +344,9 @@ AC_DEFUN([CARES_COMPILER_WORKS_IFELSE], [
tmp_compiler_works="yes" tmp_compiler_works="yes"
],[ ],[
tmp_compiler_works="no" tmp_compiler_works="no"
echo " " >&6
sed 's/^/ln-fail> /' conftest.err >&6
echo " " >&6
]) ])
fi fi
dnl only do runtime verification when not cross-compiling 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="yes"
],[ ],[
tmp_compiler_works="no" tmp_compiler_works="no"
echo " " >&6
echo "rn-fail test program exited with status $ac_status" >&6
echo " " >&6
]) ])
fi fi
dnl branch upon test result dnl branch upon test result

View File

@ -334,6 +334,9 @@ AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [
tmp_compiler_works="yes" tmp_compiler_works="yes"
],[ ],[
tmp_compiler_works="no" tmp_compiler_works="no"
echo " " >&6
sed 's/^/cc-fail> /' conftest.err >&6
echo " " >&6
]) ])
dnl linking capability verification dnl linking capability verification
if test "$tmp_compiler_works" = "yes"; then if test "$tmp_compiler_works" = "yes"; then
@ -347,6 +350,9 @@ AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [
tmp_compiler_works="yes" tmp_compiler_works="yes"
],[ ],[
tmp_compiler_works="no" tmp_compiler_works="no"
echo " " >&6
sed 's/^/ln-fail> /' conftest.err >&6
echo " " >&6
]) ])
fi fi
dnl only do runtime verification when not cross-compiling 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="yes"
],[ ],[
tmp_compiler_works="no" tmp_compiler_works="no"
echo " " >&6
echo "rn-fail test program exited with status $ac_status" >&6
echo " " >&6
]) ])
fi fi
dnl branch upon test result dnl branch upon test result