From 3e0064781bfd3a0efdd28ee84f34a3807ff2988a Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 16 Oct 2002 00:24:03 +0000 Subject: [PATCH] - (bal) More advanced strsep test by Darren Tucker --- ChangeLog | 3 ++- configure.ac | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 315a37328..0947b39e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 20021015 - (bal) Fix bug id 383 and only call loginrestrict for AIX if not root. + - (bal) More advanced strsep test by Darren Tucker 20021015 - (tim) [contrib/caldera/openssh.spec] make ssh-agent setgid nobody @@ -767,4 +768,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2495 2002/10/16 00:13:52 mouring Exp $ +$Id: ChangeLog,v 1.2496 2002/10/16 00:24:03 mouring Exp $ diff --git a/configure.ac b/configure.ac index c7223c7aa..4be5f641e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.90 2002/10/04 23:54:55 mouring Exp $ +# $Id: configure.ac,v 1.91 2002/10/16 00:24:05 mouring Exp $ AC_INIT AC_CONFIG_SRCDIR([ssh.c]) @@ -605,9 +605,12 @@ AC_CHECK_FUNCS(arc4random b64_ntop bcopy bindresvport_sa \ realpath recvmsg rresvport_af sendmsg setdtablesize setegid \ setenv seteuid setgroups setlogin setproctitle setresgid setreuid \ setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \ - socketpair strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp \ + socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \ truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) +dnl Make sure strsep prototype is defined before defining HAVE_STRSEP +AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) + dnl IRIX and Solaris 2.5.1 have dirname() in libgen AC_CHECK_FUNCS(dirname, [AC_CHECK_HEADERS(libgen.h)] ,[ AC_CHECK_LIB(gen, dirname,[