summaryrefslogtreecommitdiff
path: root/sys-devel/automake/files/automake-1.4-libtoolize.patch
blob: 3e818ca960bab534a10def66c6641fb2f741e9d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Patch from redhat/fedora which made it into upstream.

--- a/automake.in
+++ b/automake.in
@@ -6882,9 +6882,11 @@
 		    $suppress = 1;
 
 		    # Maybe run libtoolize.
+		    @libtoolize_args = ('--automake');
+		    push @libtoolize_args, '-c'  if $copy_missing;
 		    if ($seen_libtool
 			&& grep ($_ eq $file, @libtoolize_files)
-			&& system ('libtoolize', '--automake'))
+			&& system ('libtoolize', @libtoolize_args))
 		    {
 			$message = "installing \`$errfile'";
 			$suppress = 0;