summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-30 15:00:42 +0100
committerJavier Jardón <jjardon@gnome.org>2015-03-30 15:00:42 +0100
commitedb763a8837d3932690b9d6d77cb7e20a9ab8013 (patch)
tree93eb78bad4804d14528561dee264ee8d7445db87
parentd28d53d01c6e6c1575e88b7fb12f5314e635a46a (diff)
downloadutil-keysyms-edb763a8837d3932690b9d6d77cb7e20a9ab8013.tar.gz
Revert "autogen.sh: verify that git submodules are initialized"baserock/0.4.0
This reverts commit e527fdc914d4b4fa816ea9e563c6abf6505b39d3.
-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 $?