From: Perl 5 Porters Date: Thu, 29 Aug 1996 22:32:23 +0000 (+0000) Subject: perl 5.003_04: Configure X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=85cad39c3e3be1f99cf99f2b3a1ba0b0090f5ff0;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_04: Configure Change name of shared libperl library back to libperl.so.xxx, so that a simple -lperl picks up either libperl.a or libperl.so.xxx. Check if $sh='' in case we've reloaded an old config.sh --- diff --git a/Configure b/Configure index f9fbeb8..18f2172 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.8 1995/07/25 13:40:02 ram Exp $ # -# Generated on Fri Aug 23 15:01:14 EDT 1996 [metaconfig 3.0 PL60] +# Generated on Fri Aug 30 11:30:25 EDT 1996 [metaconfig 3.0 PL60] cat >/tmp/c1$$ <&4 tmp_n="$n" tmp_c="$c" + tmp_sh="$sh" . ./config.sh cp config.sh UU n="$tmp_n" c="$tmp_c" + : Older versions did not always set $sh. Catch re-use of such + : an old config.sh. + case "$sh" in + '') sh="$tmp_sh" ;; + esac hint=previous ;; esac @@ -7983,12 +7989,12 @@ true) # a version-specific architecture-dependent library, the version # number isn't really that important, except for making cc/ld happy. # - # A name such as libperl5.so.3.1 - majmin="libperl5.$so.$patchlevel.$subversion" - # A name such as libperl5.so.301 + # A name such as libperl.so.3.1 + majmin="libperl.$so.$patchlevel.$subversion" + # A name such as libperl.so.301 majonly=`echo $patchlevel $subversion | $awk '{printf "%d%02d", $1, $2}'` - majonly=libperl5.$so.$majonly + majonly=libperl.$so.$majonly # I'd prefer to keep the os-specific stuff here to a minimum, and # rely on figuring it out from the naming of libc. case "${osname}${osvers}" in @@ -8000,7 +8006,7 @@ true) case "$libc" in *libc.$so.[0-9]*.[0-9]*) dflt=$majmin ;; *libc.$so.[0-9]*) dflt=$majonly ;; - *) dflt=libperl5.$so ;; + *) dflt=libperl.$so ;; esac ;; esac @@ -8014,7 +8020,7 @@ I need to select a good name for the shared libperl. If your system uses library names with major and minor numbers, then you might want something like $majmin. Alternatively, if your system uses a single version number for shared libraries, then you might want to use $majonly. -Or, your system might be quite happy with a simple libperl5.$so. +Or, your system might be quite happy with a simple libperl.$so. Since the shared libperl will get installed into a version-specific architecture-dependent directory, the version number of the shared perl @@ -8035,10 +8041,10 @@ esac case "$shrpdir" in '') ;; *) $cat >&4 <&4 <