[patch] binutils current: libiberty/configure and --with-build-subdir

H . J . Lu hjl@lucon.org
Mon Feb 4 12:09:00 GMT 2002
On Mon, Feb 04, 2002 at 02:51:54PM -0500, DJ Delorie wrote:
> 
> > The problem is
> > 
> >             if [ "$(srcdir)" = "." ] ; then \
> 
> srcdir should be ".." at this point.  If it is not, *that* is the
> problem.

That is the toplevel Makefile. For the in-tree build, srcdir is always
".". You check if [ "$(srcdir)" = "." ] to see if it is an in-tree
build. If it is, you have to duplicate the source tree for the build
directory. Otherwise, you don't need to duplicate the source tree. You
can use VPATH in this case. Did I miss something?


H.J.



More information about the Binutils mailing list