added library checking for Solaris
This commit is contained in:
parent
9baec0b038
commit
aabfd223c9
|
@ -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,
|
||||
|
|
|
@ -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\
|
||||
|
|
Loading…
Reference in New Issue