--- config.guess.orig	2008-01-08 12:44:26.000000000 -0600
+++ config.guess	2008-01-08 12:47:13.000000000 -0600
@@ -431,7 +431,7 @@
 	fi
 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
 	exit 0 ;;
-    *:AIX:*:5)
+    *:AIX:*:[5-9])
 	case "`lsattr -El proc0 -a type -F value`" in
 		PowerPC*) IBM_ARCH=powerpc
 		          IBM_CPU=ibm ;;
--- ltconfig.in.orig	2008-01-08 12:48:24.000000000 -0600
+++ ltconfig.in	2008-01-08 12:49:29.000000000 -0600
@@ -703,7 +703,7 @@
 else
   # PORTME Check for PIC flags for the system compiler.
   case "$host_os" in
-  aix3* | aix4* | aix5*)
+  aix3* | aix4* | aix5* | aix6*)
     # All AIX code is PIC.
     if test "$host_cpu" = ia64; then
       # AIX 5 now supports IA64 processor
@@ -1128,7 +1128,7 @@
 
   # See if GNU ld supports shared libraries.
   case "$host_os" in
-  aix3* | aix4* | aix5*)
+  aix3* | aix4* | aix5* | aix6*)
     # On AIX, the GNU linker is very broken
     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
     ld_shlibs=no
@@ -1290,7 +1290,7 @@
     fi
     ;;
 
-  aix4* | aix5*)
+  aix4* | aix5* | aix6*)
     hardcode_libdir_separator=':'
     if test "$with_gcc" = yes; then
       collect2name=`${CC} -print-prog-name=collect2`
@@ -1875,7 +1875,7 @@
   soname_spec='${libname}${release}.so$major'
   ;;
 
-aix4* | aix5*)
+aix4* | aix5* | aix6*)
   version_type=linux
   if test "$host_cpu" = ia64; then
     # AIX 5 supports IA64
@@ -2278,7 +2278,7 @@
   fi
   ;;
 
-aix4* | aix5*)
+aix4* | aix5* | aix6*)
   test "$enable_shared" = yes && enable_static=no
   ;;
 esac
--- ltconfig.orig	2008-01-08 12:47:17.000000000 -0600
+++ ltconfig	2008-01-08 12:48:01.000000000 -0600
@@ -703,7 +703,7 @@
 else
   # PORTME Check for PIC flags for the system compiler.
   case "$host_os" in
-  aix3* | aix4* | aix5*)
+  aix3* | aix4* | aix5* | aix6*)
     # All AIX code is PIC.
     if test "$host_cpu" = ia64; then
       # AIX 5 now supports IA64 processor
@@ -1128,7 +1128,7 @@
 
   # See if GNU ld supports shared libraries.
   case "$host_os" in
-  aix3* | aix4* | aix5*)
+  aix3* | aix4* | aix5* | aix6*)
     # On AIX, the GNU linker is very broken
     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
     ld_shlibs=no
@@ -1290,7 +1290,7 @@
     fi
     ;;
 
-  aix4* | aix5*)
+  aix4* | aix5* | aix6*)
     hardcode_libdir_separator=':'
     if test "$with_gcc" = yes; then
       collect2name=`${CC} -print-prog-name=collect2`
@@ -1874,7 +1874,7 @@
   soname_spec='${libname}${release}.so$major'
   ;;
 
-aix4* | aix5*)
+aix4* | aix5* | aix6*)
   version_type=linux
   if test "$host_cpu" = ia64; then
     # AIX 5 supports IA64
@@ -2278,7 +2278,7 @@
   fi
   ;;
 
-aix4* | aix5*)
+aix4* | aix5* | aix6*)
   test "$enable_shared" = yes && enable_static=no
   ;;
 esac
