--- config/configure.orig	2011-07-23 23:12:53.000000000 -0500
+++ config/configure	2011-07-23 23:13:53.000000000 -0500
@@ -21338,7 +21338,7 @@
 	  ;;
 	*-*-netbsdelf2*)
 	  ;;
-	*-*-darwin[8-9].*|*-*-darwin10.*)
+	*-*-darwin[8-9].*|*-*-darwin1[0-1].*)
 	  	  CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
 	  CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
 	  ;;
@@ -21410,7 +21410,7 @@
 	  ;;
 	*-*-netbsdelf2*)
 	  ;;
-	*-*-darwin[8-9].*|*-*-darwin10.*)
+	*-*-darwin[8-9].*|*-*-darwin1[0-1].*)
 	  	  CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
 	  CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
 	  ;;
