mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
Update the file even if it is unchanged, to avoid foiling a
Makefile rule that makes it from configure.in. If you let the rule for making config.status from configure create config.h from config.h.in, then an unnecessary update here will not cause unneeded recompilation. Recompilation should only happen if config.h is updated, which won't occur if config.h.in had the same contents, even if its timestamp changed. (Ick.)
This commit is contained in:
parent
2c72e8e908
commit
11d9768195
@ -200,11 +200,14 @@ done
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test $status -eq 0; then
|
||||
if cmp -s $tmpout ${config_h}.in; then
|
||||
rm -f $tmpout
|
||||
else
|
||||
mv -f $tmpout ${config_h}.in
|
||||
fi
|
||||
# Update the file even if it is unchanged, to avoid foiling a
|
||||
# Makefile rule that makes it from configure.in.
|
||||
# If you let the rule for making config.status from configure
|
||||
# create config.h from config.h.in, then an unnecessary update here
|
||||
# will not cause unneeded recompilation. Recompilation should only
|
||||
# happen if config.h is updated, which won't occur if config.h.in
|
||||
# had the same contents, even if its timestamp changed. (Ick.)
|
||||
mv -f $tmpout ${config_h}.in
|
||||
else
|
||||
rm -f $tmpout
|
||||
fi
|
||||
|
@ -200,11 +200,14 @@ done
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test $status -eq 0; then
|
||||
if cmp -s $tmpout ${config_h}.in; then
|
||||
rm -f $tmpout
|
||||
else
|
||||
mv -f $tmpout ${config_h}.in
|
||||
fi
|
||||
# Update the file even if it is unchanged, to avoid foiling a
|
||||
# Makefile rule that makes it from configure.in.
|
||||
# If you let the rule for making config.status from configure
|
||||
# create config.h from config.h.in, then an unnecessary update here
|
||||
# will not cause unneeded recompilation. Recompilation should only
|
||||
# happen if config.h is updated, which won't occur if config.h.in
|
||||
# had the same contents, even if its timestamp changed. (Ick.)
|
||||
mv -f $tmpout ${config_h}.in
|
||||
else
|
||||
rm -f $tmpout
|
||||
fi
|
||||
|
@ -200,11 +200,14 @@ done
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test $status -eq 0; then
|
||||
if cmp -s $tmpout ${config_h}.in; then
|
||||
rm -f $tmpout
|
||||
else
|
||||
mv -f $tmpout ${config_h}.in
|
||||
fi
|
||||
# Update the file even if it is unchanged, to avoid foiling a
|
||||
# Makefile rule that makes it from configure.in.
|
||||
# If you let the rule for making config.status from configure
|
||||
# create config.h from config.h.in, then an unnecessary update here
|
||||
# will not cause unneeded recompilation. Recompilation should only
|
||||
# happen if config.h is updated, which won't occur if config.h.in
|
||||
# had the same contents, even if its timestamp changed. (Ick.)
|
||||
mv -f $tmpout ${config_h}.in
|
||||
else
|
||||
rm -f $tmpout
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user