From: Perl 5 Porters Date: Thu, 11 Jan 1996 04:09:13 +0000 (+0000) Subject: perl 5.002beta2 patch: Configure X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0f45b59163db6d2c7ae1f6bb53b4d430ed8aaec;p=p5sagit%2Fp5-mst-13.2.git perl 5.002beta2 patch: Configure Use nm -D on Linux with shared libraries, if the system supports nm -D. --- diff --git a/Configure b/Configure index 5965514..da3e7db 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 Thu Jan 4 11:13:27 EST 1996 [metaconfig 3.0 PL60] +# Generated on Thu Jan 11 17:07:56 EST 1996 [metaconfig 3.0 PL60] cat >/tmp/c1$$ <&4 echo " " $echo $n "This may take a while...$c" >&4 -nm $nm_opt $* 2>/dev/null >libc.tmp +: Linux may need the special Dynamic option to nm for shared libraries. +if test -f /vmlinuz && $nm -D $nm_opt $libc > /dev/null 2>&1; then + cat /dev/null >libc.tmp + for nm_libs_ext in $*; do + case $nm_libs_ext in *.so*) nm_opt_here=-D ;; *) nm_opt_here='' ;; esac + nm $nm_opt_here $nm_opt $nm_libs_ext 2>/dev/null >>libc.tmp + done +else + nm $nm_opt $* 2>/dev/null >libc.tmp +fi + $echo $n ".$c" $grep fprintf libc.tmp > libc.ptf xscan='eval "libc.list"; $echo $n ".$c" >&4'