This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RE: [perl #26136] localtime(3) calls tzset(3), but localtime_r(3) may not.
[metaconfig.git] / U / modified / so.U
CommitLineData
ec0d834e
JH
1?RCS: $Id: so.U,v 3.0.1.2 1994/10/29 16:30:04 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: $Log: so.U,v $
12?RCS: Revision 3.0.1.2 1994/10/29 16:30:04 ram
13?RCS: patch36: now tells user how he can suppress shared lib lookup (ADO)
14?RCS: patch36: removed echo at the top, since it's now in the here-doc (ADO)
15?RCS:
16?RCS: Revision 3.0.1.1 1994/06/20 07:07:02 ram
17?RCS: patch30: created
18?RCS:
19?X:
20?X: This unit computes the shared-object / shared-lib extension
21?X:
22?MAKE:so: test libpth Loc Myread Oldconfig cat
23?MAKE: -pick add $@ %<
24?S:so:
25?S: This variable holds the extension used to identify shared libraries
26?S: (also known as shared objects) on the system. Usually set to 'so'.
27?S:.
28?T: xxx
29: compute shared library extension
30case "$so" in
31'')
32 if xxx=`./loc libc.sl X $libpth`; $test -f "$xxx"; then
33 dflt='sl'
34 else
35 dflt='so'
36 fi
37 ;;
38*) dflt="$so";;
39esac
40$cat <<EOM
41
42On some systems, shared libraries may be available. Answer 'none' if
43you want to suppress searching of shared libraries for the remainder
44of this configuration.
45
46EOM
47rp='What is the file extension used for shared libraries?'
48. ./myread
49so="$ans"
50