zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: tcsetpgrp test switch
Date: Tue, 2 Nov 1999 15:10:31 -0500	[thread overview]
Message-ID: <19991102151031.A5951@dman.com> (raw)

This provides a configure switch to prevent the testing of tcsetpgrp.

--- configure.in.bak	Tue Nov  2 14:43:47 1999
+++ configure.in	Tue Nov  2 15:05:47 1999
@@ -250,6 +250,13 @@
   AC_DEFINE(MAILDIR_SUPPORT)
 fi])
 
+dnl Do you want to verify that tcsetpgrp works?
+undefine([tcsetpgrp-check])dnl
+AC_ARG_ENABLE(tcsetpgrp-check,
+[  --disable-tcsetpgrp-check     Disable test of tcsetpgrp],
+[tcsetpgrp-check="$enableval"], [tcsetpgrp-check=yes])
+
+
 dnl ------------------
 dnl CHECK THE COMPILER
 dnl ------------------
@@ -1240,8 +1247,12 @@
 dnl -----------
 dnl if found tcsetpgrp, test to see if it actually works
 dnl for instance, BeOS R4.51 does not support it yet
+dnl When building where stdin is not a terminal, this
+dnl check will fail, resulting in no job control support
+dnl being available.  Because this is undesirable, allow
+dnl it to be skipped.
 dnl -----------
-if test $ac_cv_func_tcsetpgrp=yes; then
+if test $ac_cv_func_tcsetpgrp=yes -a $tcsetpgrp-check=yes; then
     AC_CACHE_CHECK(if tcsetpgrp() actually works,
     zsh_cv_sys_tcsetpgrp,
     [AC_TRY_RUN([


             reply	other threads:[~1999-11-02 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-02 20:10 Clint Adams [this message]
1999-11-03  3:02 ` Bart Schaefer
1999-11-03 17:07   ` Clint Adams
1999-11-10 18:26     ` Will Day

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=19991102151031.A5951@dman.com \
    --to=schizo@debian.org \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).