Index: lib/autoconf/status.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v retrieving revision 1.45 diff -u -p -r1.45 status.m4 --- lib/autoconf/status.m4 30 Jan 2004 14:21:36 -0000 1.45 +++ lib/autoconf/status.m4 15 Feb 2004 10:52:17 -0000 @@ -998,6 +998,15 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL], done` || AS_EXIT([1]) _ACEOF cat >>$CONFIG_STATUS <<_ACEOF +dnl Propagate 'executable' attribute of the first input file. + rm -f $tmp/out + if test x"$ac_file" != x-; then + for f in $ac_file_inputs; do + cp $f $tmp/out + chmod u+w $tmp/out + break + done + fi dnl Neutralize VPATH when `$srcdir' = `.'. sed "$ac_vpsub dnl Shell code in configure.ac might set extrasub.