*** ./configure.ORIG Wed Feb 9 16:09:00 2011 --- ./configure Wed Feb 9 16:10:14 2011 *************** *** 25564,25569 **** --- 25564,25573 ---- *-*-cygwin*|*-*-darwin*) # skip cygwin and darwin -pthread or -pthreads test ;; + *-aix*) + G_THREAD_CFLAGS="-qthreaded -D_THREAD_SAFE" + G_THREAD_LIBS="-lpthread" + ;; *-solaris*) # These compiler/linker flags work with both Sun Studio and gcc # Sun Studio expands -mt to -D_REENTRANT and -lthread *** ./gio/libasyncns/g-asyncns.h.ORIG Mon May 2 17:45:07 2011 --- ./gio/libasyncns/g-asyncns.h Mon May 2 17:44:44 2011 *************** *** 26,34 **** --- 26,36 ---- #undef HAVE_PTHREAD /* asyncns.c removed this for #580301, but that appears to have been wrong */ #if HAVE_ARPA_NAMESER_COMPAT_H + #ifndef _AIX #include + #endif #endif #include "asyncns.h" *** ./gio/gsocket.c.ORIG Mon May 2 18:04:51 2011 --- ./gio/gsocket.c Mon May 2 18:05:12 2011 *************** *** 55,60 **** --- 55,64 ---- #include "gioalias.h" + #if (defined(_AIX51) || defined(_AIX52)) && !(defined(_AIX53) || defined(_AIX61)) + #define ss_family __ss_family + #endif + /** * SECTION:gsocket * @short_description: Low-level socket object *** ./configure.ORIG Mon May 2 18:18:57 2011 --- ./configure Mon May 2 18:19:14 2011 *************** *** 23060,23077 **** fi done - for ac_func in splice - do : - ac_fn_c_check_func "$LINENO" "splice" "ac_cv_func_splice" - if test "x$ac_cv_func_splice" = x""yes; then : - cat >>confdefs.h <<_ACEOF - #define HAVE_SPLICE 1 - _ACEOF - - fi - done - - for ac_header in crt_externs.h do : ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default" --- 23060,23065 ----