--- configure.in.orig	2008-02-05 15:02:27.000000000 -0600
+++ configure.in	2008-02-05 15:03:36.000000000 -0600
@@ -1077,6 +1077,10 @@
   *-*-aix4.0*  ) opsys=aix4	;;
   *-*-aix4.1*  ) opsys=aix4-1	;;
   *-*-aix4*    ) opsys=aix4-2	;;
+  *-*-aix5.1*  ) opsys=aix5-1	;;
+  *-*-aix5.2*  ) opsys=aix5-2	;;
+  *-*-aix5.3*  ) opsys=aix5-3	;;
+  *-*-aix6.1*  ) opsys=aix6-1	;;
 
   dnl Other generic OSes
   *-gnu* )			opsys=gnu    ;;
--- configure.orig	2008-02-05 15:02:35.000000000 -0600
+++ configure	2008-02-05 15:03:51.000000000 -0600
@@ -1063,6 +1063,10 @@
   *-*-aix4.0*  ) opsys=aix4	;;
   *-*-aix4.1*  ) opsys=aix4-1	;;
   *-*-aix4*    ) opsys=aix4-2	;;
+  *-*-aix5.1*  ) opsys=aix5-1   ;;
+  *-*-aix5.2*  ) opsys=aix5-2   ;;
+  *-*-aix5.3*  ) opsys=aix5-3   ;;
+  *-*-aix6.1*  ) opsys=aix6-1   ;;
 
     *-gnu* )			opsys=gnu    ;;
   *-*-bsd4.[01] )		opsys=bsd4-1 ;;
--- src/config.h.in.orig	2008-02-05 15:14:52.000000000 -0600
+++ src/config.h.in	2008-02-05 15:18:06.000000000 -0600
@@ -73,9 +73,6 @@
 #undef INFODOCK_MINOR_VERSION
 #undef INFODOCK_BUILD_VERSION
 
-/* Make all functions available on AIX.  See AC_AIX. */
-#undef _ALL_SOURCE
-
 /* Make all functions available on GNU libc systems.  See features.h. */
 #undef _GNU_SOURCE
 
