diff options
author | Tim Rice <tim@multitalents.net> | 2006-02-04 17:33:55 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2006-02-04 17:33:55 -0800 |
commit | 0daad78fab0ff6b6b4064e3e7a5090d258d945a8 (patch) | |
tree | 7195c1285b2e90f66dc40d36c6e8a786ee3abfbd | |
parent | fd80ddcb2349e2ac28f4fc6f682c20c8d1dc06ad (diff) |
- (tim) [configure.ac] Add AC_REVISION. Add sys/time.h to lastlog.h test
for Solaris. OK dtucker@.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 11 |
2 files changed, 14 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20060205 | ||
2 | - (tim) [configure.ac] Add AC_REVISION. Add sys/time.h to lastlog.h test | ||
3 | for Solaris. OK dtucker@. | ||
4 | |||
1 | 20060203 | 5 | 20060203 |
2 | - (tim) [configure.ac] test for egrep (AC_PROG_EGREP) before first | 6 | - (tim) [configure.ac] test for egrep (AC_PROG_EGREP) before first |
3 | AC_CHECK_HEADERS test. Without it, if AC_CHECK_HEADERS is first run | 7 | AC_CHECK_HEADERS test. Without it, if AC_CHECK_HEADERS is first run |
@@ -3830,4 +3834,4 @@ | |||
3830 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 3834 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
3831 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 3835 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
3832 | 3836 | ||
3833 | $Id: ChangeLog,v 1.4120 2006/02/03 03:11:56 tim Exp $ | 3837 | $Id: ChangeLog,v 1.4121 2006/02/05 01:33:55 tim Exp $ |
diff --git a/configure.ac b/configure.ac index fe034aca6..d64daf219 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.324 2006/02/03 03:11:56 tim Exp $ | 1 | # $Id: configure.ac,v 1.325 2006/02/05 01:33:55 tim Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,6 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.325 $) | ||
18 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
19 | 20 | ||
20 | AC_CONFIG_HEADER(config.h) | 21 | AC_CONFIG_HEADER(config.h) |
@@ -673,7 +674,6 @@ AC_CHECK_HEADERS( \ | |||
673 | glob.h \ | 674 | glob.h \ |
674 | ia.h \ | 675 | ia.h \ |
675 | iaf.h \ | 676 | iaf.h \ |
676 | lastlog.h \ | ||
677 | limits.h \ | 677 | limits.h \ |
678 | login.h \ | 678 | login.h \ |
679 | login_cap.h \ | 679 | login_cap.h \ |
@@ -724,6 +724,13 @@ AC_CHECK_HEADERS( \ | |||
724 | vis.h \ | 724 | vis.h \ |
725 | ) | 725 | ) |
726 | 726 | ||
727 | # lastlog.h requires sys/time.h to be included first on Solaris | ||
728 | AC_CHECK_HEADERS(lastlog.h, [], [], [ | ||
729 | #ifdef HAVE_SYS_TIME_H | ||
730 | # include <sys/time.h> | ||
731 | #endif | ||
732 | ]) | ||
733 | |||
727 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | 734 | # sys/ptms.h requires sys/stream.h to be included first on Solaris |
728 | AC_CHECK_HEADERS(sys/ptms.h, [], [], [ | 735 | AC_CHECK_HEADERS(sys/ptms.h, [], [], [ |
729 | #ifdef HAVE_SYS_STREAM_H | 736 | #ifdef HAVE_SYS_STREAM_H |