---
 gcc-3.4.4/configure |    7 +++++++
 1 files changed, 7 insertions(+)

Index: b/gcc-3.4.4/configure
===================================================================
--- a/gcc-3.4.4/configure
+++ b/gcc-3.4.4/configure
@@ -1751,6 +1751,13 @@ while test $# != 0 ; do
   else
     echo Copying $1 to $2
 
+    x1=$(cd $1; pwd)
+    x2=$(cd $2; pwd)
+    if test "$x1" = $x2; then
+    	echo "Directories are identical."
+	break
+    fi
+
     # Use the install script to create the directory and all required
     # parent directories.
     if test -d $2 ; then

