Skip to content

Commit 3c5e389

Browse files
db48xbrson
authored andcommitted
---
yaml --- r: 14711 b: refs/heads/try c: 2049d1f h: refs/heads/master i: 14709: 17c8486 14707: 7a600bc 14703: 84760c8 v: v3
1 parent 69521e1 commit 3c5e389

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 11b403d513ff650edb2181bbe87125cd89478bfb
5+
refs/heads/try: 2049d1f05e29e50ae92c2551adf24434f3c6b680
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/configure

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,17 @@ step_msg "looking for build programs"
301301
probe_need CFG_PERL perl
302302
probe_need CFG_PYTHON python python2.6 python2 python3
303303
probe_need CFG_CURL curl
304-
probe_need CFG_GIT git
304+
305+
# If we have no git directory then we are probably a tarball distribution
306+
# and shouldn't attempt to load submodules
307+
if [ ! -e ${CFG_SRC_DIR}.git ]
308+
then
309+
msg "git: no git directory. disabling submodules"
310+
CFG_DISABLE_MANAGE_SUBMODULES=1
311+
else
312+
probe_need CFG_GIT git
313+
fi
314+
305315
probe CFG_CLANG clang++
306316
probe CFG_GCC gcc
307317
probe CFG_LLVM_CONFIG llvm-config

0 commit comments

Comments
 (0)