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 / lib.U
CommitLineData
c6667804 1?RCS: $Id$
d8875586
MBT
2?RCS:
3?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
cf39bd7e 4?RCS:
c6667804 5?RCS: You may redistribute only under the terms of the Artistic License,
d8875586
MBT
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
c6667804 8?RCS: that same Artistic License; a copy of which may be found at the root
d8875586
MBT
9?RCS: of the source tree for dist 4.0.
10?RCS:
11?RCS: $Log: lib.U,v $
12?RCS: Revision 3.0.1.3 1995/09/25 09:16:47 ram
13?RCS: patch59: unit is now forced to the top of Configure, if possible
14?RCS:
15?RCS: Revision 3.0.1.2 1995/01/30 14:38:08 ram
16?RCS: patch49: can now handle installation prefix changes (from WED)
17?RCS:
18?RCS: Revision 3.0.1.1 1994/08/29 16:27:40 ram
19?RCS: patch32: now uses installation prefix to set the default
20?RCS:
21?RCS: Revision 3.0 1993/08/18 12:08:56 ram
22?RCS: Baseline for dist 3.0 netwide release.
23?RCS:
24?MAKE:lib libexp: Getfile Loc Oldconfig Prefixit Prefixup prefixexp
25?MAKE: -pick add $@ %<
26?Y:TOP
27?S:lib:
28?S: This variable holds the name of the directory in which the user wants
29?S: to put public library files for the package in question. It is most
30?S: often a local directory such as /usr/local/lib. Programs using this
31?S: variable must be prepared to deal with filename expansion.
32?S:.
33?S:libexp:
34?S: This variable is the same as the lib variable, but is filename expanded
35?S: at configuration time, for convenient use in your makefiles.
36?S:.
37: determine where public libraries go
38set lib lib
39eval $prefixit
40case "$lib" in
41'')
42 dflt=`./loc . "." $prefixexp/lib /usr/local/lib /usr/lib /lib`
43 set dflt
44 eval $prefixup
45 ;;
46*) dflt="$lib";;
47esac
48echo " "
49fn=d~
50rp='Where do you want to put the public libraries?'
51. ./getfile
52lib="$ans"
53libexp="$ansexp"
54