3.2 PATCH: Avoid hardcoded uses of pwd
Alexandre Oliva
aoliva@redhat.com
Tue May 14 23:42:00 GMT 2002
On May 14, 2002, Mark Mitchell <mark@codesourcery.com> wrote:
> I don't understand. Why couldn't libtool use the same idea?
> The point is that all of the Makefile rules should be able to use $PWDCMD,
Because libtool is a stand-alone shell script, not something that is
necessarily part of a Makefile rule.
I prefer ${PWDCMD-pwd} in shell scripts. Having Makefile
substitutions would just require the user to set PWDCMD earlier,
requiring reconfiguration in case s/he didn't realize earlier that it
was necessary.
I could go with `PWDCMD = $${PWDCMD-pwd}' in Makefiles, though.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gcc-patches
mailing list