svn rev #3282: trunk/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Nov 20 10:29:01 EST 2009


Commit By: ghudson
Log Message:
Simplify and fix the sys/ptyvar.h header test.


Changed Files:
U   trunk/configure.ac
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-11-19 16:13:16 UTC (rev 3281)
+++ trunk/configure.ac	2009-11-20 15:29:01 UTC (rev 3282)
@@ -73,8 +73,8 @@
 AC_CHECK_HEADERS(string.h ttyent.h util.h sac.h unistd.h utmp.h utmpx.h)
 AC_CHECK_HEADERS(arpa/inet.h arpa/nameser.h)
 AC_CHECK_HEADERS(sys/filio.h sys/ioctl_compat.h sys/label.h sys/param.h)
-AC_CHECK_HEADERS(sys/select.h sys/sockio.h sys/stream.h sys/time.h sys/tty.h)
-AC_CHECK_HEADERS(sys/uio.h sys/utsname.h sys/wait.h)
+AC_CHECK_HEADERS(sys/ptyvar.h sys/select.h sys/sockio.h sys/stream.h)
+AC_CHECK_HEADERS(sys/time.h sys/tty.h sys/uio.h sys/utsname.h sys/wait.h)
 # On some systems, term.h requires curses.h inclusion
 AC_CHECK_HEADERS(term.h,,,
 [#ifdef HAVE_CURSES_H
@@ -91,14 +91,6 @@
     ;;
 esac
 
-AC_CHECK_HEADER(sys/ptyvar.h, [], [],
-[#if HAVE_SYS_STREAM_H
-#include <sys/stream.h>
-#endif
-#if HAVE_SYS_TTY_H
-#include <sys/tty.h>
-#endif])
-
 AC_CHECK_FUNCS(_getpty cgetent getcwd getenv gettosbyname getusershell getutmp)
 AC_CHECK_FUNCS(getutmpx grantpt inet_aton initgroups isatty killpg killpg)
 AC_CHECK_FUNCS(line_push logwtmp openpty ptsname revoke rmufile rresvport_af)




More information about the Krb5-appl-commits mailing list