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