summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-15 21:56:14 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-15 21:56:14 +0000
commitf85da55c3778632b14cc99b4032db4cf33b54bb6 (patch)
treee1154b1f4d78c17f0e43d4db79c69b7a0597bb05 /source3/configure.in
parent1cc2d96caca66eb35e5f6433698d057db242d5f7 (diff)
downloadsamba-f85da55c3778632b14cc99b4032db4cf33b54bb6.tar.gz
samba-f85da55c3778632b14cc99b4032db4cf33b54bb6.tar.bz2
samba-f85da55c3778632b14cc99b4032db4cf33b54bb6.zip
Remove the assumption that all Solaris has -lsendfile.
Andrew Bartlett (This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 477ed850cf..f8386e2275 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2916,7 +2916,7 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)])
;;
*solaris*)
- LIBS="$LIBS -lsendfile"
+ AC_CHECK_LIB(sendfile,sendfilev)
AC_CACHE_CHECK([for solaris sendfilev64 support],samba_cv_HAVE_SENDFILEV64,[
AC_TRY_LINK([\
#include <sys/sendfile.h>],