autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Keep executability of config.status-ed files v4


From: Jan Kratochvil
Subject: Re: [patch] Keep executability of config.status-ed files v4
Date: Thu, 11 Dec 2003 15:33:27 +0100
User-agent: Mutt/1.4.1i

Hi,

On Thu, 11 Dec 2003 15:25:59 +0100, Paul Jarc wrote:
> Jan Kratochvil <address@hidden> wrote:
> > +    for f in $ac_file_inputs; do
> > +      cp $f $ac_file
> > +      chmod u+w $ac_file
> > +      break
> > +    done
> 
> Rather than use the permissions of one input file for all output
> files, couldn't you use the permissions of each input file for its
> corresponding output file?  That's what I do in a similar situation.

In all regular cases it will be just a single file:

        ac_file_inputs="$ac_file.in"

This issue of multiple input files can happen only occasionally when you use:

#     You can override an input file name by appending to FILE a
#     colon-separated list of input files.  Examples:
#
#          AC_CONFIG_FILES([Makefile:boiler/top.mk:boiler/bot.mk]
#                          [lib/Makefile:boiler/lib.mk])


Regards,
Lace




reply via email to

[Prev in Thread] Current Thread [Next in Thread]