diff --git a/ChangeLog b/ChangeLog index e1a3be88..8fdcd3cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-07-19 Akim Demaille + + * autoreconf.sh (dir): When verbose, say what are the tools you + will use. + 2000-07-19 Akim Demaille Warnings related to obsolete constructs should be properly diff --git a/autoreconf.in b/autoreconf.in index 5f358530..a60ed475 100644 --- a/autoreconf.in +++ b/autoreconf.in @@ -200,6 +200,18 @@ if test $# -ne 0; then exit 1 fi +# If verbose, say what you are going to use. +if test $verbose = echo; then + $autoconf --version | + sed "s,.*)\(.*\)$,$me: using autoconf\1: $autoconf,;1q" >&2 + $autoheader --version | + sed "s,.*)\(.*\)$,$me: using autoheader\1: $autoheader,;1q" >&2 + $automake --version | + sed "s,.*)\(.*\)$,$me: using automake\1: $automake,;1q" >&2 + $aclocal --version | + sed "s,.*)\(.*\)$,$me: using aclocal\1: $aclocal,;1q" >&2 +fi + # Dispatch autoreconf's option to the tools. # --localdir autoconf="$autoconf -l $localdir" @@ -224,7 +236,6 @@ if $install; then automake="$automake --add-missing `$symlink || echo --copy`" fi - # Trap on 0 to stop playing with `rm'. $debug || { diff --git a/autoreconf.sh b/autoreconf.sh index 5f358530..a60ed475 100644 --- a/autoreconf.sh +++ b/autoreconf.sh @@ -200,6 +200,18 @@ if test $# -ne 0; then exit 1 fi +# If verbose, say what you are going to use. +if test $verbose = echo; then + $autoconf --version | + sed "s,.*)\(.*\)$,$me: using autoconf\1: $autoconf,;1q" >&2 + $autoheader --version | + sed "s,.*)\(.*\)$,$me: using autoheader\1: $autoheader,;1q" >&2 + $automake --version | + sed "s,.*)\(.*\)$,$me: using automake\1: $automake,;1q" >&2 + $aclocal --version | + sed "s,.*)\(.*\)$,$me: using aclocal\1: $aclocal,;1q" >&2 +fi + # Dispatch autoreconf's option to the tools. # --localdir autoconf="$autoconf -l $localdir" @@ -224,7 +236,6 @@ if $install; then automake="$automake --add-missing `$symlink || echo --copy`" fi - # Trap on 0 to stop playing with `rm'. $debug || { diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 5f358530..a60ed475 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -200,6 +200,18 @@ if test $# -ne 0; then exit 1 fi +# If verbose, say what you are going to use. +if test $verbose = echo; then + $autoconf --version | + sed "s,.*)\(.*\)$,$me: using autoconf\1: $autoconf,;1q" >&2 + $autoheader --version | + sed "s,.*)\(.*\)$,$me: using autoheader\1: $autoheader,;1q" >&2 + $automake --version | + sed "s,.*)\(.*\)$,$me: using automake\1: $automake,;1q" >&2 + $aclocal --version | + sed "s,.*)\(.*\)$,$me: using aclocal\1: $aclocal,;1q" >&2 +fi + # Dispatch autoreconf's option to the tools. # --localdir autoconf="$autoconf -l $localdir" @@ -224,7 +236,6 @@ if $install; then automake="$automake --add-missing `$symlink || echo --copy`" fi - # Trap on 0 to stop playing with `rm'. $debug || {