mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Fix lib handling.
svn path=/trunk/icecast/; revision=2235
This commit is contained in:
parent
6b116e8b96
commit
c9fa9cd040
12
configure.in
12
configure.in
@ -9,6 +9,8 @@ AM_PROG_LIBTOOL
|
|||||||
|
|
||||||
dnl Set some options based on environment
|
dnl Set some options based on environment
|
||||||
|
|
||||||
|
SOCKET_LIBS=
|
||||||
|
|
||||||
if test -z "$GCC"; then
|
if test -z "$GCC"; then
|
||||||
case $host in
|
case $host in
|
||||||
*-*-irix*)
|
*-*-irix*)
|
||||||
@ -20,7 +22,7 @@ if test -z "$GCC"; then
|
|||||||
DEBUG="-v -g -D_REENTRANT"
|
DEBUG="-v -g -D_REENTRANT"
|
||||||
CFLAGS="-xO4 -fast -w -fsimple -native -xcg92 -D_REENTRANT"
|
CFLAGS="-xO4 -fast -w -fsimple -native -xcg92 -D_REENTRANT"
|
||||||
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc -D_REENTRANT"
|
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc -D_REENTRANT"
|
||||||
SUN_LIBS="-lnsl -lsocket -lresolv"
|
SOCKET_LIBS="-lnsl -lsocket -lresolv"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
DEBUG="-g -D_REENTRANT"
|
DEBUG="-g -D_REENTRANT"
|
||||||
@ -39,7 +41,7 @@ else
|
|||||||
DEBUG="-g -Wall -fsigned-char -mv8 -D_REENTRANT"
|
DEBUG="-g -Wall -fsigned-char -mv8 -D_REENTRANT"
|
||||||
CFLAGS="-O20 -ffast-math -fsigned-char -mv8 -D_REENTRANT"
|
CFLAGS="-O20 -ffast-math -fsigned-char -mv8 -D_REENTRANT"
|
||||||
PROFILE="-pg -g -O20 -fsigned-char -mv8 -D_REENTRANT"
|
PROFILE="-pg -g -O20 -fsigned-char -mv8 -D_REENTRANT"
|
||||||
SUN_LIBS="-lnsl -lsocket -lresolv"
|
SOCKET_LIBS="-lnsl -lsocket -lresolv"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
DEBUG="-g -Wall -fsigned-char -D_REENTRANT"
|
DEBUG="-g -Wall -fsigned-char -D_REENTRANT"
|
||||||
@ -104,8 +106,10 @@ AM_PATH_VORBIS(, AC_MSG_ERROR(must have Vorbis installed!))
|
|||||||
|
|
||||||
dnl Make substitutions
|
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(LIBTOOL_DEPS)
|
||||||
AC_SUBST(OPT)
|
AC_SUBST(OPT)
|
||||||
AC_SUBST(LIBS)
|
AC_SUBST(LIBS)
|
||||||
|
@ -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\
|
icecast_LDADD = net/libicenet.la thread/libicethread.la httpp/libicehttpp.la\
|
||||||
log/libicelog.la avl/libiceavl.la timing/libicetiming.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 \
|
INCLUDES = -I$(srcdir)/net -I$(srcdir)/thread -I$(srcdir)/avl -I$(srcdir)/httpp \
|
||||||
-I$(srcdir)/log -I$(srcdir)/timing
|
-I$(srcdir)/log -I$(srcdir)/timing
|
||||||
|
Loading…
Reference in New Issue
Block a user