summaryrefslogtreecommitdiffstats
path: root/src/util/pty/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Move pty library from util/pty to appl/libpty; update Makefile.in andKen Raeburn2006-04-111-269/+0
| | | | | | configure.in files accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17887 dc483132-0cff-0310-8789-dd5450dbe970
* Add prerequisites for some header checks to avoid "present but cannotTom Yu2006-04-051-1/+9
| | | | | | be compiled" warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17856 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Always provide three arguments to AC_DEFINEKen Raeburn2006-03-311-16/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17820 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Only sanity-check setutent() API if there is noTom Yu2004-07-301-16/+17
| | | | | | | | | utmpx.h, since some setutent() implementations aren't sysV-derived, e.g., NetBSD. ticket: 2432 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16633 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove tests for strsave, sys_errlist,Ezra Peisach2004-04-121-30/+0
| | | | | | | krb5_sigtype, setjmp, dirent, F_SETOWN. These are left over from the split from appl/bsd. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16242 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ADD_DEF and uses thereof, and move the appropriate symbols toTom Yu2003-03-031-1/+0
| | | | | | | | | | | AC_DEFINE'ed things or to Makefile.in files. Remove explicit settings of CPPFLAGS. These allow CPPFLAGS to be a user parameter. Also, add CFLAGS to the CC_LINK variables, so they can control usage of the compiler to link programs. ticket: 677 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15214 dc483132-0cff-0310-8789-dd5450dbe970
* Search for ar, ranlib, install in KRB5_BUILD_LIBRARY* macros rather thanKen Raeburn2003-01-101-4/+0
| | | | | | explicitly in directories using those macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15111 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Quote the argument to AC_CHECK_HEADER. AutoconfEzra Peisach2002-12-061-1/+1
| | | | | | 2.57 was having problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15032 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): Don't install libpty.h.Ken Raeburn2002-07-131-1/+2
| | | | | | * configure.in: Always build static library only. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14640 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Cosmetic fix in utmpx.ut_exit checkTom Yu2001-09-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13746 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Provide revoke() prototype if system headers lackingEzra Peisach2001-06-111-2/+17
| | | | | | | | | | | * logwtmp.c: Provide logwtmp() prototype if needed. * configure.in: Check for system provided getutmp(), logwtmp() and revoke() prototypes. Check for util.h, libutil.h. * update_wtmp.c: Provide prototype for getutmp() if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13336 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for system provided getutmp() prototypeEzra Peisach2001-06-111-1/+16
| | | | | | * update_wtmp.c: Provide prototype for getutmp() if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13325 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_paranoia.c: New file; do many paranoid checks about cttyTom Yu2001-05-111-0/+4
| | | | | | | | | | | | | | | | handling by the pty drivers. * Makefile.in: Add rules for pty_paranoia and check-paranoia, which runs pty_paranoia. * configure.in: Define REVOKE_NEEDS_OPEN for Tru64. Add support for program building and run flags for the sake of pty_paranoia. * open_slave.c: Fix somewhat; AIX doesn't like opening the ctty twice, so only do initial open if we special-case it in configure.in, e.g. for Tru64. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13239 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix some quoting of shell variables when passingTom Yu2001-04-301-21/+26
| | | | | | | | | | | | | | to "test". Reorder some logic in consistency checks to validate cache variables against "yes" to account for possible empty or nonexistent values. * pty-int.h: Fix conditional prototype of update_wtmp(). * update_wtmp.c: Fix conditional compilation of update_wtmp() to cover the case where we have setutxent() but don't have updwtmpx() and WTMPX_FILE, as is the case on some Linux installations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13222 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in(K5_CHECK_UT_MEMBER): Fix typo in previous; makeTom Yu2001-04-281-1/+1
| | | | | | | sure to include the correct header when checking structure members. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13219 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Many changes to support the rewriting of the utmpTom Yu2001-04-281-44/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pieces of libpty. Do a large amount of checking for consistency of various utmp and utmpx APIs as currently understood. See rant in update_utmp.c. * dump-utmp.c: Rewrite; now has capability to use utmp{,x}name() to extract entries from utmp and utmpx files. Adjusts field widths when printing as appropriate. * libpty.h: Update call signature for update_utmp() and logwtmp(); make prototypes unconditional. * logwtmp.c: Rewrite. Use pututline() or pututxline() API whenever possible. * pty-int.h: Update call signatures for update_wtmp{,x}(); make prototypes unconditional. * sane_hostname.c: Use the autoconf-correct macro names. * update_utmp.c: Rewrite. Basically, use functions from the pututline() or pututxline() API whenever possible, to avoid lossage. Inserted large rant about the conjectured history of BSD utmp, sysV utmp, and utmpx, as well as documentation about some known quirks. * update_wtmp.c: Rewrite. Add new function ptyint_logwtmpx() that takes a utmpx rather than a utmp, so it can fail to lose data converting to and from utmp. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13218 dc483132-0cff-0310-8789-dd5450dbe970
* Use const sockaddr pointer in interface.Ken Raeburn2000-12-061-0/+1
| | | | | | Use get{name,addr}info if available, to pick up IPv6 support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12884 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Quote macro use inside AC_CHECK_LIB. ChangeEzra Peisach2000-11-011-5/+5
| | | | | | | AC_FUNC_CHECK to AC_CHECK_FUNC, AC_HAVE_FUNCS to AC_CHECK_FUNCS and AC_HEADER_CHECK to AC_CHECK_HEADER.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12831 dc483132-0cff-0310-8789-dd5450dbe970
* * pty-int.h: Add getutmpx() prototype if neededEzra Peisach2000-06-301-0/+22
| | | | | | | | | | | | | * configure.in: If getutmpx() exists on the system, test if a prototype is provided by the system headers. This was picked up by gcc -Wall. Under Linux glibc 2.1, the system header file <utmpx.h> provides a prototype for getutmpx() only if _GNU_SOURCE is defined (GNU extensions). The test offeres a prototype (which matches in this case) - if the prototype conflicts with a system provided one, we do not provide it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12477 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): More conditionalizing variable defintionEzra Peisach2000-06-291-1/+1
| | | | | | | | | | | | | | based on OS features. * cleanup.c (pty_cleanup): Add parenthesis about assignment in conditional (gcc suggestion). * pty-int.h: Include pty.h if it exists (for openpty prototype under Linux). * configure.in: Check for pty.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12451 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove test CHECK_WAIT_TYPE since nothing is using theTheodore Tso1999-01-271-1/+0
| | | | | | results of that test (WAIT_USES_INT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11131 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-121-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* Punt HAS_STDLIB_H, NO_STDLIB_H, POSIX_TYPES; see individual ChangeLogsTom Yu1997-10-021-1/+1
| | | | | | for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10204 dc483132-0cff-0310-8789-dd5450dbe970
* Check for openpty() in -lutil. It's there on FreeBSD and BSDITheodore Tso1997-04-251-0/+1
| | | | | | systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10074 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-091-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-131-0/+1
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Handle case where utmp usesEzra Peisach1996-11-151-0/+14
| | | | | | | | | | | ut_exit.e_exit and utmpx uses ut_exit.ut_exit. * configure.in (UT_EXIT_STRUCTURE_DIFFER): If utmpx.h exists, and getutmpx does not exist then test if the ut_exit part of the utmp/utmpx structure is a structure and if their types differ. (e_exit vs. ut_exit). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9422 dc483132-0cff-0310-8789-dd5450dbe970
* update_utmp.c (pty_update_utmp): Add code which attempts to compensateTheodore Tso1996-11-081-10/+1
| | | | | | | | | for systems that don't have getutmpx() configure.in: Check for getutmpx(). Replace calls to AC_FUNC_CHECK with AC_HAVE_FUNCS(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9349 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug pointed out by jhawk; we weren't looking for all ptysSam Hartman1996-06-241-1/+1
| | | | | | on SunOS or NetBSD. Also fix Hpux 10 bug with regard to utmpx. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8544 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to ET_RULESTom Yu1996-06-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 dc483132-0cff-0310-8789-dd5450dbe970
* Changes so HPUX doesn't use streams. ThisSam Hartman1996-04-161-2/+1
| | | | | | | | may break on HPUX10 depending on how you should get the name of the pts side of /dev/ptym/clone. I don't have an HPUX10 system to test on. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7816 dc483132-0cff-0310-8789-dd5450dbe970
* Have pty_cleanup() fork on systems with vhangup()Sam Hartman1996-04-151-1/+2
| | | | | | | so that the right controlling terminal can be used; needed on HP and others possibly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7813 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to help streams work correctly on AIX 4.1.4 and HPUX 9.Sam Hartman1996-03-251-0/+16
| | | | | | | Adapted loosly from 1837 in krb5-bugs, although I ended up not using any of Doug's code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7708 dc483132-0cff-0310-8789-dd5450dbe970
* Implement _getpty handling for the SGISam Hartman1996-03-241-18/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7707 dc483132-0cff-0310-8789-dd5450dbe970
* Use the SubdirLibraryRule defined in aclocal.m4 to create the DONETheodore Tso1995-09-291-0/+1
| | | | | | file (and to properly clean it up). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6896 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Solaris and UltrixSam Hartman1995-08-111-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6508 dc483132-0cff-0310-8789-dd5450dbe970
* DDon't call vhangup() on Ultrix until after session. This actually turns ↵Sam Hartman1995-08-101-0/+4
| | | | | | out to be secure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6495 dc483132-0cff-0310-8789-dd5450dbe970
* libpty.h (pty_cleanup): Fix argument type of pid to patch that used in theTheodore Tso1995-08-051-1/+1
| | | | | | | | | C file. Include <utmpx.h> if present. Only include <utmp.h> if it is present. configure.in: Check for utmp.h and utmpx.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6422 dc483132-0cff-0310-8789-dd5450dbe970
* Attempt to HUP processes associated with the pty when it is revoked ifSam Hartman1995-08-031-1/+1
| | | | | | vhangup is not available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6402 dc483132-0cff-0310-8789-dd5450dbe970
* Check in first version of libptySam Hartman1995-07-311-0/+142
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6370 dc483132-0cff-0310-8789-dd5450dbe970