From aabfd223c9f9fc9341380c81a99dbd13d9a0d1c1 Mon Sep 17 00:00:00 2001 From: darkeye Date: Tue, 11 Sep 2001 18:39:18 +0000 Subject: [PATCH] added library checking for Solaris --- darkice/trunk/configure.in | 4 ++++ darkice/trunk/src/Makefile.am | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/darkice/trunk/configure.in b/darkice/trunk/configure.in index fbfa724..a2ed3a8 100644 --- a/darkice/trunk/configure.in +++ b/darkice/trunk/configure.in @@ -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, diff --git a/darkice/trunk/src/Makefile.am b/darkice/trunk/src/Makefile.am index 2f9318c..cb62ba9 100644 --- a/darkice/trunk/src/Makefile.am +++ b/darkice/trunk/src/Makefile.am @@ -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\