diff options
author | Michael Jennings <mej@kainx.org> | 1999-10-11 18:37:55 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 1999-10-11 18:37:55 +0000 |
commit | 332269133dd91f88f70c28a45c5792230af002fd (patch) | |
tree | cdb7a842a4e4272fe28d9d17021bd44713a926dc /configure.in | |
parent | 11b7b87dadae20bcb16643a9f4256b148581765e (diff) | |
download | eterm-332269133dd91f88f70c28a45c5792230af002fd.tar.gz |
Mon Oct 11 15:54:52 PDT 1999 Michael Jennings <mej@eterm.org>
Lots of cleanups here, including a couple fixes for bugs noticed by
Tom Gilbert <gilbertt@tomgilbert.freeserve.co.uk> and Martin Tyler
<martin@boo.org>. Also removed the requirement of glibc 2.1 for using
SVR4-style pty's (/dev/pts/*) under Linux.
SVN revision: 798
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 0378b19..6748775 100644 --- a/configure.in +++ b/configure.in @@ -155,6 +155,9 @@ AC_CHECK_FUNC(logout, )) AC_CHECK_FUNC(getpwuid, , AC_CHECK_LIB(sun, getpwuid, LIBS="$LIBS -lsun")) +dnl# +dnl# Utility stuff +dnl# dnl# Did they want debugging? AC_MSG_CHECKING(for debugging level) AC_ARG_WITH(debugging, [ --with-debugging[=num] enable debugging output, num is an optional level], @@ -172,6 +175,27 @@ AC_ARG_WITH(debugging, [ --with-debugging[=num] enable debugging output, num i AC_DEFINE_UNQUOTED(DEBUG, 4) ) +dnl# Check for the appropriate pty mechanism +AC_MSG_CHECKING(for pty mechanism) +PTY_MECH="" +if test -e /dev/ptc ; then + AC_DEFINE(HAVE_DEV_PTC) + PTY_MECH="AIX $PTY_MECH" +fi +if test -e /dev/ptmx ; then + AC_DEFINE(HAVE_DEV_PTMX) + PTY_MECH="SVR4 $PTY_MECH" +fi +if test -e /dev/ptyp128 ; then + AC_DEFINE(HAVE_SCO_PTYS) + PTY_MECH="SCO $PTY_MECH" +fi +if test "X$PTY_MECH" = "X"; then + AC_MSG_RESULT(generic pty's only) +else + AC_MSG_RESULT($PTY_MECH) +fi + dnl# dnl# FEATURES dnl# @@ -184,7 +208,6 @@ AC_ARG_WITH(imlib, GRLIBS="-lImlib" AC_DEFINE(PIXMAP_SUPPORT) AC_DEFINE(PIXMAP_SCROLLBAR) - AC_DEFINE(PIXMAP_MENUBAR) AC_DEFINE(BACKING_STORE) else AC_MSG_RESULT(no) @@ -193,7 +216,6 @@ AC_ARG_WITH(imlib, GRLIBS="-lImlib" AC_DEFINE(PIXMAP_SUPPORT) AC_DEFINE(PIXMAP_SCROLLBAR) - AC_DEFINE(PIXMAP_MENUBAR) AC_DEFINE(BACKING_STORE) ) AC_MSG_CHECKING(for transparency support) |