mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Detect missing submodules in autogen.sh
This commit is contained in:
parent
f8e30d46a4
commit
9a3782173c
11
autogen.sh
11
autogen.sh
@ -5,6 +5,17 @@ set -e
|
|||||||
srcdir=`dirname $0`
|
srcdir=`dirname $0`
|
||||||
test -n "$srcdir" && cd "$srcdir"
|
test -n "$srcdir" && cd "$srcdir"
|
||||||
|
|
||||||
|
if ! {
|
||||||
|
# Test for any file in the m4 submodule
|
||||||
|
test -e "$srcdir/m4/ax_check_compile_flag.m4" &&
|
||||||
|
# Test for any file in the common submodule
|
||||||
|
test -e "$srcdir/src/common/log/log.c"; };
|
||||||
|
then
|
||||||
|
echo "ERROR: Submodules missing! Ensure you git cloned with '--recursive' or run:"
|
||||||
|
echo " git submodule update --init"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Updating build configuration files for Icecast, please wait..."
|
echo "Updating build configuration files for Icecast, please wait..."
|
||||||
|
|
||||||
autoreconf -isf
|
autoreconf -isf
|
||||||
|
Loading…
Reference in New Issue
Block a user