mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
the convention clash with autoconf.sh where `run_foo' is the command to run `foo'. (uses_autoheader): New variable.
This commit is contained in:
parent
d0caf6df76
commit
4e2f72941d
@ -1,3 +1,10 @@
|
||||
2000-07-10 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
|
||||
the convention clash with autoconf.sh where `run_foo' is the
|
||||
command to run `foo'.
|
||||
(uses_autoheader): New variable.
|
||||
|
||||
2000-07-10 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* autoreconf.sh (update.sh): New sub program.
|
||||
|
@ -246,14 +246,14 @@ while read dir; do
|
||||
# Running aclocal. #
|
||||
# ----------------- #
|
||||
|
||||
# run_aclocal -- is this package using aclocal?
|
||||
run_aclocal=false
|
||||
# uses_aclocal -- is this package using aclocal?
|
||||
uses_aclocal=false
|
||||
aclocal_dir=`echo $aclocal_m4 | sed 's,/*[^/]*$,,;s,^$,.,'`
|
||||
if grep 'generated automatically by aclocal' $aclocal_m4 >/dev/null 2>&1 ||
|
||||
test -f "$aclocal_dir/acinclude.m4"; then
|
||||
run_aclocal=:
|
||||
uses_aclocal=:
|
||||
fi
|
||||
if $run_aclocal &&
|
||||
if $uses_aclocal &&
|
||||
{ $force ||
|
||||
$update $aclocal_m4 $aclocal_dir/acinclude.m4; } then
|
||||
# If there are flags for aclocal in Makefile.am, use them.
|
||||
@ -310,10 +310,14 @@ while read dir; do
|
||||
stamp=$template_dir/stamp-h$stamp_num.in
|
||||
acconfig_h=`echo $localdir_opt | sed -e 's/--localdir=//' \
|
||||
-e '/./ s%$%/%'`acconfig.h
|
||||
if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
|
||||
if $force ||
|
||||
uses_autoheader=false;
|
||||
if grep autoheader "$template" >/dev/null 2>&1; then
|
||||
uses_autoheader=:
|
||||
fi
|
||||
if $uses_autoheader &&
|
||||
{ $force ||
|
||||
$update $template $stamp configure.in $aclocal_m4 $acconfig_h ||
|
||||
$update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
|
||||
$update $stamp $template configure.in $aclocal_m4 $acconfig_h; } then
|
||||
$verbose running $autoheader $localdir_opt in $dir
|
||||
$autoheader $localdir_opt &&
|
||||
$verbose "touching $stamp" &&
|
||||
|
@ -246,14 +246,14 @@ while read dir; do
|
||||
# Running aclocal. #
|
||||
# ----------------- #
|
||||
|
||||
# run_aclocal -- is this package using aclocal?
|
||||
run_aclocal=false
|
||||
# uses_aclocal -- is this package using aclocal?
|
||||
uses_aclocal=false
|
||||
aclocal_dir=`echo $aclocal_m4 | sed 's,/*[^/]*$,,;s,^$,.,'`
|
||||
if grep 'generated automatically by aclocal' $aclocal_m4 >/dev/null 2>&1 ||
|
||||
test -f "$aclocal_dir/acinclude.m4"; then
|
||||
run_aclocal=:
|
||||
uses_aclocal=:
|
||||
fi
|
||||
if $run_aclocal &&
|
||||
if $uses_aclocal &&
|
||||
{ $force ||
|
||||
$update $aclocal_m4 $aclocal_dir/acinclude.m4; } then
|
||||
# If there are flags for aclocal in Makefile.am, use them.
|
||||
@ -310,10 +310,14 @@ while read dir; do
|
||||
stamp=$template_dir/stamp-h$stamp_num.in
|
||||
acconfig_h=`echo $localdir_opt | sed -e 's/--localdir=//' \
|
||||
-e '/./ s%$%/%'`acconfig.h
|
||||
if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
|
||||
if $force ||
|
||||
uses_autoheader=false;
|
||||
if grep autoheader "$template" >/dev/null 2>&1; then
|
||||
uses_autoheader=:
|
||||
fi
|
||||
if $uses_autoheader &&
|
||||
{ $force ||
|
||||
$update $template $stamp configure.in $aclocal_m4 $acconfig_h ||
|
||||
$update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
|
||||
$update $stamp $template configure.in $aclocal_m4 $acconfig_h; } then
|
||||
$verbose running $autoheader $localdir_opt in $dir
|
||||
$autoheader $localdir_opt &&
|
||||
$verbose "touching $stamp" &&
|
||||
|
@ -246,14 +246,14 @@ while read dir; do
|
||||
# Running aclocal. #
|
||||
# ----------------- #
|
||||
|
||||
# run_aclocal -- is this package using aclocal?
|
||||
run_aclocal=false
|
||||
# uses_aclocal -- is this package using aclocal?
|
||||
uses_aclocal=false
|
||||
aclocal_dir=`echo $aclocal_m4 | sed 's,/*[^/]*$,,;s,^$,.,'`
|
||||
if grep 'generated automatically by aclocal' $aclocal_m4 >/dev/null 2>&1 ||
|
||||
test -f "$aclocal_dir/acinclude.m4"; then
|
||||
run_aclocal=:
|
||||
uses_aclocal=:
|
||||
fi
|
||||
if $run_aclocal &&
|
||||
if $uses_aclocal &&
|
||||
{ $force ||
|
||||
$update $aclocal_m4 $aclocal_dir/acinclude.m4; } then
|
||||
# If there are flags for aclocal in Makefile.am, use them.
|
||||
@ -310,10 +310,14 @@ while read dir; do
|
||||
stamp=$template_dir/stamp-h$stamp_num.in
|
||||
acconfig_h=`echo $localdir_opt | sed -e 's/--localdir=//' \
|
||||
-e '/./ s%$%/%'`acconfig.h
|
||||
if test ! -f "$template" || grep autoheader "$template" >/dev/null; then
|
||||
if $force ||
|
||||
uses_autoheader=false;
|
||||
if grep autoheader "$template" >/dev/null 2>&1; then
|
||||
uses_autoheader=:
|
||||
fi
|
||||
if $uses_autoheader &&
|
||||
{ $force ||
|
||||
$update $template $stamp configure.in $aclocal_m4 $acconfig_h ||
|
||||
$update $stamp $template configure.in $aclocal_m4 $acconfig_h; then
|
||||
$update $stamp $template configure.in $aclocal_m4 $acconfig_h; } then
|
||||
$verbose running $autoheader $localdir_opt in $dir
|
||||
$autoheader $localdir_opt &&
|
||||
$verbose "touching $stamp" &&
|
||||
|
Loading…
Reference in New Issue
Block a user