Commit e82a392d authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and __EXTENSIONS__ for

* gnome-pty-helper/configure.in: define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE,
	and __EXTENSIONS__ for Solaris, as we do in the top-level configure
	(bug #117636).
parent 5123fa85
2003-06-21 nalin
* gnome-pty-helper/configure.in: define _XOPEN_SOURCE_EXTENDED,
_XOPEN_SOURCE, and __EXTENSIONS__ for Solaris, as we do in the top-level
configure (#117636).
2003-07-16 nalin
* gnome-pty-helper/configure.in: check for grantpt in libc and then
in libpt. Check for openpty in libc before checking libutil. Check for
......
......@@ -19,6 +19,21 @@ AC_CHECK_FUNCS(endutent fcntl forkpty getttyent getutent getutmpx grantpt flock
GPH_CHECK_UTMP
AC_CHECK_HEADERS(stropts.h)
# Use all available features under glibc, and disable accidental use of
# deprecated functionality.
AC_EGREP_CPP(glibc,
[
#include <stdio.h>
#ifdef __GLIBC__
glibc
#endif
],
AC_DEFINE(_GNU_SOURCE,1,[Use all glibc features.]))
AC_DEFINE(_XOPEN_SOURCE_EXTENDED,1,[Needed to get declarations for msg_control and msg_controllen on Solaris])
AC_DEFINE(_XOPEN_SOURCE,1,[Needed to get declarations for msg_control and msg_controllen on Solaris])
AC_DEFINE(__EXTENSIONS__,1,[Needed to get declarations for msg_control and msg_controllen on Solaris])
AM_CONFIG_HEADER(config.h)
AC_OUTPUT(Makefile)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment