This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / libnlist.U
CommitLineData
d8875586
MBT
1?RCS: $Id: libnlist.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: libnlist.U,v $
12?RCS: Revision 3.0.1.1 1997/02/28 16:08:02 ram
13?RCS: patch61: added usrinc and mips on the dependency line
14?RCS: patch61: make sure we call ./mips
15?RCS: patch61: added a ?LINT: hint
16?RCS:
17?RCS: Revision 3.0 1993/08/18 12:09:00 ram
18?RCS: Baseline for dist 3.0 netwide release.
19?RCS:
20?MAKE:libnlist: Loc libpth Guess usrinc _a
21?MAKE: -pick add $@ %<
22?S:libnlist (libmld):
23?S: This variable contains the name of the library required to get the
24?S: definition of the nlist() function. On a MIPS RISC/OS box, it is -lmld.
25?S: Under Sys Vr4, it is -lelf. Otherwise, its value is empty.
26?S:.
27?T:xxx
28?LINT:use usrinc
29: see if we need a special library for 'nlist()'
30echo " "
31: How about doing this if nlist is not in libc...
32if ./mips ; then
33 libnlist='-lmld'
34else
35 xxx=`./loc libelf$_a x $libpth`
36 case "$xxx" in
37 x) ;;
38 *)
39 libnlist="$xxx"
40 ;;
41 esac
42fi
43case "$libnlist" in
44'') echo "No special library for nlist() seems necessary." >&4
45 ;;
46*) echo "nlist() can be found in $libnlist." >&4
47 ;;
48esac
49