Displaying 4 results from an estimated 4 matches for "ossh_varname".
2000 May 11
3
OpenSSH-2.1: FROM in 'w' empty?
Hello all,
I wonder if this is an oversight/bug/feature, but here it goes.
It seems that in OpenSSH 2.1, 'w' (or who) command may print out something
like this:
----
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pekkas ttyp1 - 3:10am 0.00s 0.08s 0.03s w
----
2.0beta1 was the one I used before, and that printed FROM field properly.
Now,
2000 Aug 26
0
New chroot patch, for 2.1.1p4
...t;&5; }; then
+if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_struct_addrinfo="yes"
else
@@ -3661,13 +3663,13 @@
ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
echo $ac_n "checking for ut_host field in utmp.h""... $ac_c" 1>&6
-echo "configure:3665: checking for ut_host field in utmp.h" >&5
+echo "configure:3667: checking for ut_host field in utmp.h&qu...
2000 Oct 04
0
2.2.0p1 chroot patch
...t;&5; }; then
+if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_struct_addrinfo="yes"
else
@@ -3764,13 +3766,13 @@
ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
echo $ac_n "checking for ut_host field in utmp.h""... $ac_c" 1>&6
-echo "configure:3768: checking for ut_host field in utmp.h" >&5
+echo "configure:3770: checking for ut_host field in utmp.h&qu...
2001 May 21
1
2.9p1 patches
...ODO: This is not foolproof, better to compile and read from there
+AC_DEFUN(OSSH_CHECK_HEADER_FOR_FIELD, [
+# look for field '$1' in header '$2'
+ dnl This strips characters illegal to m4 from the header filename
+ ossh_safe=`echo "$2" | sed 'y%./+-%__p_%'`
+ dnl
+ ossh_varname="ossh_cv_$ossh_safe""_has_"$1
+ AC_MSG_CHECKING(for $1 field in $2)
+ AC_CACHE_VAL($ossh_varname, [
+ AC_EGREP_HEADER($1, $2, [ dnl
+ eval "$ossh_varname=yes" dnl
+ ], [ dnl
+ eval "$ossh_varname=no" dnl
+ ]) dnl
+ ])
+ ossh_result=`eval 'echo $...