summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-02-03 15:47:43 +0000
committerJavier Jardón <jjardon@gnome.org>2015-02-03 15:47:43 +0000
commit4de010f122da40e17b52866d07d1d501a66bf007 (patch)
treee04825f5e276aada16c80043773dfa14a47ea9ec
parent6abead523442e0bf191ae9a990164e59d36b1ce0 (diff)
downloadxcb-util-4de010f122da40e17b52866d07d1d501a66bf007.tar.gz
Revert "Check submodules before running autoconf."baserock/0.4.0
This reverts commit 758240ad77c545d9f9ea02e6d079a80e82038240.
-rwxr-xr-xautogen.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/autogen.sh b/autogen.sh
index fe63941..fc34bd5 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 $?