Commit a8d47419 authored by Peter Eisentraut's avatar Peter Eisentraut

Look for fdatasync() in librt, for Solaris.

partially from Kenji Sugita
parent 0521051b
This diff is collapsed.
......@@ -738,17 +738,20 @@ AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main)
# QNX:
AC_CHECK_LIB([[unix]], main)
AC_SEARCH_LIBS(crypt, crypt)
# BeOS:
AC_CHECK_LIB(bind, __inet_ntoa)
dnl Only consider libz to be present if we find <zlib.h> as well;
dnl furthermore, check that <zlib.h> defines z_streamp (versions before
dnl about 1.0.4 did not). While we could work around the lack of z_streamp,
dnl it seems unwise to encourage people to use such old zlib versions...
# Only consider libz to be present if we find <zlib.h> as well;
# furthermore, check that <zlib.h> defines z_streamp (versions before
# about 1.0.4 did not). While we could work around the lack of z_streamp,
# it seems unwise to encourage people to use such old zlib versions...
AC_EGREP_HEADER(z_streamp, zlib.h, [
AC_CHECK_LIB(z, inflate)
])
# Solaris:
AC_SEARCH_LIBS(fdatasync, rt)
if test "$with_krb4" = yes ; then
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library 'des' is required for Kerberos 4])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment