*** ./configure.ORIG Thu Oct 6 10:57:45 2011 --- ./configure Thu Oct 6 10:58:36 2011 *************** *** 24943,24949 **** # More AIX lossage: must compile with cc_r # Extract the first word of "cc_r", so it can be a program name with args. ! set dummy cc_r; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : --- 24943,24949 ---- # More AIX lossage: must compile with cc_r # Extract the first word of "cc_r", so it can be a program name with args. ! set dummy xlc_r; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : *************** *** 24959,24965 **** test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_prog_PTHREAD_CC="cc_r" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi --- 24959,24965 ---- test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_prog_PTHREAD_CC="xlc_r" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi *** ./iodev/network/eth_slirp.cc.ORIG Tue Nov 13 15:47:18 2012 --- ./iodev/network/eth_slirp.cc Tue Nov 13 15:50:07 2012 *************** *** 34,40 **** --- 34,42 ---- #include #include #include + #if defined(_AIX) && defined(_AIX52) #include + #endif #include /* ntohs, htons */ #define LOG_THIS netdev-> *************** *** 531,536 **** --- 533,542 ---- bx_slirp_pktmover_c *class_ptr = (bx_slirp_pktmover_c *)this_ptr; class_ptr->rx_timer(); } + + #ifdef _AIX + #define bzero(b,len) memset(b,0,len) + #endif void bx_slirp_pktmover_c::rx_timer() { *** ./iodev/network/eth_vde.cc.ORIG Tue Nov 13 15:50:24 2012 --- ./iodev/network/eth_vde.cc Tue Nov 13 15:51:13 2012 *************** *** 213,218 **** --- 213,222 ---- class_ptr->rx_timer(); } + #ifdef _AIX + #define MSG_DONTWAIT MSG_NONBLOCK + #endif + void bx_vde_pktmover_c::rx_timer() { int nbytes;