2001-09-10 02:21:46 +00:00
|
|
|
#!/bin/sh
|
2018-08-07 17:13:39 +00:00
|
|
|
# Run this to generate the configure script
|
2016-01-25 20:40:41 +00:00
|
|
|
set -e
|
2001-09-10 02:21:46 +00:00
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
2016-01-25 20:40:41 +00:00
|
|
|
test -n "$srcdir" && cd "$srcdir"
|
2003-07-21 02:23:41 +00:00
|
|
|
|
2018-08-07 17:29:33 +00:00
|
|
|
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
|
|
|
|
|
2018-08-07 17:13:39 +00:00
|
|
|
echo "Updating build configuration files for Icecast, please wait..."
|
2001-09-10 02:21:46 +00:00
|
|
|
|
2016-01-26 04:42:33 +00:00
|
|
|
autoreconf -isf
|