about summary refs log tree commit diff stats
path: root/scripts/cfg_defs.sh
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2010-04-29 22:00:22 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2010-04-29 22:00:22 -0400
commitdc748b1c47baadafae2c90f0e188927b11b7e029 (patch)
treec728869dc6504570b9bffb7459ccbdd1bf264a9f /scripts/cfg_defs.sh
parentd4093cadbda3787dfb165954f8f6521790cfac86 (diff)
downloadlynx-snapshots-dc748b1c47baadafae2c90f0e188927b11b7e029.tar.gz
snapshot of project "lynx", label v2_8_8dev_6c
Diffstat (limited to 'scripts/cfg_defs.sh')
-rwxr-xr-xscripts/cfg_defs.sh48
1 files changed, 0 insertions, 48 deletions
diff --git a/scripts/cfg_defs.sh b/scripts/cfg_defs.sh
deleted file mode 100755
index 5f37e962..00000000
--- a/scripts/cfg_defs.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-# Translate the lynx_cfg.h and config.cache data into a table, useful for
-# display at runtime.
-
-TOP="${1-.}"
-OUT=cfg_defs.h
-
-# just in case we want to run this outside the makefile
-: ${SHELL:=/bin/sh}
-
-cat >$OUT <<EOF
-#ifndef CFG_DEFS_H
-#define CFG_DEFS_H 1
-
-static const struct {
-	const char *name;
-	const char *value;
-} config_cache[] = {
-EOF
-
-sed \
-	-e '/^#/d'     \
-	-e 's/^.[^=]*_cv_//' \
-	-e 's/=\${.*=/=/'  \
-	-e 's/}$//'          \
-	config.cache | $SHELL $TOP/scripts/cfg_edit.sh >>$OUT
-
-cat >>$OUT <<EOF
-};
-
-static const struct {
-	const char *name;
-	const char *value;
-} config_defines[] = {
-EOF
-fgrep	'#define' lynx_cfg.h |
-sed	-e 's@	@ @g' \
-	-e 's@  @ @g' \
-	-e 's@^[ 	]*#define[ 	]*@@' \
-	-e 's@[ ]*/\*.*\*/@@' \
-	-e 's@[ 	][ 	]*@=@' \
-    | $SHELL $TOP/scripts/cfg_edit.sh >>$OUT
-
-cat >>$OUT <<EOF
-};
-
-#endif /* CFG_DEFS_H */
-EOF
nvisible-island.net> 2005-01-02 23:49:58 -0500 committer Thomas E. Dickey <dickey@invisible-island.net> 2005-01-02 23:49:58 -0500 snapshot of project "lynx", label v2-8-6dev_10' href='/ingrix/lynx-snapshots/commit/src/LYPrettySrc.h?id=1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f'>1fc1d8af ^
d326f24d ^
1fc1d8af ^

d326f24d ^
1fc1d8af ^
d326f24d ^


b223937f ^
1fc1d8af ^
ab1d1ae5 ^
0f88481e ^
1fc1d8af ^

















b223937f ^
1fc1d8af ^

d326f24d ^
1fc1d8af ^



d326f24d ^
1fc1d8af ^

b223937f ^
1fc1d8af ^


b223937f ^
1fc1d8af ^





b223937f ^


1fc1d8af ^

b223937f ^
089dd372 ^
b223937f ^
1fc1d8af ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92