[...] Havoc> in the spec file I rename automake to automake-1.4, Havoc> aclocal to aclocal-1.4, automake to automake-1.5, Havoc> aclocal to aclocal-1.5, and symlink automake to Havoc> automake-1.5.
Doesn't `configure --program-suffix=-1.5' work? (To rename the binaries, I mean. The directories still need to be renamed and I hardly see why Automake could not install itself in $(datadir)/@PACKAGE@-@VERSION@.) Would it be the job of `make install' to handle this symlink? If yes, how should it be updated? Say I install Automake-1.5 *after* Automake-1.6, should automake point to automake-1.5 or automake-1.6? [...] Havoc> @@ -156,6 +156,9 @@ Havoc> local (@dirlist); Havoc> local ($print_and_exit) = 0; Havoc> + ## put in -I /usr/share/aclocal always Havoc> + push (@dirlist, "@datadir@/aclocal"); Havoc> + Havoc> while (@arglist) Havoc> { Havoc> if ($arglist[0] =~ /^--acdir=(.+)$/) It seems you'd better move that `push' after the `while' loop, otherwise the files in @datadir@/aclocal will override the user files (the converse is expected). -- Alexandre Duret-Lutz