diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-26 01:00:41 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-26 01:00:41 +0000 |
commit | 979c9ce8e30a27c04a4ccc3f09cf3c3002e425bb (patch) | |
tree | cfc6a5b826b11a7c5f535d090b7a00aa728a1061 /m4 | |
parent | b217e6eed7d0731e443250999ab134dbda4c0a7a (diff) |
additional debug logging of getprotobyname_r on Tru64 and AIX
Diffstat (limited to 'm4')
-rw-r--r-- | m4/reentrant.m4 | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/m4/reentrant.m4 b/m4/reentrant.m4 index 953a1ba7d..8da25bae7 100644 --- a/m4/reentrant.m4 +++ b/m4/reentrant.m4 @@ -105,7 +105,6 @@ dnl makes function strtok_r compiler visible. AC_DEFUN([CHECK_NEED_REENTRANT_STRTOK_R], [ # AC_MSG_NOTICE([DEBUG:]) - AC_MSG_NOTICE([DEBUG:]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strtok_r]) ],[ @@ -743,6 +742,15 @@ AC_DEFUN([CHECK_NEED_REENTRANT_GETPROTOBYNAME_R], [ ],[ AC_MSG_NOTICE([DEBUG: getprotobyname_r proto wout finds... 4 args]) tmp_getprotobyname_r="done" + ],[ + case $host in + *-*-osf* | *-*-aix*) + AC_MSG_NOTICE([DEBUG: getprotobyname_r proto wout fails... 4 args]) + echo "-------------------" >&6 + sed 's/^/| /' conftest.err >&6 + echo "-------------------" >&6 + ;; + esac ]) fi if test "$tmp_getprotobyname_r" = "proto_wout_def"; then @@ -756,6 +764,15 @@ AC_DEFUN([CHECK_NEED_REENTRANT_GETPROTOBYNAME_R], [ ],[ AC_MSG_NOTICE([DEBUG: getprotobyname_r proto wout finds... 5 args]) tmp_getprotobyname_r="done" + ],[ + case $host in + *-*-osf* | *-*-aix*) + AC_MSG_NOTICE([DEBUG: getprotobyname_r proto wout fails... 5 args]) + echo "-------------------" >&6 + sed 's/^/| /' conftest.err >&6 + echo "-------------------" >&6 + ;; + esac ]) fi # @@ -771,6 +788,15 @@ AC_DEFUN([CHECK_NEED_REENTRANT_GETPROTOBYNAME_R], [ ],[ AC_MSG_NOTICE([DEBUG: getprotobyname_r proto with finds... 4 args]) tmp_getprotobyname_r="needs_reentrant" + ],[ + case $host in + *-*-osf* | *-*-aix*) + AC_MSG_NOTICE([DEBUG: getprotobyname_r proto with fails... 4 args]) + echo "-------------------" >&6 + sed 's/^/| /' conftest.err >&6 + echo "-------------------" >&6 + ;; + esac ]) fi if test "$tmp_getprotobyname_r" = "proto_with_def"; then @@ -785,6 +811,15 @@ AC_DEFUN([CHECK_NEED_REENTRANT_GETPROTOBYNAME_R], [ ],[ AC_MSG_NOTICE([DEBUG: getprotobyname_r proto with finds... 5 args]) tmp_getprotobyname_r="needs_reentrant" + ],[ + case $host in + *-*-osf* | *-*-aix*) + AC_MSG_NOTICE([DEBUG: getprotobyname_r proto with fails... 5 args]) + echo "-------------------" >&6 + sed 's/^/| /' conftest.err >&6 + echo "-------------------" >&6 + ;; + esac ]) fi # |