File tree 24 files changed +3
-153
lines changed
24 files changed +3
-153
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ I_LIMITS
24
24
I_STDARG
25
25
index
26
26
rindex
27
+ const
Original file line number Diff line number Diff line change @@ -410,7 +410,6 @@ d_clearenv=''
410
410
d_closedir=''
411
411
d_void_closedir=''
412
412
d_cmsghdr_s=''
413
- d_const=''
414
413
d_copysign=''
415
414
d_copysignl=''
416
415
d_cplusplus=''
@@ -12054,27 +12053,6 @@ case "$d_cmsghdr_s" in
12054
12053
*) echo "No, it doesn't." ;;
12055
12054
esac
12056
12055
12057
- : check for const keyword
12058
- echo " "
12059
- echo 'Checking to see if your C compiler knows about "const"...' >&4
12060
- $cat >const.c <<'EOCP'
12061
- typedef struct spug { int drokk; } spug;
12062
- int main()
12063
- {
12064
- const char *foo;
12065
- const spug y = { 0 };
12066
- }
12067
- EOCP
12068
- if $cc -c $ccflags const.c >/dev/null 2>&1 ; then
12069
- val="$define"
12070
- echo "Yup, it does."
12071
- else
12072
- val="$undef"
12073
- echo "Nope, it doesn't."
12074
- fi
12075
- set d_const
12076
- eval $setvar
12077
-
12078
12056
: see if copysign exists
12079
12057
set copysign d_copysign
12080
12058
eval $inlibc
@@ -19856,10 +19834,6 @@ $define)
19856
19834
echo " "
19857
19835
echo "Checking Berkeley DB version ..." >&4
19858
19836
$cat >try.c <<EOCP
19859
- #$d_const HASCONST
19860
- #ifndef HASCONST
19861
- #define const
19862
- #endif
19863
19837
#include <sys/types.h>
19864
19838
#include <stdio.h>
19865
19839
#$i_stdlib I_STDLIB
@@ -19950,10 +19924,6 @@ define)
19950
19924
echo " "
19951
19925
echo "Checking return type needed for hash for Berkeley DB ..." >&4
19952
19926
$cat >try.c <<EOCP
19953
- #$d_const HASCONST
19954
- #ifndef HASCONST
19955
- #define const
19956
- #endif
19957
19927
#include <sys/types.h>
19958
19928
#include <db.h>
19959
19929
@@ -19994,10 +19964,6 @@ define)
19994
19964
echo " "
19995
19965
echo "Checking return type needed for prefix for Berkeley DB ..." >&4
19996
19966
cat >try.c <<EOCP
19997
- #$d_const HASCONST
19998
- #ifndef HASCONST
19999
- #define const
20000
- #endif
20001
19967
#include <sys/types.h>
20002
19968
#include <db.h>
20003
19969
@@ -23843,7 +23809,6 @@ d_class='$d_class'
23843
23809
d_clearenv='$d_clearenv'
23844
23810
d_closedir='$d_closedir'
23845
23811
d_cmsghdr_s='$d_cmsghdr_s'
23846
- d_const='$d_const'
23847
23812
d_copysign='$d_copysign'
23848
23813
d_copysignl='$d_copysignl'
23849
23814
d_cplusplus='$d_cplusplus'
Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ d_class='undef'
144
144
d_clearenv=' define'
145
145
d_closedir=' define'
146
146
d_cmsghdr_s=' define'
147
- d_const=' define'
148
147
d_copysign=' undef'
149
148
d_copysignl=' define'
150
149
d_cplusplus=' undef'
Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ d_class='undef'
143
143
d_clearenv=' define'
144
144
d_closedir=' define'
145
145
d_cmsghdr_s=' define'
146
- d_const=' define'
147
146
d_copysign=' undef'
148
147
d_copysignl=' define'
149
148
d_cplusplus=' undef'
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ d_class='undef'
131
131
d_clearenv='undef'
132
132
d_closedir='define'
133
133
d_cmsghdr_s='undef'
134
- d_const='define'
135
134
d_copysign='undef'
136
135
d_copysignl='undef'
137
136
d_cplusplus='undef'
Original file line number Diff line number Diff line change 68
68
*/
69
69
#define HAS_CHSIZE /**/
70
70
71
- /* HASCONST:
72
- * This symbol, if defined, indicates that this C compiler knows about
73
- * the const type. There is no need to actually test for that symbol
74
- * within your programs. The mere use of the "const" keyword will
75
- * trigger the necessary tests.
76
- */
77
- #define HASCONST /**/
78
- #ifndef HASCONST
79
- #define const
80
- #endif
81
-
82
71
/* HAS_CRYPT:
83
72
* This symbol, if defined, indicates that the crypt routine is available
84
73
* to encrypt passwords and the like.
Original file line number Diff line number Diff line change @@ -584,11 +584,6 @@ d_cmsghdr_s (d_cmsghdr_s.U):
584
584
This variable conditionally defines the HAS_STRUCT_CMSGHDR symbol,
585
585
which indicates that the struct cmsghdr is supported.
586
586
587
- d_const (d_const.U):
588
- This variable conditionally defines the HASCONST symbol, which
589
- indicates to the C program that this C compiler knows about the
590
- const type.
591
-
592
587
d_copysign (d_copysign.U):
593
588
This variable conditionally defines the HAS_COPYSIGN symbol, which
594
589
indicates to the C program that the copysign() routine is available.
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ d_class='undef'
158
158
d_clearenv=' define'
159
159
d_closedir=' define'
160
160
d_cmsghdr_s=' define'
161
- d_const=' define'
162
161
d_copysign=' define'
163
162
d_copysignl=' define'
164
163
d_cplusplus=' undef'
Original file line number Diff line number Diff line change 1483
1483
*/
1484
1484
#define HAS_BACKTRACE /**/
1485
1485
1486
- /* HASCONST:
1487
- * This symbol, if defined, indicates that this C compiler knows about
1488
- * the const type. There is no need to actually test for that symbol
1489
- * within your programs. The mere use of the "const" keyword will
1490
- * trigger the necessary tests.
1491
- */
1492
- #define HASCONST /**/
1493
- #ifndef HASCONST
1494
- #define const
1495
- #endif
1496
-
1497
1486
/* HAS_CSH:
1498
1487
* This symbol, if defined, indicates that the C-shell exists.
1499
1488
*/
Original file line number Diff line number Diff line change @@ -1514,17 +1514,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
1514
1514
*/
1515
1515
#$d_backtrace HAS_BACKTRACE /**/
1516
1516
1517
- /* HASCONST:
1518
- * This symbol, if defined, indicates that this C compiler knows about
1519
- * the const type. There is no need to actually test for that symbol
1520
- * within your programs. The mere use of the "const" keyword will
1521
- * trigger the necessary tests.
1522
- */
1523
- #$d_const HASCONST /**/
1524
- #ifndef HASCONST
1525
- #define const
1526
- #endif
1527
-
1528
1517
/* HAS_CSH:
1529
1518
* This symbol, if defined, indicates that the C-shell exists.
1530
1519
*/
Original file line number Diff line number Diff line change @@ -5969,7 +5969,6 @@ $ WC "d_chsize='undef'"
5969
5969
$ WC "d_class='undef'"
5970
5970
$ WC "d_closedir='define'"
5971
5971
$ WC "d_cmsghdr_s='undef'"
5972
- $ WC "d_const='define'"
5973
5972
$ WC "d_copysign='" + d_copysign + "'"
5974
5973
$ WC "d_copysignl='define'"
5975
5974
$ WC "d_cplusplus='" + d_cplusplus + "'"
Original file line number Diff line number Diff line change 110
110
*/
111
111
/*#define HAS_CHSIZE / **/
112
112
113
- /* HASCONST:
114
- * This symbol, if defined, indicates that this C compiler knows about
115
- * the const type. There is no need to actually test for that symbol
116
- * within your programs. The mere use of the "const" keyword will
117
- * trigger the necessary tests.
118
- */
119
- #define HASCONST /**/
120
- #ifndef HASCONST
121
- #define const
122
- #endif
123
-
124
113
/* HAS_CUSERID:
125
114
* This symbol, if defined, indicates that the cuserid routine is
126
115
* available to get character login names.
Original file line number Diff line number Diff line change 68
68
*/
69
69
/*#define HAS_CHSIZE / **/
70
70
71
- /* HASCONST:
72
- * This symbol, if defined, indicates that this C compiler knows about
73
- * the const type. There is no need to actually test for that symbol
74
- * within your programs. The mere use of the "const" keyword will
75
- * trigger the necessary tests.
76
- */
77
- #define HASCONST /**/
78
- #ifndef HASCONST
79
- #define const
80
- #endif
81
-
82
71
/* HAS_CUSERID:
83
72
* This symbol, if defined, indicates that the cuserid routine is
84
73
* available to get character login names.
Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ d_class='undef'
144
144
d_clearenv=' undef'
145
145
d_closedir=' define'
146
146
d_cmsghdr_s=' undef'
147
- d_const=' define'
148
147
d_copysign=' undef'
149
148
d_copysignl=' undef'
150
149
d_cplusplus=' undef'
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ d_class='undef'
89
89
d_clearenv=' undef'
90
90
d_closedir=' undef'
91
91
d_cmsghdr_s=' undef'
92
- d_const=' define'
93
92
d_copysign=' undef'
94
93
d_copysignl=' undef'
95
94
d_cplusplus=' undef'
Original file line number Diff line number Diff line change 1479
1479
*/
1480
1480
/*#define HAS_BACKTRACE / **/
1481
1481
1482
- /* HASCONST:
1483
- * This symbol, if defined, indicates that this C compiler knows about
1484
- * the const type. There is no need to actually test for that symbol
1485
- * within your programs. The mere use of the "const" keyword will
1486
- * trigger the necessary tests.
1487
- */
1488
- /*#define HASCONST / **/
1489
- #ifndef HASCONST
1490
- #define const
1491
- #endif
1492
-
1493
1482
/* HAS_CSH:
1494
1483
* This symbol, if defined, indicates that the C-shell exists.
1495
1484
*/
5230
5219
#endif
5231
5220
5232
5221
/* Generated from:
5233
- * 86429d6dea8cb2d81b30da9d916693eb4c04ebeb21969c8df6f470ac77cd5c92 config_h.SH
5234
- * fd30f4a36ebf71b0b366649cee58bb37d9d61863201e087e8f40e4ceae0abf1d uconfig.sh
5222
+ * 875df2221ab768da0a87740ad45e12bbc9e3b483bfa1a913727e982350ad74cf config_h.SH
5223
+ * 24ca29f990de08f8119ad2c15f060361b86fc407caab088289d7d5ac3e0f117a uconfig.sh
5235
5224
* ex: set ro: */
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ d_class='undef'
83
83
d_clearenv=' undef'
84
84
d_closedir=' define'
85
85
d_cmsghdr_s=' undef'
86
- d_const=' undef'
87
86
d_copysign=' undef'
88
87
d_copysignl=' undef'
89
88
d_cplusplus=' undef'
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ d_class='undef'
83
83
d_clearenv=' undef'
84
84
d_closedir=' define'
85
85
d_cmsghdr_s=' undef'
86
- d_const=' undef'
87
86
d_copysign=' undef'
88
87
d_copysignl=' undef'
89
88
d_cplusplus=' undef'
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ d_class='undef'
129
129
d_clearenv='undef'
130
130
d_closedir='define'
131
131
d_cmsghdr_s='undef'
132
- d_const='define'
133
132
d_copysign='undef'
134
133
d_copysignl='undef'
135
134
d_cplusplus='undef'
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ d_class='undef'
131
131
d_clearenv='undef'
132
132
d_closedir='define'
133
133
d_cmsghdr_s='undef'
134
- d_const='define'
135
134
d_copysign='undef'
136
135
d_copysignl='undef'
137
136
d_cplusplus='undef'
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ d_class='undef'
131
131
d_clearenv='undef'
132
132
d_closedir='define'
133
133
d_cmsghdr_s='undef'
134
- d_const='define'
135
134
d_copysign='undef'
136
135
d_copysignl='undef'
137
136
d_cplusplus='undef'
Original file line number Diff line number Diff line change 50
50
*/
51
51
#define HAS_CHSIZE /**/
52
52
53
- /* HASCONST:
54
- * This symbol, if defined, indicates that this C compiler knows about
55
- * the const type. There is no need to actually test for that symbol
56
- * within your programs. The mere use of the "const" keyword will
57
- * trigger the necessary tests.
58
- */
59
- #define HASCONST /**/
60
- #ifndef HASCONST
61
- #define const
62
- #endif
63
-
64
53
/* HAS_CUSERID:
65
54
* This symbol, if defined, indicates that the cuserid routine is
66
55
* available to get character login names.
Original file line number Diff line number Diff line change 1474
1474
*/
1475
1475
/*#define HAS_BACKTRACE / **/
1476
1476
1477
- /* HASCONST:
1478
- * This symbol, if defined, indicates that this C compiler knows about
1479
- * the const type. There is no need to actually test for that symbol
1480
- * within your programs. The mere use of the "const" keyword will
1481
- * trigger the necessary tests.
1482
- */
1483
- #define HASCONST /**/
1484
- #ifndef HASCONST
1485
- #define const
1486
- #endif
1487
-
1488
1477
/* HAS_CSH:
1489
1478
* This symbol, if defined, indicates that the C-shell exists.
1490
1479
*/
Original file line number Diff line number Diff line change 1467
1467
*/
1468
1468
/*#define HAS_BACKTRACE / **/
1469
1469
1470
- /* HASCONST:
1471
- * This symbol, if defined, indicates that this C compiler knows about
1472
- * the const type. There is no need to actually test for that symbol
1473
- * within your programs. The mere use of the "const" keyword will
1474
- * trigger the necessary tests.
1475
- */
1476
- #define HASCONST /**/
1477
- #ifndef HASCONST
1478
- #define const
1479
- #endif
1480
-
1481
1470
/* HAS_CSH:
1482
1471
* This symbol, if defined, indicates that the C-shell exists.
1483
1472
*/
You can’t perform that action at this time.
0 commit comments