[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Paralizing configure
From: |
Peter Rosin |
Subject: |
Re: Paralizing configure |
Date: |
Wed, 09 Feb 2011 10:52:01 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
Den 2011-02-09 05:42 skrev Miles Bader:
> On Wed, Feb 9, 2011 at 4:39 AM, Ralf Corsepius <address@hidden> wrote:
>>> At the least, constructs like
>>> AC_CHECK_HEADERS([stdint.h unistd.h fcntl.h sys/mman.h sys/stat.h])
>>> could check all the entries in parallel.
>>
>> Only simple scenarios, in which headers and header search paths are static -
>> This often doesn't apply to complex configurations.
>
> Wait, I'm confused ... how can the results of checking for "stdint.h"
> affect the subsequent check for "unistd.h"?
>
> [I meant, all the entries _within a single invocation_ (of
> AC_CHECK_HEADERS, etc) could be checked in parallel...]
Yes, in a perfect world. If you e.g. do this:
AC_CHECK_HEADERS([ \
windows.h \
winsock2.h \
winsock.h \
], [], [], [
AC_INCLUDES_DEFAULT
#define WIN32_LEAN_AND_MEAN
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif
#ifdef HAVE_WINSOCK_H
#include <winsock.h>
#endif
])
The outcome of the winsock.h test depends on if the winsock2.h test
succeeded or not. At least for some versions of the headers, as
provided by MS.
Cheers,
Peter
- Paralizing configure, Marian Marinov, 2011/02/08
- Re: Paralizing configure, Paul Eggert, 2011/02/08
- Re: Paralizing configure, Ralf Wildenhues, 2011/02/08
- Re: Paralizing configure, Paul Eggert, 2011/02/08
- Re: Paralizing configure, Marian Marinov, 2011/02/08
- Re: Paralizing configure, Miles Bader, 2011/02/08
- Re: Paralizing configure, Ralf Corsepius, 2011/02/08
- Re: Paralizing configure, Miles Bader, 2011/02/08
- Re: Paralizing configure,
Peter Rosin <=
- Re: Paralizing configure, Miles Bader, 2011/02/09
- Re: Paralizing configure, Peter Rosin, 2011/02/09
- Re: Paralizing configure, Ralf Wildenhues, 2011/02/10
- Re: Paralizing configure, Ralf Wildenhues, 2011/02/14
Re: Paralizing configure, Bob Friesenhahn, 2011/02/09
Re: Paralizing configure, Javier Jardón, 2011/02/09