Re: automake transition



Havoc Pennington wrote:

btw here is a patch that aclocal benefits from:
--- /cvs/am-cvs/automake14/aclocal      Wed Jul 24 22:58:19 2002
+++ /unst/bin/aclocal-1.4       Wed Jul 24 23:55:54 2002
@@ -415,7 +415,7 @@
           elsif ($map{$1} ne 'acinclude.m4' || $file eq
'acinclude.m4')
           {
               warn "aclocal: $file: $.: duplicated macro \`$1'\n";
-               $exit_status = 1;
+               #$exit_status = 1;
           }
           print STDERR "Found macro $1 in $file: $.\n" if
$verbosity;
       }
Does this fix the problem correctly (ie. choose the newer macro if multiple ones exist), or just cause it to not error out? If you are getting these errors because of macros distributed with automake, make sure that $(datadir)/aclocal only contains macros from other packages. Automake's macros should be in $(datadir)/aclocal-1.4 or 1.6.

James.

--
Email: james daa com au              | Linux.conf.au 2003 Call for Papers out
WWW:   http://www.daa.com.au/~james/ |   http://conf.linux.org.au/cfp.html






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]