*** ./configure.ORIG Thu Feb 10 09:26:47 2011 --- ./configure Thu Feb 10 09:27:51 2011 *************** *** 24756,24761 **** --- 24756,24765 ---- *-*-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 *** ./glib/gatomic.c.ORIG Thu Feb 10 13:22:21 2011 --- ./glib/gatomic.c Thu Feb 10 13:22:36 2011 *************** *** 27,32 **** --- 27,33 ---- #include #endif + #include "glib.h" #include "gatomic.h" #include "gthreadprivate.h" *** ./gio/libasyncns/g-asyncns.h.ORIG Thu Feb 10 13:59:04 2011 --- ./gio/libasyncns/g-asyncns.h Thu Feb 10 13:59:15 2011 *************** *** 27,33 **** --- 27,35 ---- /* 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 Thu Feb 10 14:51:22 2011 --- ./gio/gsocket.c Thu Feb 10 14:51:44 2011 *************** *** 56,61 **** --- 56,65 ---- #include "gcredentials.h" #include "glibintl.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 Thu Feb 10 14:09:43 2011 --- ./configure Thu Feb 10 14:10:17 2011 *************** *** 22257,22274 **** 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" --- 22257,22262 ----