mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
* autoreconf.sh (autoheader): Run it when there is no template, as
there is no risk to override a handwritten template. From Assar Westerlund.
This commit is contained in:
parent
9d4187c855
commit
88d2fd8441
@ -1,3 +1,9 @@
|
||||
2001-01-26 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* autoreconf.sh (autoheader): Run it when there is no template, as
|
||||
there is no risk to override a handwritten template.
|
||||
From Assar Westerlund.
|
||||
|
||||
2001-01-26 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* aclang.m4: dnl AC_ARG_VAR's newline.
|
||||
|
@ -385,9 +385,13 @@ while read dir; do
|
||||
template_dir=`echo $template | sed 's,/*[^/]*$,,;s,^$,.,'`
|
||||
stamp_num=`test "$tcount" -gt 1 && echo "$tcount"`
|
||||
stamp=$template_dir/stamp-h$stamp_num.in
|
||||
uses_autoheader=false;
|
||||
# If config.hin exists, don't override it unless it was really
|
||||
# created by autoheader (users are allowed to write them by hand!).
|
||||
uses_autoheader=false
|
||||
grep autoheader "$template" >/dev/null 2>&1 &&
|
||||
uses_autoheader=:
|
||||
test -f "$template" ||
|
||||
uses_autoheader=:
|
||||
if $uses_autoheader &&
|
||||
{ $force ||
|
||||
$update $template \
|
||||
|
@ -385,9 +385,13 @@ while read dir; do
|
||||
template_dir=`echo $template | sed 's,/*[^/]*$,,;s,^$,.,'`
|
||||
stamp_num=`test "$tcount" -gt 1 && echo "$tcount"`
|
||||
stamp=$template_dir/stamp-h$stamp_num.in
|
||||
uses_autoheader=false;
|
||||
# If config.hin exists, don't override it unless it was really
|
||||
# created by autoheader (users are allowed to write them by hand!).
|
||||
uses_autoheader=false
|
||||
grep autoheader "$template" >/dev/null 2>&1 &&
|
||||
uses_autoheader=:
|
||||
test -f "$template" ||
|
||||
uses_autoheader=:
|
||||
if $uses_autoheader &&
|
||||
{ $force ||
|
||||
$update $template \
|
||||
|
@ -385,9 +385,13 @@ while read dir; do
|
||||
template_dir=`echo $template | sed 's,/*[^/]*$,,;s,^$,.,'`
|
||||
stamp_num=`test "$tcount" -gt 1 && echo "$tcount"`
|
||||
stamp=$template_dir/stamp-h$stamp_num.in
|
||||
uses_autoheader=false;
|
||||
# If config.hin exists, don't override it unless it was really
|
||||
# created by autoheader (users are allowed to write them by hand!).
|
||||
uses_autoheader=false
|
||||
grep autoheader "$template" >/dev/null 2>&1 &&
|
||||
uses_autoheader=:
|
||||
test -f "$template" ||
|
||||
uses_autoheader=:
|
||||
if $uses_autoheader &&
|
||||
{ $force ||
|
||||
$update $template \
|
||||
|
Loading…
Reference in New Issue
Block a user