On Tue, 8 Jul 2003, [UTF-8] Branko Ä^Libej wrote:

> on those defines, giving utimes (which has the more precise interface)
> priority; e.g.,
>
>     #if HAVE_UTIMES
>     ...use utimes...
>     #elif HAVE_UTIME

IIRC, that should be:

#ifdef HAVE_UTIMES
...use utimes...
#elif defined(HAVE_UTIME)

It would be #if if it were an APR_HAVE_ macro, which are defined always
but have a value of zero or one depending.  The ones that comes straight
out of autoconf are either defined or not.

You also have to edit include/arch/unix/apr_private.h.in and add a set of
lines like:

/* define this if your system has the utimes() function */
#undef HAVE_UTIMES

/* define this if your system has the utime() function */
#undef HAVE_UTIME

--Cliff

Reply via email to