Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
c9fa9cd0
Commit
c9fa9cd0
authored
Oct 21, 2001
by
Jack Moffitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lib handling.
svn path=/trunk/icecast/; revision=2235
parent
6b116e8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
configure.in
configure.in
+8
-4
src/Makefile.am
src/Makefile.am
+2
-1
No files found.
configure.in
View file @
c9fa9cd0
...
...
@@ -9,6 +9,8 @@ AM_PROG_LIBTOOL
dnl Set some options based on environment
SOCKET_LIBS=
if test -z "$GCC"; then
case $host in
*-*-irix*)
...
...
@@ -20,7 +22,7 @@ if test -z "$GCC"; then
DEBUG="-v -g -D_REENTRANT"
CFLAGS="-xO4 -fast -w -fsimple -native -xcg92 -D_REENTRANT"
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc -D_REENTRANT"
S
UN
_LIBS="-lnsl -lsocket -lresolv"
S
OCKET
_LIBS="-lnsl -lsocket -lresolv"
;;
*)
DEBUG="-g -D_REENTRANT"
...
...
@@ -39,7 +41,7 @@ else
DEBUG="-g -Wall -fsigned-char -mv8 -D_REENTRANT"
CFLAGS="-O20 -ffast-math -fsigned-char -mv8 -D_REENTRANT"
PROFILE="-pg -g -O20 -fsigned-char -mv8 -D_REENTRANT"
S
UN
_LIBS="-lnsl -lsocket -lresolv"
S
OCKET
_LIBS="-lnsl -lsocket -lresolv"
;;
*)
DEBUG="-g -Wall -fsigned-char -D_REENTRANT"
...
...
@@ -104,8 +106,10 @@ AM_PATH_VORBIS(, AC_MSG_ERROR(must have Vorbis installed!))
dnl Make substitutions
LIBS="$LIBS $SUN_LIBS $XML_LIBS $OGG_LIBS $VORBIS_LIBS"
AC_SUBST(XML_LIBS)
AC_SUBST(OGG_LIBS)
AC_SUBST(VORBIS_LIBS)
AC_SUBST(SOCKET_LIBS)
AC_SUBST(LIBTOOL_DEPS)
AC_SUBST(OPT)
AC_SUBST(LIBS)
...
...
src/Makefile.am
View file @
c9fa9cd0
...
...
@@ -14,7 +14,8 @@ icecast_SOURCES = config.c main.c logging.c sighandler.c connection.c global.c\
icecast_LDADD
=
net/libicenet.la thread/libicethread.la httpp/libicehttpp.la
\
log/libicelog.la avl/libiceavl.la timing/libicetiming.la
LIBS
=
-lpthread
LIBS
=
-lpthread
@SOCKET_LIBS@ @XML_LIBS@ @OGG_LIBS@ @VORBIS_LIBS@
INCLUDES
=
-I
$(srcdir)
/net
-I
$(srcdir)
/thread
-I
$(srcdir)
/avl
-I
$(srcdir)
/httpp
\
-I
$(srcdir)
/log
-I
$(srcdir)
/timing
...
...
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