diff options
author | Björn Jacke <bj@sernet.de> | 2012-06-29 23:36:24 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-06-30 00:33:46 +0200 |
commit | 13aaa9410b92159c24a4d6f45ecfd902f9a4941e (patch) | |
tree | 9e8028bfff4f6b3aa4a58831c49e4099b97bb3a9 /source3 | |
parent | f81fd1ccc3228bf06455ad4c3265b71ca17ae407 (diff) | |
download | samba-13aaa9410b92159c24a4d6f45ecfd902f9a4941e.tar.gz samba-13aaa9410b92159c24a4d6f45ecfd902f9a4941e.tar.bz2 samba-13aaa9410b92159c24a4d6f45ecfd902f9a4941e.zip |
s3: add sendfile support for Tru64, which is the same as HP-UX's
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in index a9640d87e3..e55114de15 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5594,8 +5594,8 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) fi ;; - *hpux*) - AC_CACHE_CHECK([for hpux sendfile support],samba_cv_HAVE_SENDFILE,[ + *hpux*|*osf*) + AC_CACHE_CHECK([for osf/hpux sendfile support],samba_cv_HAVE_SENDFILE,[ AC_TRY_LINK([\ #include <sys/socket.h> #include <sys/uio.h>], @@ -5614,7 +5614,7 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available]) - AC_DEFINE(HPUX_SENDFILE_API,1,[Whether the hpux sendfile() API is available]) + AC_DEFINE(HPUX_SENDFILE_API,1,[Whether the osf/hpux sendfile() API is available]) AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included]) else AC_MSG_RESULT(no); |