summaryrefslogtreecommitdiff
path: root/ext/util
diff options
context:
space:
mode:
authorGraham Barr <gbarr@pobox.com>1998-06-19 06:31:04 -0500
committerGurusamy Sarathy <gsar@cpan.org>1998-06-21 06:51:38 +0000
commit4318d5a0158916acc059aa8e6af84037cb7296b9 (patch)
treeeed01f63911055a71417415226fec5ef7fb4d955 /ext/util
parent0f4eea8fa1779e08575278392ed398ffeda6dcd2 (diff)
downloadperl-4318d5a0158916acc059aa8e6af84037cb7296b9.tar.gz
applied patch, modified logic to avoid reentering lexer at compile-time
Message-ID: <19980619113104.S9711@asic.sc.ti.com> Subject: Re: [PATCH perl5.004_67] Add Errno in ext/ p4raw-id: //depot/perl@1173
Diffstat (limited to 'ext/util')
-rw-r--r--ext/util/make_ext6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/util/make_ext b/ext/util/make_ext
index 70a5d2eb23..54caf7dfd8 100644
--- a/ext/util/make_ext
+++ b/ext/util/make_ext
@@ -61,6 +61,8 @@ fi
case "$extspec" in
lib*) # Remove lib/auto prefix and /*.* suffix
pname=`echo "$extspec" | sed -e 's:^lib/auto/::' -e 's:/[^/]*\.[^/]*$::' ` ;;
+ext*) # Remove ext/ prefix and /pm_to_blib suffix
+ pname=`echo "$extspec" | sed -e 's:^ext/::' -e 's:/pm_to_blib$::' ` ;;
*::*) # Convert :: to /
pname=`echo "$extspec" | sed -e 's/::/\//g' ` ;;
*) pname="$extspec" ;;
@@ -93,6 +95,10 @@ dynamic) makeargs="LINKTYPE=dynamic";
target=all
;;
+nonxs) makeargs="";
+ target=all
+ ;;
+
*clean) # If Makefile has been moved to Makefile.old by a make clean
# then use Makefile.old for realclean rather than rebuild it
if test ! -f $makefile -a -f Makefile.old; then