Revert "check for tcgetpgrp() presence before using."

This reverts commit c12d5be929.
It shouldn't be needed after commit 870adc5
master
sezero 9 years ago committed by Claudio Matsuoka
parent 5e5ba53799
commit 1bd65c8924
  1. 2
      configure.ac
  2. 2
      src/main.c

@ -241,6 +241,6 @@ XMP_TRY_COMPILE(whether compiler understands -Wunused-result,
int main(){}],
CFLAGS="${CFLAGS} -Wno-unused-result")
AC_CHECK_FUNCS(kill getopt_long tcgetpgrp)
AC_CHECK_FUNCS(kill getopt_long)
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

@ -83,7 +83,7 @@ static void sigtstp_handler(int n)
static void sigcont_handler(int sig)
{
#if defined(HAVE_TERMIOS_H) && defined(HAVE_TCGETPGRP)
#ifdef HAVE_TERMIOS_H
unsigned int old_in = foreground_in;
foreground_in = tcgetpgrp(STDIN_FILENO) == getpgrp();

Loading…
Cancel
Save