]> git.lizzy.rs Git - rust.git/commitdiff
configure: Remove git probing logic
authorAlex Crichton <alex@alexcrichton.com>
Sun, 12 Feb 2017 18:21:16 +0000 (10:21 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 11 Mar 2017 16:41:10 +0000 (08:41 -0800)
This is all in rustbuild already.

configure

index d8861dacafac1091c3deb54ab211f54bc3d4e058..c084478b375820f6d2ca1223ff8836b7889f142c 100755 (executable)
--- a/configure
+++ b/configure
@@ -821,17 +821,6 @@ if [ $(echo $python_version | grep -c '^Python 2\.7') -ne 1 ]; then
     err "Found $python_version, but Python 2.7 is required"
 fi
 
-# 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
-    probe CFG_GIT          git
-    msg "git: no git directory. disabling submodules"
-    CFG_DISABLE_MANAGE_SUBMODULES=1
-else
-    probe_need CFG_GIT     git
-fi
-
 # Use `md5sum` on GNU platforms, or `md5 -q` on BSD
 probe CFG_MD5              md5
 probe CFG_MD5SUM           md5sum