summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-30 14:58:45 +0100
committerJavier Jardón <jjardon@gnome.org>2015-03-30 14:58:45 +0100
commitfb7afc3f291c8cc072d327cd8d97ab1db3283c21 (patch)
tree5deb7182b34c32b1e8c14b854d98b379370fb3b0
parent0dab6f6429ee883697bd9e667d3251afee696c6d (diff)
downloadutil-wm-fb7afc3f291c8cc072d327cd8d97ab1db3283c21.tar.gz
Revert "Check submodules before running autoconf."baserock/0.4.1
This reverts commit c3d61ece8098ec3f1b3f5c3f8c5c95f2a5c3c0f7.
-rwxr-xr-xautogen.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/autogen.sh b/autogen.sh
index afe5299..904cd67 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,21 +6,6 @@ test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
-# If this is a git checkout, verify that the submodules are initialized,
-# otherwise autotools will just fail with an unhelpful error message.
-if [ -d ".git" ] && [ -r ".gitmodules" ]
-then
- # If git is not in PATH, this will not return 0, thus not keeping us
- # from building. Since the message is worthless when git is not
- # installed, this is what we want.
- if git submodule status 2>/dev/null | grep -q '^-'
- then
- echo "You have uninitialized git submodules." >&2
- echo "Please run: git submodule update --init" >&2
- exit 1
- fi
-fi
-
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?