Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-IceS
Commits
d91b118a
Commit
d91b118a
authored
Oct 20, 2001
by
Jack Moffitt
Browse files
Really fix libshout detection for solaris. Also update stream.c for
the minor libshout api change. svn path=/trunk/ices/; revision=2215
parent
00a0c506
Changes
3
Hide whitespace changes
Inline
Side-by-side
acinclude.m4
View file @
d91b118a
...
...
@@ -219,10 +219,14 @@ AC_ARG_ENABLE(shouttest, [ --disable-shouttest Do not try to compile and
SHOUT_LIBS="$SHOUT_LIBS -lshout"
case $host in
sparc-sun-*)
SHOUT_LIBS="$SHOUT_LIBS -lnsl -lsocket -lresolv"
esac
AC_MSG_CHECKING(for Shout)
no_shout=""
if test "x$enable_shouttest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
...
...
configure.in
View file @
d91b118a
...
...
@@ -115,7 +115,7 @@ fi
AM_PATH_OGG(LIBS="$LIBS $OGG_LIBS", AC_MSG_ERROR(must have Ogg installed!))
AM_PATH_VORBIS(LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS", AC_MSG_ERROR(must have Vorbis installed!))
AM_PATH_SHOUT(LIBS="$LIBS
$SUN_LIBS
$SHOUT_LIBS", AC_MSG_ERROR(must have libshout installed!))
AM_PATH_SHOUT(LIBS="$LIBS $SHOUT_LIBS", AC_MSG_ERROR(must have libshout installed!))
dnl Make substitutions
...
...
src/stream.c
View file @
d91b118a
/* stream.c
* - Core streaming functions/main loop.
*
* $Id: stream.c,v 1.
5
2001/
09/25 12:04:22 msmith
Exp $
* $Id: stream.c,v 1.
6
2001/
10/20 22:07:16 jack
Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
...
...
@@ -147,7 +147,7 @@ void *ices_instance_stream(void *arg)
else
if
(
ret
==
0
)
{
LOG_ERROR1
(
"Send error: %s"
,
shout_strerror
(
&
sdsc
->
conn
,
sdsc
->
conn
.
error
));
shout_strerror
(
sdsc
->
conn
.
error
));
if
(
sdsc
->
conn
.
error
==
SHOUTERR_SOCKET
)
{
int
i
=
0
;
...
...
@@ -181,7 +181,7 @@ void *ices_instance_stream(void *arg)
{
LOG_ERROR3
(
"Failed to reconnect to %s:%d (%s)"
,
sdsc
->
conn
.
ip
,
sdsc
->
conn
.
port
,
shout_strerror
(
&
sdsc
->
conn
,
sdsc
->
conn
.
error
));
shout_strerror
(
sdsc
->
conn
.
error
));
if
(
i
==
stream
->
reconnect_attempts
)
{
LOG_ERROR0
(
"Reconnect failed too many times, "
...
...
@@ -204,7 +204,7 @@ void *ices_instance_stream(void *arg)
{
LOG_ERROR3
(
"Failed initial connect to %s:%d (%s)"
,
sdsc
->
conn
.
ip
,
sdsc
->
conn
.
port
,
shout_strerror
(
&
sdsc
->
conn
,
sdsc
->
conn
.
error
));
shout_strerror
(
sdsc
->
conn
.
error
));
}
shout_disconnect
(
&
sdsc
->
conn
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment