summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index dec28535..bc545acf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1393,6 +1393,8 @@ AC_MSG_CHECKING([crypt_r/crypt support])
AC_MSG_RESULT([$found_crypt])
dnl check whether sendfilev needs -lsendfile
+case "$host_os" in
+*sunos*|*solaris* )
AC_MSG_NOTICE([----------------------------------------])
save_LIBS=$LIBS
LIBS=
@@ -1411,6 +1413,9 @@ AC_SUBST([SENDFILE_LIB])
AC_MSG_CHECKING([solaris sendfilev present])
AC_MSG_RESULT([$have_sendfilev])
+ ;;
+* ) ;;
+esac
AC_MSG_NOTICE([----------------------------------------])