Check for addnwstr if --enable-wide and don't build curses frontend
[nvi.git] / dist / automake.diff
blobeca9f26fd41fd04af38c844ecd65fea07dd7b17a
1 --- /usr/bin/automake Mon Apr 10 19:03:48 2000
2 +++ automake Mon Apr 24 23:55:14 2000
3 @@ -1174,6 +1174,7 @@
4 next if ! /^((.*)\/)?([^\/]*)\.(.*)$/;
5 $full = $_;
6 $directory = $2;
7 + ++$sourcedirs{$2} if ($2);
8 $base = $3;
9 $extension = $4;
11 @@ -2944,6 +2945,14 @@
12 . $xform1,
13 'depend2')
14 . "\n");
15 + for $sourcedir (keys %sourcedirs) {
16 + $output_rules .= (&file_contents_with_transform (
17 + 's/\@EXT\@([^:]*):/'
18 + . '%$1: ' . quotemeta($sourcedir) . '\/%' . $ext . '/g;'
19 + . $xform1,
20 + 'depend2')
21 + . "\n");
22 + }