This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove trailing whitespace on meta-lines in unit files
[metaconfig.git] / dist / U / i_dbm.U
1 ?RCS: $Id: i_dbm.U 1 2006-08-24 12:32:52Z rmanfredi $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4 ?RCS:
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.
10 ?RCS:
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
14 ?RCS:
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)
17 ?RCS:
18 ?RCS: Revision 3.0  1993/08/18  12:08:15  ram
19 ?RCS: Baseline for dist 3.0 netwide release.
20 ?RCS:
21 ?MAKE:i_dbm i_rpcsvcdbm: Inhdr Inlibc Setvar
22 ?MAKE:  -pick add $@ %<
23 ?S:i_dbm (d_odbm):
24 ?S:     This variable conditionally defines the I_DBM symbol, which
25 ?S:     indicates to the C program that <dbm.h> exists and should
26 ?S:     be included.
27 ?S:.
28 ?S:i_rpcsvcdbm:
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>.
32 ?S:.
33 ?C:I_DBM (HAS_ODBM ODBM):
34 ?C:     This symbol, if defined, indicates that <dbm.h> exists and should
35 ?C:     be included.
36 ?C:.
37 ?C:I_RPCSVC_DBM:
38 ?C:     This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
39 ?C:     should be included.
40 ?C:.
41 ?H:#$i_dbm I_DBM        /**/
42 ?H:#$i_rpcsvcdbm I_RPCSVC_DBM   /**/
43 ?H:.
44 ?T:d_dbmclose
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
53 eval $inlibc
54
55 case "$d_dbmclose" in
56 $define)
57         set dbm.h i_dbm
58         eval $inhdr
59         case "$i_dbm" in
60         $define)
61                 val="$undef"
62                 set i_rpcsvcdbm
63                 eval $setvar
64                 ;;
65         *)      set rpcsvc/dbm.h i_rpcsvcdbm
66                 eval $inhdr
67                 ;;
68         esac
69         ;;
70 *)      echo "We won't be including <dbm.h>"
71         val="$undef"
72         set i_dbm
73         eval $setvar
74         val="$undef"
75         set i_rpcsvcdbm
76         eval $setvar
77         ;;
78 esac
79