1 ?RCS: $Id: i_dbm.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: i_dbm.U,v $
12 ?RCS: Revision 3.0.1.2 1997/02/28 15:48:20 ram
13 ?RCS: patch61: added I_RPCSVC_DBM check
15 ?RCS: Revision 3.0.1.1 1995/05/12 12:16:05 ram
16 ?RCS: patch54: made more robust by checking both header and lib (ADO)
18 ?RCS: Revision 3.0 1993/08/18 12:08:15 ram
19 ?RCS: Baseline for dist 3.0 netwide release.
21 ?MAKE:i_dbm i_rpcsvcdbm: Inhdr Inlibc Setvar
22 ?MAKE: -pick add $@ %<
24 ?S: This variable conditionally defines the I_DBM symbol, which
25 ?S: indicates to the C program that <dbm.h> exists and should
29 ?S: This variable conditionally defines the I_RPCSVC_DBM symbol, which
30 ?S: indicates to the C program that <rpcsvc/dbm.h> exists and should
31 ?S: be included. Some System V systems might need this instead of <dbm.h>.
33 ?C:I_DBM (HAS_ODBM ODBM):
34 ?C: This symbol, if defined, indicates that <dbm.h> exists and should
38 ?C: This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
39 ?C: should be included.
42 ?H:#$i_rpcsvcdbm I_RPCSVC_DBM /**/
45 ?LINT:set i_dbm i_rpcsvcdbm
46 : see if dbm.h is available
47 ?X: We might just have the header, not the library.
48 ?X: We look for dbmclose() rather than dbminit() because
49 ?X: some versions of SCO Unix have -ldbm, but are missing dbmclose(). -- ADO
50 ?X: Some System V systems have <rpcsvc/dbm.h> instead of <dbm.h>.
51 : see if dbmclose exists
52 set dbmclose d_dbmclose
65 *) set rpcsvc/dbm.h i_rpcsvcdbm
70 *) echo "We won't be including <dbm.h>"