added library checking for Solaris

This commit is contained in:
darkeye 2001-09-11 18:39:18 +00:00
parent 9baec0b038
commit aabfd223c9
2 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,10 @@ AC_SUBST(LAME_INCFLAGS)
AC_SUBST(LAME_LDFLAGS)
AC_SUBST(LINK_STATIC)
AC_CHECK_LIB( socket, socket)
AC_CHECK_LIB( nsl, gethostbyname)
AC_CHECK_LIB( rt, sched_getscheduler)
dnl checkin for lame library
AC_MSG_CHECKING(lame library)
AC_ARG_WITH(lame-prefix,

View File

@ -1,7 +1,7 @@
bin_PROGRAMS = darkice
INCLUDES = @LAME_INCFLAGS@
CXXFLAGS = -O2 -Wall -DVERSION="@VERSION@"
LDADD = -lrt -lsocket -lnsl @LAME_LDFLAGS@ @LINK_STATIC@
CXXFLAGS = -O2 -Wall
LDADD = @LAME_LDFLAGS@ @LINK_STATIC@
darkice_SOURCES = AudioEncoder.h\
AudioSource.h\