New macro. Include UTIL_LIB check from gnome-libs.

Sun May  3 22:43:59 1998  Tom Tromey  <tromey@cygnus.com>

	* acconfig.h (HAVE_FORKPTY): New macro.
	* configure.in: Include UTIL_LIB check from gnome-libs.
This commit is contained in:
Tom Tromey 1998-05-04 04:58:31 +00:00 committed by Tom Tromey
parent a515d04590
commit 07087e2305
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sun May 3 22:43:59 1998 Tom Tromey <tromey@cygnus.com>
* acconfig.h (HAVE_FORKPTY): New macro.
* configure.in: Include UTIL_LIB check from gnome-libs.
1998-05-03 Mark Galassi <rosalia@cygnus.com>
* core-docs/gnome-intro.sgml: added the beginnings of an

View file

@ -11,3 +11,6 @@
/* Name of default window manager, as string. */
#undef WINDOW_MANAGER
/* Define if we have forkpty in libutil. */
#undef HAVE_FORKPTY

View file

@ -85,6 +85,13 @@ AC_CHECK_FUNC(inet_aton,,[AC_CHECK_LIB(resolv,inet_aton,RES_LIBS="-lresolv")])
AC_SUBST(RES_LIBS)
LIBS="$oLIBS"
dnl gnome-terminal
UTIL_LIB=""
AC_CHECK_FUNCS(forkpty, AC_DEFINE(HAVE_FORKPTY),
[AC_CHECK_LIB(util, forkpty, [AC_DEFINE(HAVE_FORKPTY)
UTIL_LIB='-lutil'])])
AC_SUBST(UTIL_LIB)
AC_CONFIG_SUBDIRS(gemvt)
AC_OUTPUT([