summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-09-12 12:14:41 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-09-12 12:14:41 +0000
commitdddd95a8590521ab0169f210a85fc87e0b5176a4 (patch)
tree28ec0701a6dc352fd6a5d2ade321f1a95c6e2960 /configure.in
parent21a7fa8a6f51b2941171edfbd030c09606fff981 (diff)
downloadpostgresql-dddd95a8590521ab0169f210a85fc87e0b5176a4.tar.gz
Check both -lrt and -lposix4 for fdatasync, to cover all Solaris versions.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f7eaf9b5ed..1b71856cfe 100644
--- a/configure.in
+++ b/configure.in
@@ -751,7 +751,7 @@ AC_EGREP_HEADER(z_streamp, zlib.h, [
AC_CHECK_LIB(z, inflate)
])
# Solaris:
-AC_SEARCH_LIBS(fdatasync, rt)
+AC_SEARCH_LIBS(fdatasync, [rt posix4])
if test "$with_krb4" = yes ; then
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library 'des' is required for Kerberos 4])])
@@ -1161,7 +1161,7 @@ AC_CHECK_FUNC(atexit,
[AC_DEFINE(HAVE_ATEXIT)],
[AC_CHECK_FUNCS(on_exit,
[AC_DEFINE(HAVE_ON_EXIT)],
- [AC_MSG_ERROR([atexi() nor on_exit() found])])])
+ [AC_MSG_ERROR([neither atexit() nor on_exit() found])])])
dnl Need a #define for the size of Datum (unsigned long)