diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-03-24 19:30:28 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-03-24 19:30:28 -0700 |
commit | 438dec1bd1ffbcfe2281ef21ccbede56b3fef272 (patch) | |
tree | 12f1b4211ca30adea15dc5cadd0e9eb3c676ddd9 /configure | |
parent | 622f87134be4d14aefac13f3c3013d08ebe7c5d0 (diff) | |
download | txr-438dec1bd1ffbcfe2281ef21ccbede56b3fef272.tar.gz txr-438dec1bd1ffbcfe2281ef21ccbede56b3fef272.tar.bz2 txr-438dec1bd1ffbcfe2281ef21ccbede56b3fef272.zip |
* Makefile (enforce): Update error error message.
* configure (have_git): Don't set this variable if
the TXR repository is missing, even if git is installed.
I.e. have_git means have have the tool and the repo.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -719,14 +719,18 @@ conftest_syms() # # Check for git because we use it out of the Makefile +# But this is pointless if we have no git repo. +# "have_git" means we have a repo, and git. # -printf "Checking whether we have git ... " +if [ -d $top_srcdir/.git ] ; then + printf "Checking whether we have git ... " -if git --version > /dev/null 2> /dev/null ; then - have_git=y - printf "yes\n" -else - printf "missing\n" + if git --version > /dev/null 2> /dev/null ; then + have_git=y + printf "yes\n" + else + printf "missing\n" + fi fi # |