program_transform_name

Ian Lance Taylor ian@cygnus.com
Wed Oct 1 08:12:00 GMT 1997


   Date: Tue, 30 Sep 1997 22:42:17 -0600
   From: Jeffrey A Law <law@cygnus.com>

     In message <199709291715.NAA18598@rio.atlantic.net>you write:
     > According to Jeffrey A Law:
     > > Don't you need to change configure/configure.in too?
     > 
     > I guess it was already up-to-date; I didn't have to change it.
   My point was that I didn't see an AC_SUBST statement for
   program_transform_name and I don't think it autoconf will change
   the @program_transform_name@ into the right thing without it.

autoconf always automatically substitutes for program_transform_name
(there is an AC_SUBST in acgeneral.m4).

However, there is a bigger simplification which I think should happen.
Right now gcc uses both program_transform_name and
program_transform_cross_name.  This is a manual implementation of
something that autoconf already provides via AC_ARG_PROGRAM.  I think
gcc should be changed to use AC_ARG_PROGRAM, and the install targets
should be simplified to eliminate program_transform_cross_name.

Chip's patch is still correct, but more work could be done in this
area.

Ian



More information about the Gcc mailing list