bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-users] Re: More patch 2.5.9 hacking


From: Paul Eggert
Subject: Re: [Mingw-users] Re: More patch 2.5.9 hacking
Date: 25 Oct 2003 01:05:58 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Manu" <address@hidden> writes:

> You are correct, let's use <unistd.h>. If it needs a conditional, then
> we would get:
> 
>  AC_TRY_COMPILE([
> #if HAVE_UNISTD_H
> # include <unistd.h>
> #endif
>    ],
>    [mkdir (".");],
>    patch_cv_mkdir_takes_one_arg=yes,
>    patch_cv_mkdir_takes_one_arg=no
>    )

I'd rather leave the <sys/types.h> and <sys/stat.h> in there, since that's
where mkdir is on traditional systems.  Also, you need to run
AC_CHECK_HEADERS(unistd.h) first.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]