`Generated by...' in Makefiles.
Fixes Autoconf/102.
+2000-05-09 Akim Demaille <akim@epita.fr>
+
+ * acgeneral.m4 (_AC_OUTPUT_FILES): Don't automatically spit
+ `Generated by...' in Makefiles.
+ Fixes Autoconf/102.
+
2000-05-09 Akim Demaille <akim@epita.fr>
Let `config.status' use a private temp dir.
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in |
sed 's%.*/%%'` by configure."
- case "$ac_file" in
- *[[Mm]]akefile*) ac_comsub="1i\\
-# $configure_input" ;;
- *) ac_comsub= ;;
- esac
- # Don't redirect the output to AC_FILE directly: use `mv' so that updating
- # is atomic, and doesn't need trapping.
+ # Don't redirect the output to AC_FILE directly: use `mv' so that
+ # updating is atomic, and doesn't need trapping.
ac_file_inputs=`echo "$ac_file_in" |
sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
for ac_file_input in $ac_file_inputs;
done
EOF
cat >>$CONFIG_STATUS <<EOF
- sed -e "$ac_comsub
dnl Neutralize VPATH when `$srcdir' = `.'.
-$ac_vpsub
+ sed -e "$ac_vpsub
dnl Shell code in configure.in might set extrasub.
dnl FIXME: do we really want to maintain this feature?
$extrasub
of those variables in the environment when @code{configure} is run.
Doing this isn't necessary, but it's a convenience for users.
-Also add @samp{@@configure_input@@} in a comment to each non-@file{Makefile}
-input file for
+Also add @samp{@@configure_input@@} in a comment to each input file for
@code{AC_OUTPUT}, so that the output files will contain a comment saying
they were produced by @code{configure}. Automatically selecting the
right comment syntax for all the kinds of files that people call
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in |
sed 's%.*/%%'` by configure."
- case "$ac_file" in
- *[[Mm]]akefile*) ac_comsub="1i\\
-# $configure_input" ;;
- *) ac_comsub= ;;
- esac
- # Don't redirect the output to AC_FILE directly: use `mv' so that updating
- # is atomic, and doesn't need trapping.
+ # Don't redirect the output to AC_FILE directly: use `mv' so that
+ # updating is atomic, and doesn't need trapping.
ac_file_inputs=`echo "$ac_file_in" |
sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
for ac_file_input in $ac_file_inputs;
done
EOF
cat >>$CONFIG_STATUS <<EOF
- sed -e "$ac_comsub
dnl Neutralize VPATH when `$srcdir' = `.'.
-$ac_vpsub
+ sed -e "$ac_vpsub
dnl Shell code in configure.in might set extrasub.
dnl FIXME: do we really want to maintain this feature?
$extrasub