From c0ced4e82b13ea7e5566e640a34b3bd5ed5899c7 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Sat, 8 Jan 2022 15:46:24 -0500 Subject: [build] collect Sun-specific headers and funcs sendfilev() is Solaris-specific (and other OS have other alternatives) --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') 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([----------------------------------------]) -- cgit v1.2.1