summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-01-08 15:46:24 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2022-01-08 18:09:42 -0500
commitc0ced4e82b13ea7e5566e640a34b3bd5ed5899c7 (patch)
treea4e29a311fb6940555d74636d263b4a79a1284fe /configure.ac
parent448621e0261712984c784e6b10ba940891060a3a (diff)
downloadlighttpd-git-c0ced4e82b13ea7e5566e640a34b3bd5ed5899c7.tar.gz
[build] collect Sun-specific headers and funcs
sendfilev() is Solaris-specific (and other OS have other alternatives)
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([----------------------------------------])