This is the mail archive of the mailing list for the libstdc++ project.

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

Re: [RFA:] SUN make VPATH breakage at libsupc++ header installation

>>>>> ">" == Hans-Peter Nilsson <> writes:

>> Here's a patch to fix SUN make VPATH expansion breaking libsupc++
>> header installation with the default automake rule, as noticed by
>> Phil Edwards,
>> <URL:>.

>> automake people (CC:ed) might want to consider changing the default
>> installheader expansion along these lines

Automake has always adopted the rule that VPATH builds are supported
only with GNU make.  Vendor makes, including Sun, don't handle VPATH
well enough to use them.  I think if you look you'll discover that
supporting Sun make's VPATH would require adding little hacks all over

I'm sure there are old discussions about this in the automake list
archives.  I don't remember all the specifics any more.

>> + 	  p=`basename $$p0`; \

You're prohibited from using basename in a Makefile rule by the GNU
Coding Standards.  See (Standards)Utilities in Makefiles.  Weirdly,
though, post-installation commands can use basename.  Hmm.  Anyway, we
never use it in Automake.


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