mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04:00
Applying
svn path=/icecast/trunk/icecast/; revision=19177
This commit is contained in:
parent
a82d5fa396
commit
536b0b5808
35
autogen.sh
35
autogen.sh
@ -22,7 +22,7 @@ VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9]\.[0-9]\).*/\1/"
|
|||||||
|
|
||||||
# do we need automake?
|
# do we need automake?
|
||||||
if test -r Makefile.am; then
|
if test -r Makefile.am; then
|
||||||
echo Checking for automake version
|
echo "Checking for automake version"
|
||||||
options=`fgrep AUTOMAKE_OPTIONS Makefile.am`
|
options=`fgrep AUTOMAKE_OPTIONS Makefile.am`
|
||||||
AM_NEEDED=`echo "$options" | $VERSIONGREP`
|
AM_NEEDED=`echo "$options" | $VERSIONGREP`
|
||||||
AM_PROGS=automake
|
AM_PROGS=automake
|
||||||
@ -70,17 +70,23 @@ if test -r Makefile.am; then
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(libtoolize --version) > /dev/null 2>&1 || {
|
if command libtoolize --version 2>/dev/null; then
|
||||||
echo
|
USE_GLIBTOOLIZE=0
|
||||||
echo "You must have libtool installed to compile $package."
|
else
|
||||||
echo "Download the appropriate package for your system,"
|
if command glibtoolize --version 2>/dev/null; then
|
||||||
echo "or get the source from one of the GNU ftp sites"
|
USE_GLIBTOOLIZE=1
|
||||||
echo "listed in http://www.gnu.org/order/ftp.html"
|
else
|
||||||
DIE=1
|
echo
|
||||||
}
|
echo "You must have libtool installed to compile $package."
|
||||||
|
echo "Download the appropriate package for your system,"
|
||||||
|
echo "or get the source from one of the GNU ftp sites"
|
||||||
|
echo "listed in http://www.gnu.org/order/ftp.html"
|
||||||
|
DIE=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
if test "$DIE" -eq 1; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Generating configuration files for $package, please wait...."
|
echo "Generating configuration files for $package, please wait...."
|
||||||
@ -94,8 +100,13 @@ fi
|
|||||||
echo " autoheader"
|
echo " autoheader"
|
||||||
autoheader
|
autoheader
|
||||||
|
|
||||||
echo " libtoolize --automake"
|
if test "$USE_GLIBTOOLIZE" -eq 0; then
|
||||||
libtoolize --automake
|
echo " libtoolize --automake"
|
||||||
|
libtoolize --automake
|
||||||
|
else
|
||||||
|
echo " glibtoolize --automake"
|
||||||
|
glibtoolize --automake
|
||||||
|
fi
|
||||||
|
|
||||||
if test -n "$AUTOMAKE"; then
|
if test -n "$AUTOMAKE"; then
|
||||||
echo " $AUTOMAKE --add-missing"
|
echo " $AUTOMAKE --add-missing"
|
||||||
|
Loading…
Reference in New Issue
Block a user