about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-03-14 10:51:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-03-14 10:51:15 +0000
commit323f8ec7416998258ae70a156855e59891ba8a01 (patch)
treef95faa818597208063daf88b67a3c863c1a71ad8
parent538fa548c328b23bf4bb27c0b59916bec448b447 (diff)
downloadzsh-323f8ec7416998258ae70a156855e59891ba8a01.tar.gz
zsh-323f8ec7416998258ae70a156855e59891ba8a01.tar.xz
zsh-323f8ec7416998258ae70a156855e59891ba8a01.zip
20886: configure.ac: SIGTTOU -> TTOU
-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);;