Skip to content

you can't build unless you have git, so configure should require it #1887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,20 @@ fi

step_msg "looking for build programs"

probe_need CFG_PERL perl
probe_need CFG_PYTHON python python2.6 python2 python3
probe_need CFG_CURL curl
probe_need CFG_PERL perl
probe_need CFG_PYTHON python python2.6 python2 python3
probe_need CFG_CURL curl

# If we have no git directory then we are probably a tarball distribution
# and shouldn't attempt to load submodules
if [ ! -e ${CFG_SRC_DIR}.git ]
then
msg "git: no git directory. disabling submodules"
CFG_DISABLE_MANAGE_SUBMODULES=1
else
probe_need CFG_GIT git
fi

probe CFG_GIT git
probe CFG_CLANG clang++
probe CFG_GCC gcc
probe CFG_LLVM_CONFIG llvm-config
Expand Down