Hi, On Thu, 11 Dec 2003 15:25:59 +0100, Paul Jarc wrote: > Jan Kratochvil <rcpt-autoconf.AT.gnu.org@xxxxxxxxxxxxxxxxx> 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