diff options
author | Kurt D. Starsinic <kstar@wolfetech.com> | 1999-04-02 11:49:47 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-04-02 22:03:23 +0000 |
commit | 8cef0c70022a42ce6ce5ecba75ca3cb331d9c87e (patch) | |
tree | 1a07accbf32bd6add53029b33d02f810ab9e6421 /hints | |
parent | a4ea3e349ec88e7ba7b1e4398fb21cc7b1b60ab8 (diff) | |
download | perl-8cef0c70022a42ce6ce5ecba75ca3cb331d9c87e.tar.gz |
On -Uinstallusrbinperl and no -Dprefix, set prefix to /usr/local.
To: perl5-porters@perl.org
Subject: linux hints nit
Message-ID: <19990402164947.E80926@O2.chapin.edu>
p4raw-id: //depot/cfgperl@3204
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index 25d5d736d8..0339e8fcf6 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -43,8 +43,16 @@ ignore_versioned_solibs='y' # available via anonymous FTP at tsx-11.mit.edu in # /pub/linux/docs/linux-standards/fsstnd. # Allow a command line override, e.g. Configure -Dprefix=/foo/bar +# Also, if the user has specified -Uinstallusrbinperl and hasn't +# specified a prefix, then set prefix to /usr/local. case "$prefix" in -'') prefix='/usr' ;; +'') + case "$installusrbinperl" in + "$undef") + prefix='/usr/local' ;; + esac +*) + prefix='/usr' ;; esac # gcc-2.6.3 defines _G_HAVE_BOOL to 1, but doesn't actually supply bool. |