bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: texinfo 4.4 configure bug and patch]


From: Karl Berry
Subject: address@hidden: texinfo 4.4 configure bug and patch]
Date: Tue, 4 Feb 2003 15:52:59 -0500

I wonder if this specialness on Solaris means autoconf should have a
separate test for ptem.h (ugh), or at least being mentioned in the
manual?

(Thanks, Lars.)

karl


Date: Tue, 4 Feb 2003 19:47:54 +0000
From: Lars Hecking <address@hidden>
To: address@hidden
Subject: texinfo 4.4 configure bug and patch


 Hi Karl,

 On Solaris, testing for usability of sys/ptem.h fails because of a lacking
 definition of mblk_t. The definition is provided by sys/stream.h, which
 sys/ptem.h does not include automatically.

 Cheers,
  Lars


--- configure.ac.orig   2003-01-31 16:48:57.000000000 +0000
+++ configure.ac        2003-02-04 19:41:16.909234127 +0000
@@ -41,7 +41,13 @@
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]