From: Kurt D. Starsinic Date: Fri, 2 Apr 1999 16:49:47 +0000 (-0500) Subject: On -Uinstallusrbinperl and no -Dprefix, set prefix to /usr/local. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8cef0c70022a42ce6ce5ecba75ca3cb331d9c87e;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/hints/linux.sh b/hints/linux.sh index 25d5d73..0339e8f 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.