Configuring fdatasync for Solaris2 - Mailing list pgsql-patches

From Kenji Sugita
Subject Configuring fdatasync for Solaris2
Date
Msg-id 20010911.002001.21905129.sugita@sra.co.jp
Whole thread Raw
Responses Re: Configuring fdatasync for Solaris2  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Attached is a patch to find out fdatasync in libposix4 for Solaris2.

The function fdatasync resides in libposix4 on Solaris2. Configure does not
try to find the function in libposix4 and then misses fdatasync.


Kenji Sugita
sugita@sra.co.jp
Index: configure.in
===================================================================
RCS file: /home/mgr/sugita/jobs/cvs-master/pgsql/src/7.1.3/build/configure.in,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 configure.in
--- configure.in    16 Aug 2001 18:36:31 -0000    1.1.1.1
+++ configure.in    10 Sep 2001 14:53:56 -0000
@@ -656,6 +656,10 @@ if test "$PORTNAME" != "aix" -a "$PORTNA
 then
     AC_CHECK_LIB(bsd,      main)
 fi
+if test "$PORTNAME" = "solaris"
+then
+    AC_CHECK_LIB(posix4,      main)
+fi
 AC_CHECK_LIB(util,     setproctitle)
 AC_CHECK_LIB(m,        main)
 AC_CHECK_LIB(dl,       main)

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: attribute names & typecast/psql default port
Next
From: Bruce Momjian
Date:
Subject: Re: [JDBC] Fix JDBC test suite, set/get transaction isolation level