Ralf Wildenhues <[EMAIL PROTECTED]> writes: >> alloca.h: alloca_.h >> $(LN_F_S) $(srcdir)/alloca_.h $@ >> >> where $(LN_FS) expands to "ln -fs" in the typical case, or to >> "rm -f $@ && cp" on hosts where "ln -fs" doesn't work (e.g., Solaris 9 >> and earlier). > > I like it, but it runs a bit contrary to command optimization; for > example, the HP-UX make I tested will try to update the symlink target > upon every invocation, not just the first one.
Ouch. Well, I suppose we can test for that performance bug too, and use the fallback expansion on HP-UX as well.