summaryrefslogtreecommitdiff
path: root/perl_exp.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1997-12-23 17:39:12 +0200
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-01-08 12:28:08 +0000
commitf2b22898bb64b5219f78ff904f46b783873b7356 (patch)
tree322c129e14038f0ccf390df98b79fee29e497627 /perl_exp.SH
parentfe44a5e8ded57786d86db6cd28cbac7ae376fddc (diff)
downloadperl-f2b22898bb64b5219f78ff904f46b783873b7356.tar.gz
Fix variable export and threading configuration for AIX:
Subject: [PATCH] 5.004_56: AIX 4.1.5.0: sans et avec threads p4raw-id: //depot/perl@400
Diffstat (limited to 'perl_exp.SH')
-rw-r--r--perl_exp.SH7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl_exp.SH b/perl_exp.SH
index 06b587f9ef..067ebec135 100644
--- a/perl_exp.SH
+++ b/perl_exp.SH
@@ -54,6 +54,13 @@ y*)
;;
*)
sed -n '/^[A-Za-z]/ s/^/Perl_/p' global.sym interp.sym >> perl.exp
+ expperlvars=/tmp/exp$$pv
+ expthrdvar=/tmp/exp$$tv
+ sed -n 's/^PERLVARI*(G\([^,]*\).*/Perl_\1/p' perlvars.h >> $expperlvars
+ sed -n 's/^PERLVARI*(T\([^,]*\).*/Perl_\1/p' thrdvar.h >> $expthrdvar
+ # The shebang line nicely sorts as the first one.
+ sort -o perl.exp -u perl.exp $expperlvars $expthrdvar
+ rm -f $expperlvars $expthrdvar
;;
esac