This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]