GNOME #464474, Debian #436447; also check for configure.ac and not only
configure.in when srcdir != builddir

diff -Nur intltool-0.36.0/intltool-update.in.in intltool-0.36.0.new/intltool-update.in.in
--- intltool-0.36.0/intltool-update.in.in	2007-08-03 01:35:56.000000000 +0200
+++ intltool-0.36.0.new/intltool-update.in.in	2007-08-07 22:52:11.000000000 +0200
@@ -1021,7 +1021,11 @@
 		    $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/;
 
 		    chomp $src_dir;
-		    $conf_in = "$src_dir" . "/configure.in" . "\n";
+                    if (-f "$src_dir" . "/configure.ac") {
+                        $conf_in = "$src_dir" . "/configure.ac" . "\n";
+                    } else {
+                        $conf_in = "$src_dir" . "/configure.in" . "\n";
+                    }
 
 		    last;
 		}
