another texinfo configure bug
Paul Vojta <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
Thomas: On Solaris 2.6, sys/ptem.h requires that sys/stream.h be included first. The following patch fixes configure.ac to take that fact into account. Currently, the configure script flags sys/ptem.h as missing. --Paul Vojta ---- cut here ---- --- utils/texinfo/configure.ac.orig 2003-01-31 08:48:57.000000000 -0800 +++ utils/texinfo/configure.ac 2003-02-15 00:07:23.000000000 -0800 @@ -41,7 +41,12 @@ AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h io.h limits.h pwd.h string.h strings.h \ termcap.h termio.h termios.h unistd.h \ - sys/fcntl.h sys/file.h sys/ptem.h sys/time.h sys/ttold.h sys/wait.h) + sys/fcntl.h sys/file.h sys/stream.h sys/time.h sys/ttold.h sys/wait.h) +AC_CHECK_HEADERS(sys/ptem.h, [], [], +[#if HAVE_SYS_STREAM_H +# include <sys/stream.h> +#endif +]) AC_SYS_POSIX_TERMIOS AC_HEADER_TIOCGWINSZ