Guido Draheim wrote: >> Would bindir be an environment variable if libtool is being executed >> from make? If not, setting a variable in the libtool.m4 that >> configure sets works. I prefer that over a switch, with a default >> value for the variable of ../bin. If bindir is passed to libtool >> through the environment then use ../bin if bindir isn't present. >> > > yes. > > Just reiterating the link to the macro that I add regularly to > configure.ac > http://ac-archive.sourceforge.net/guidod/ac_set_default_paths_system.html > > The main trick is to modify only the default-path (!!) of the > libdirpath and therefore let the user be free to override it on the > commandline. When a user has overridden the bindirpath then "../bin" > might simply be the wrong choice as it would not end up near the > binary nor in the $PATH. > > libdir=`echo $libdir |sed -e 's:^..exec_prefix./lib$:${bindir}:'` > > perhaps add a similar thing to the libtool m4 macro, no?
I don't think this is the same issue at all. The problem is that libtool needs to install _2_ files, and is (at the moment) only given the destination of one of them. Max. _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool