This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Populate metaconfig branch.
[metaconfig.git] / dist-3.0at70b / mcon / U / d_dlopen.U
1 ?RCS: $Id: d_dlopen.U,v 3.0.1.2 1995/07/25 13:52:56 ram Exp $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1993, 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 3.0.
10 ?RCS:
11 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
12 ?RCS:
13 ?RCS: $Log: d_dlopen.U,v $
14 ?RCS: Revision 3.0.1.2  1995/07/25  13:52:56  ram
15 ?RCS: patch56: force compile-link test since symbol might lie in crt0.o (ADO)
16 ?RCS:
17 ?RCS: Revision 3.0.1.1  1994/08/29  16:07:34  ram
18 ?RCS: patch32: created by ADO
19 ?RCS:
20 ?MAKE:d_dlopen: Inlibc runnm
21 ?MAKE:  -pick add $@ %<
22 ?S:d_dlopen:
23 ?S:     This variable conditionally defines the HAS_DLOPEN symbol, which
24 ?S:     indicates to the C program that the dlopen() routine is available.
25 ?S:.
26 ?C:HAS_DLOPEN :
27 ?C:     This symbol, if defined, indicates that the dlopen routine is
28 ?C:     available.
29 ?C:.
30 ?H:#$d_dlopen HAS_DLOPEN                /**/
31 ?H:.
32 ?T: xxx_runnm
33 ?LINT:set d_dlopen
34 ?X: We don't permanently change runnm, but we do temporarily.
35 ?LINT: change runnm
36 : see if dlopen exists
37 ?X: On NetBSD and FreeBSD, dlopen is available, but it is in 
38 ?X: /usr/lib/crt0.o, not in any of the libraries.  Therefore, do not
39 ?X: use the nm extraction, but use a real compile and link test instead.
40 xxx_runnm="$runnm"
41 runnm=false
42 set dlopen d_dlopen
43 eval $inlibc
44 runnm="$xxx_runnm"
45