apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wesley Smith <wesley.h...@gmail.com>
Subject fdatasync and configure on OSX
Date Sat, 03 Jul 2010 11:59:44 GMT
I've tried to build apr-1.4.2 on OSX 10.6.3.  I did the usual
./configure and make.  At issue is fdatasync.  It's undefined in the
resulting lib because, as mentioned in the configure files, OSX
doesn't have it:

$ find . | xargs grep fdatasync
./configure.in:dnl ----------------------------- Checking for
fdatasync: OS X doesn't have it

For some reason, the AC_CHECK_FUNCS is failing and in apr_private.h I have:

/* Define to 1 if you have the `fdatasync' function. */

I can change this to 0 manually, but configure should be taking care
of it for me.  Is this a known bug?


View raw message