we don't use the libutil anymore !
[apps/madtty.git] / configure.ac
index 9c997d2..a4906fe 100644 (file)
@@ -24,14 +24,6 @@ if test "${enable_curses}" != "no"; then
     CFLAGS="$CFLAGS -DUSE_NCURSES"
 fi
 
-AC_ARG_ENABLE([pty],
-              AS_HELP_STRING([--disable-pty], [disables pty support (default enabled)]))
-if test "${enable_pty}" != "no"; then
-    AC_CHECK_LIB([util], [forkpty], [],
-                 AC_MSG_ERROR([Need util library (forkpty function) to compile pty support.]))
-    CFLAGS="$CFLAGS -DUSE_PTY"
-fi
-
 dnl Checks for library functions
 AC_CHECK_FUNCS([memset select setenv])
 AC_FUNC_MALLOC