mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* autogen.sh: Add --no-check option. (Bug#25359)
This commit is contained in:
parent
255f675d89
commit
d40073f017
1 changed files with 59 additions and 54 deletions
15
autogen.sh
15
autogen.sh
|
|
@ -103,6 +103,7 @@ check_version ()
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check=true
|
||||||
do_autoconf=false
|
do_autoconf=false
|
||||||
test $# -eq 0 && do_autoconf=true
|
test $# -eq 0 && do_autoconf=true
|
||||||
do_git=false
|
do_git=false
|
||||||
|
|
@ -111,6 +112,9 @@ for arg; do
|
||||||
case $arg in
|
case $arg in
|
||||||
--help)
|
--help)
|
||||||
exec echo "$0: usage: $0 [all|autoconf|git]";;
|
exec echo "$0: usage: $0 [all|autoconf|git]";;
|
||||||
|
--no-check)
|
||||||
|
do_check=false
|
||||||
|
test $# -eq 1 && do_autoconf=true;;
|
||||||
all)
|
all)
|
||||||
do_autoconf=true
|
do_autoconf=true
|
||||||
test -e .git && do_git=true;;
|
test -e .git && do_git=true;;
|
||||||
|
|
@ -128,6 +132,8 @@ done
|
||||||
|
|
||||||
if $do_autoconf; then
|
if $do_autoconf; then
|
||||||
|
|
||||||
|
if $do_check; then
|
||||||
|
|
||||||
echo 'Checking whether you have the necessary tools...
|
echo 'Checking whether you have the necessary tools...
|
||||||
(Read INSTALL.REPO for more details on building Emacs)'
|
(Read INSTALL.REPO for more details on building Emacs)'
|
||||||
|
|
||||||
|
|
@ -208,11 +214,8 @@ make install. Add the installation directory to your PATH and re-run
|
||||||
this script.
|
this script.
|
||||||
|
|
||||||
If you know that the required versions are in your PATH, but this
|
If you know that the required versions are in your PATH, but this
|
||||||
script has made an error, then you can simply run
|
script has made an error, then you can simply re-run this script with
|
||||||
|
the --no-check option.
|
||||||
autoreconf -fi -I m4
|
|
||||||
|
|
||||||
instead of this script.
|
|
||||||
|
|
||||||
Please report any problems with this script to bug-gnu-emacs@gnu.org .'
|
Please report any problems with this script to bug-gnu-emacs@gnu.org .'
|
||||||
|
|
||||||
|
|
@ -221,6 +224,8 @@ Please report any problems with this script to bug-gnu-emacs@gnu.org .'
|
||||||
|
|
||||||
echo 'Your system has the required tools.'
|
echo 'Your system has the required tools.'
|
||||||
|
|
||||||
|
fi # do_check
|
||||||
|
|
||||||
## Create nt/gnulib.mk if it doesn't exist, as autoreconf will need it.
|
## Create nt/gnulib.mk if it doesn't exist, as autoreconf will need it.
|
||||||
if test ! -f nt/gnulib.mk; then
|
if test ! -f nt/gnulib.mk; then
|
||||||
echo 'Inferring nt/gnulib.mk from lib/gnulib.mk ...'
|
echo 'Inferring nt/gnulib.mk from lib/gnulib.mk ...'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue