--- /usr/bin/intltoolize	2005-03-02 16:55:12.000000000 +0100
+++ bin/intltoolize	2005-12-13 14:01:44.000000000 +0100
@@ -223,23 +223,32 @@ fi
 
 # Change to the auxiliary directory.
 (
+filebase='.' 
 cur=`pwd`
 if test "$auxdir" != .; then
   test -z "$automake" && echo "Putting files in AC_CONFIG_AUX_DIR, '$auxdir'."
   cd $auxdir || exit 1
+  filebase='..'
 fi
 
 for file in $files; do
-  if test -f "$file" && test -z "$force"; then
+  dir="`dirname $file`"
+  if test -z "$dir" || test "$dir" = "."; then
+      target=$file
+  else
+      target=$filebase/$file
+  fi
+
+  if test -f "$target" && test -z "$force"; then
     test -z "$automake" && echo "$progname: '$file' exists: use '--force' to overwrite" 1>&2
     continue
   fi
 
   $rm $file
-  if test -n "$ln_s" && $ln_s $pkgdatadir/`basename $file` $file; then :
-  elif $cp $pkgdatadir/`basename $file` $file; then :
+  if test -n "$ln_s" && $ln_s $pkgdatadir/$file $file; then :
+  elif $cp $pkgdatadir/`basename $file` $target; then :
   else
-    echo "$progname: cannot copy '$pkgdatadir/`basename $file`' to '$file'" 1>&2
+    echo "$progname: cannot copy '$pkgdatadir/`basename $file`' to $target" 1>&2
     status=1
   fi
 done
