summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-08-30 01:22:51 +0300
committerhv <hv@crypt.org>2002-09-04 11:21:57 +0000
commit522b859adcc800ddbbe593fba580633bb305644f (patch)
tree27ac7ca00d33e07f829531d80821230b1f1a0bd7 /Configure
parentc38ddbc4365cf58ed4e3957d38c67381b8f863be (diff)
downloadperl-522b859adcc800ddbbe593fba580633bb305644f.tar.gz
OS/400 PASE port
Message-ID: <20020829192251.GA27102@lyta.hut.fi> p4raw-id: //depot/perl@17827
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure14
1 files changed, 11 insertions, 3 deletions
diff --git a/Configure b/Configure
index e65ab418aa..d57d749cee 100755
--- a/Configure
+++ b/Configure
@@ -5418,7 +5418,7 @@ case "$usenm" in
esac
case "$dflt" in
'')
- if $test "$osname" = aix -a ! -f /lib/syscalls.exp; then
+ if $test "$osname" = aix -a "X$PASE" != "$Xdefine" -a ! -f /lib/syscalls.exp; then
echo " "
echo "Whoops! This is an AIX system without /lib/syscalls.exp!" >&4
echo "'nm' won't be sufficient on this sytem." >&4
@@ -5765,11 +5765,19 @@ else
fi
fi
nm_extract="$com"
-if $test -f /lib/syscalls.exp; then
+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
+ ;;
+*) if $test -f /lib/syscalls.exp; then
echo " "
echo "Also extracting names from /lib/syscalls.exp for good ole AIX..." >&4
$sed -n 's/^\([^ ]*\)[ ]*syscall[0-9]*[ ]*$/\1/p' /lib/syscalls.exp >>libc.list
-fi
+ fi
+ ;;
+esac
;;
esac
$rm -f libnames libpath