3 ?RCS: Copyright (c) 1998 Jarkko Hietaniemi
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
8 ?MAKE:d_dbminit64 d_dbmclose64 d_fetch64 d_store64 d_delete64 \
9 d_firstkey64 d_nextkey64: Inlibc use64bitint Setvar test
10 ?MAKE: -pick add $@ %<
12 ?S: This variable conditionally defines the HAS_DBMINIT64 symbol, which
13 ?S: indicates to the C program that the dbminit64() routine is available.
16 ?S: This variable conditionally defines the HAS_DBMCLOSE64 symbol, which
17 ?S: indicates to the C program that the dbmclose64() routine is available.
20 ?S: This variable conditionally defines the HAS_FETCH64 symbol, which
21 ?S: indicates to the C program that the fetch64() routine is available.
24 ?S: This variable conditionally defines the HAS_DELETE64 symbol, which
25 ?S: indicates to the C program that the delete64() routine is available.
28 ?S: This variable conditionally defines the HAS_STORE64 symbol, which
29 ?S: indicates to the C program that the store64() routine is available.
32 ?S: This variable conditionally defines the HAS_FIRSTKEY64 symbol, which
33 ?S: indicates to the C program that the firstkey64() routine is available.
36 ?S: This variable conditionally defines the HAS_NEXTKEY64 symbol, which
37 ?S: indicates to the C program that the nextkey64() routine is available.
40 ?C: This symbol, if defined, indicates that the dbminit64 routine is
41 ?C: available to open dbm files larger than 2 gigabytes.
44 ?C: This symbol, if defined, indicates that the dbmclose64 routine is
45 ?C: available to close dbm files larger than 2 gigabytes.
48 ?C: This symbol, if defined, indicates that the fetch64 routine is
49 ?C: available to fetch from dbm files larger than 2 gigabytes.
52 ?C: This symbol, if defined, indicates that the store64 routine is
53 ?C: available to store to dbm files larger than 2 gigabytes.
56 ?C: This symbol, if defined, indicates that the delete64 routine is
57 ?C: available to delete from dbm files larger than 2 gigabytes.
60 ?C: This symbol, if defined, indicates that the firstkey64 routine is
61 ?C: available to firstkey in dbm files larger than 2 gigabytes.
64 ?C: This symbol, if defined, indicates that the nextkey64 routine is
65 ?C: available to nextkey in dbm files larger than 2 gigabytes.
67 ?H:#$d_dbminit64 HAS_DBMINIT64 /**/
68 ?H:#$d_dbmclose64 HAS_DBMCLOSE64 /**/
69 ?H:#$d_fetch64 HAS_FETCH64 /**/
70 ?H:#$d_store64 HAS_STORE64 /**/
71 ?H:#$d_delete64 HAS_DELETE64 /**/
72 ?H:#$d_firstkey64 HAS_FIRSTKEY64 /**/
73 ?H:#$d_nextkey64 HAS_NEXTKEY64 /**/
77 ?LINT:set d_dbmclose64
81 ?LINT:set d_firstkey64
83 : Check if DBM has 64bit functions
84 if $test X"$use64bitint" = X"$define"; then
85 : see if dbminit64 exists
86 set dbminit64 d_dbminit64
89 : see if dbmclose64 exists
90 set dbmclose64 d_dbmclose64
93 : see if fetch64 exists
97 : see if store64 exists
101 : see if delete64 exists
102 set delete64 d_delete64
105 : see if firstkey64 exists
106 set firstkey64 d_firstkey64
109 : see if nextkey64 exists
110 set nextkey64 d_nextkey64
114 for xxx in d_dbminit64 d_dbmclose64 d_fetch64 d_store64 d_delete64 d_firstkey64 d_nextkey64