From: Robert Schiele <rschiele@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Jakub Narebski <jnareb@gmail.com>, git@vger.kernel.org
Subject: Re: [PATCH] autoconf: Add test for sys/select.h header file
Date: Fri, 25 Jan 2008 13:53:04 +0100 [thread overview]
Message-ID: <20080125125304.GO30676@schiele.dyndns.org> (raw)
In-Reply-To: <alpine.LSU.1.00.0801251229250.5731@racer.site>
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
On Fri, Jan 25, 2008 at 12:30:27PM +0000, Johannes Schindelin wrote:
> Hi,
>
> On Fri, 25 Jan 2008, Jakub Narebski wrote:
>
> > diff --git a/configure.ac b/configure.ac
> > index af177fd..85d7ef5 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -235,6 +235,12 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -lsocket"
> > ## Checks for header files.
> > AC_MSG_NOTICE([CHECKS for header files])
> > #
> > +# Define NO_SYS_SELECT_H if you don't have sys/select.h.
> > +AC_CHECK_HEADER([sys/select.h],
> > +[NO_SYS_SELECT_H=],
> > +[NO_SYS_SELECT_H=UnfortunatelyYes])
> > +AC_SUBST(NO_SYS_SELECT_H)
> > +#
>
> Just because I am curious: would that not define "NO_SYS_SELECT_H" in both
> cases? IOW would the "ifdef NO_SYS_SELECT_H" not be triggered all the
> time?
No, in make the empty string is equal to not being defined.
Robert
--
Robert Schiele
Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com
"Quidquid latine dictum sit, altum sonatur."
[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]
next prev parent reply other threads:[~2008-01-25 12:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 18:34 [PATCH] some systems don't have (and need) sys/select.h Robert Schiele
2008-01-24 21:15 ` Johannes Schindelin
2008-01-24 21:17 ` Junio C Hamano
2008-01-24 21:58 ` Robert Schiele
2008-01-25 11:19 ` [PATCH] autoconf: Add test for sys/select.h header file Jakub Narebski
2008-01-25 12:30 ` Johannes Schindelin
2008-01-25 12:53 ` Robert Schiele [this message]
2008-01-26 6:25 ` Junio C Hamano
2008-01-26 9:42 ` Robert Schiele
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080125125304.GO30676@schiele.dyndns.org \
--to=rschiele@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).