summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-16 01:08:46 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-16 01:08:46 +0000
commitf7730e146f86c0b6b0637bc0ed3acf6e29e5ba81 (patch)
tree4e0d878021f93b7d0a3554e5b76f575319e59837 /source3/configure.in
parentc64d762997c80bd9ad2d47d1799cf9ec870d455a (diff)
downloadsamba-f7730e146f86c0b6b0637bc0ed3acf6e29e5ba81.tar.gz
samba-f7730e146f86c0b6b0637bc0ed3acf6e29e5ba81.tar.bz2
samba-f7730e146f86c0b6b0637bc0ed3acf6e29e5ba81.zip
Merge from HEAD: Remove assumption that all solaris has -lsendfile
(This used to be commit 6520592453582c908e4bb5b7c9f9012153df60d2)
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 7a251fde83..eed258c604 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2897,7 +2897,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>],