summaryrefslogtreecommitdiff
path: root/survey.sh.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-01-18 12:05:18 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-01-18 12:05:18 +1100
commit72c025d9f0f494d6816f045819b9be05fc915730 (patch)
treeafa1c48263bb64c391817e15d85e518a2363b862 /survey.sh.in
parent5caa78b1b7f086329b2102821a1e09512740dd61 (diff)
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
"make survey" and "make send-survey". This will provide data on the configure parameters, platform and platform features to the development team, which will allow (among other things) better targetting of testing. It's entirely voluntary and is off be default. ok djm@
Diffstat (limited to 'survey.sh.in')
-rw-r--r--survey.sh.in67
1 files changed, 67 insertions, 0 deletions
diff --git a/survey.sh.in b/survey.sh.in
new file mode 100644
index 000000000..6a0c08df4
--- /dev/null
+++ b/survey.sh.in
@@ -0,0 +1,67 @@
1#!/bin/sh
2#
3# Copyright (c) 2004, 2005 Darren Tucker
4#
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.
8#
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.
16
17host="@host@"
18AWK="@AWK@"
19CC="@CC@"
20CPP="@CPP@"
21CFLAGS="@CFLAGS@"
22CPPFLAGS="@CPPFLAGS@"
23LDFLAGS="@LDFLAGS@"
24LIBS="@LIBS@"
25
26# Note format:
27# identifier: [data] CRCR
28
29echo "openssh-survey-version: 1"
30echo
31echo "openssh-version: `./ssh -V 2>&1`"
32echo
33configinv=`$AWK '/^ \\\$.*configure/' config.log | sed 's/^ \\\$ //g'`
34echo "configure-invocation: $configinv"
35echo
36echo "host: $host"
37echo
38echo "uname: `uname`"
39echo
40echo "uname-r: `uname -r`"
41echo
42echo "uname-m: `uname -m`"
43echo
44echo "uname-p: `uname -p`"
45echo
46echo "oslevel: `oslevel 2>/dev/null`"
47echo
48echo "cc: $CC"
49echo
50echo "cflags: $CFLAGS"
51echo
52echo "cppflags: $CPPFLAGS"
53echo
54echo "ldflags: $LDFLAGS"
55echo
56echo "libs: $LIBS"
57echo
58echo "ccver-v: `$CC -v 2>&1`"
59echo
60echo "ccver-V: `$CC -V 2>&1`"
61echo
62echo "cppdefines:"
63${CPP} -dM - </dev/null
64echo
65echo "config.h:"
66egrep '#define|#undef' config.h
67echo