Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem building zsh in background
- X-seq: zsh-users 6822
- From: Philippe Troin <phil@xxxxxxxx>
- To: Danek Duvall <duvall@xxxxxxxxxxx>
- Subject: Re: problem building zsh in background
- Date: 30 Nov 2003 22:08:18 -0800
- Cc: Jens Petersen <petersen@xxxxxxxxxx>, Zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <20031130185652.GA26891@xxxxxxxxxxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <m3d6bgq2tk.wl%petersen@xxxxxxxxxx> <87d6bgrxml.fsf@xxxxxxxxxxxxxxxx> <m3vfp7o6c8.wl%petersen@xxxxxxxxxx> <877k1ngcp5.fsf@xxxxxxxxxxxxxxxx> <m365h68uk6.wl%petersen@xxxxxxxxxx> <m3y8u26r3t.wl%petersen@xxxxxxxxxx> <87zneewgvd.fsf@xxxxxxxxxxxxxxxx> <20031130185652.GA26891@xxxxxxxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Danek Duvall <duvall@xxxxxxxxxxx> writes:
> On Sat, Nov 29, 2003 at 09:43:50PM -0800, Philippe Troin wrote:
>
> > Why do you want to run configure with nohup?
>
> In my case, it's more likely that I'd want to run configure from a cron
> script -- nightly builds.
>
> > I guess I could run the test in a separate, created pty, but that is
> > going to be messy to do portably in configure.
>
> Maybe a configure flag that forces tcsetpgrp() to be recognized as
> working, and skip the test? I know that it works properly on my
> platform, so I could use the flag and not worry about whether the build
> will hang or abort because of the test ...
Okay, what about the following behavior:
- keep the second patch (will fail if ran from cron or any other
situation where there is no ctty)
- add a --with-working-tcsetpgrp / --without-working-tcsetpgrp switch
to force configure to skip the test (instead of failing) and assume
a working / non-working tcsetpgrp
Would that satisfy everyone?
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author