diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-12 08:56:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-12 09:09:40 -0700 |
commit | ed9404692f75598c74d3ff6a4003f9373a5404f9 (patch) | |
tree | 77cf9481138eb26975de0e1e19303d1fbf148fed /autogen.sh | |
parent | bbf52c142afbb9e10bf2ae20b3c77993fda26b43 (diff) | |
download | emacs-ed9404692f75598c74d3ff6a4003f9373a5404f9.tar.gz |
Default autogen.sh to 'all'
This addresses a problem noted by RMS in:
http://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00052.html
* autogen.sh (do_git): Set to true if this script is invoked
with no arguments and there is a .git subdirectory.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 76fde9e18d2..70f9cbd245c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -127,7 +127,8 @@ done case $do_autoconf,$do_git in false,false) - do_autoconf=true;; + do_autoconf=true + test -e .git && do_git=true;; esac # Generate Autoconf-related files, if requested. |