summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 465bbf987..6bf453f52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-28 Philippe Troin <phil@fifi.org>
+
+ * 20886: configure.ac: Use TTOU with trap rather than SIGTTOU.
+
2005-03-13 Bart Schaefer <schaefer@zsh.org>
* unposted: Functions/Prompts/prompt_bart_setup: Update to some
diff --git a/configure.ac b/configure.ac
index 471b8893d..c97fbacf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1863,7 +1863,7 @@ esac],[zsh_working_tcsetpgrp=check])
if test "x$ac_cv_func_tcsetpgrp" = xyes; then
case "x$zsh_working_tcsetpgrp" in
xcheck)
- trap "" SIGTTOU > /dev/null 2>&1 || :
+ trap "" TTOU > /dev/null 2>&1 || :
AC_CACHE_CHECK(if tcsetpgrp() actually works,
zsh_cv_sys_tcsetpgrp,
[AC_TRY_RUN([
@@ -1894,7 +1894,7 @@ esac
Try running configure with --with-tcsetpgrp or --without-tcsetpgrp]);;
*) AC_MSG_ERROR([unexpected return status]);;
esac
- trap - SIGTTOU > /dev/null 2>&1 || :
+ trap - TTOU > /dev/null 2>&1 || :
;;
xyes) :;;
xno) AC_DEFINE(BROKEN_TCSETPGRP);;