From f20f25a1c017c58d5d7dfffc6e9adc8d31879152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 30 Mar 2015 15:03:41 +0100 Subject: Revert "Check submodules before running autoconf." This reverts commit 2eb581ab2f90fbcea878f5696da3e1d7acad3c58. --- autogen.sh | 15 --------------- 1 file changed, 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 $? -- cgit v1.2.1