3 # Copyright (c) 2004, 2005 Darren Tucker
5 # Permission to use, copy, modify, and distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies.
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27 # identifier: [data] CRCR
29 echo "openssh-survey-version: 1"
31 echo "openssh-version: `./ssh -V 2>&1`"
33 configinv
=`$AWK '/^ \\\$.*configure/' config.log | sed 's/^ \\\$ //g'`
34 echo "configure-invocation: $configinv"
40 echo "uname-r: `uname -r`"
42 echo "uname-m: `uname -m`"
44 echo "uname-p: `uname -p`"
46 echo "oslevel: `oslevel 2>/dev/null`"
48 echo "oslevel-r: `oslevel -r 2>/dev/null`"
52 echo "cflags: $CFLAGS"
54 echo "cppflags: $CPPFLAGS"
56 echo "ldflags: $LDFLAGS"
60 echo "ccver-v: `$CC -v 2>&1 | sed '/^[ \t]*$/d'`"
62 echo "ccver-V: `$CC -V 2>&1 | sed '/^[ \t]*$/d'`"
65 ${CPP} -dM - </dev
/null
68 egrep '#define|#undef' config.h