From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu, 5 Sep 2002 21:46:20 +0000 (+0300)
Subject: OS/400 PASE symbol scan tweak
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c1aca01288ece548bdc7b723da770ebba6e0f698;p=p5sagit%2Fp5-mst-13.2.git

OS/400 PASE symbol scan tweak
Message-Id: <200209051846.g85IkKOk013697@kosh.hut.fi>

p4raw-id: //depot/perl@17866
---

diff --git a/Configure b/Configure
index d57d749..00fcdd5 100755
--- a/Configure
+++ b/Configure
@@ -5769,7 +5769,7 @@ case "$PASE" in
 define)
     echo " "
     echo "Since you are compiling for PASE, extracting more symbols from libc.a...">&4
-    nm -Tv /lib/libc.a | grep '^\.[a-z]' | awk '$2 == "T" {print $1}' | sed 's/^.//' >> libc.list
+    dump -Tv /lib/libc.a | awk '$7 == "/unix" {print $5 " " $8}' | grep "^SV" | awk '{print $2}' >> libc.list
     ;;
 *)  if $test -f /lib/syscalls.exp; then
 	echo " "