diff options
author | Fifer, Eric <EFifer@sanwaint.com> | 1999-06-02 16:16:05 +0100 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-05 05:17:12 +0000 |
commit | 1cab015a482fdf2a2c78aa5bae65199be3b5e3c8 (patch) | |
tree | e02b004521f99ac1666a83c1a55c3d9d5e780236 /Configure | |
parent | 16cebae21a82370677b73e4db793c726b3f4ff27 (diff) | |
download | perl-1cab015a482fdf2a2c78aa5bae65199be3b5e3c8.tar.gz |
cygwin32 update
Message-Id: <71E287AB0D94D111BBD600600849EC8185EDD9@POST>
Subject: [ID 19990602.003] perl5.005_03 (CORE) cygwin32 port
p4raw-id: //depot/perl@3582
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -4368,18 +4368,26 @@ $grep "^[ ]*#.*\$wanted" | \ while read cline; do name=\`echo \$cline | $awk "\$awkprg" | $tr -d '"'\` case "\$name" in - *[/\\\\]\$wanted) echo "\$name"; exit 0;; - *[\\\\/]\$wanted) echo "\$name"; exit 0;; - *) name='';; + *[/\\\\]\$wanted) echo "\$name"; exit 1;; + *[\\\\/]\$wanted) echo "\$name"; exit 1;; + *) exit 2;; esac; done; +# +#status=0: grep returned 0 lines, case statement not executed +#status=1: headerfile found +#status=2: while loop executed, no headerfile found +# +status=\$? $rm -f foo\$\$.c; -case "\$name" in -'') exit 1;; -esac +if test \$status -eq 1; then + exit 0; +fi +exit 1 EOF chmod +x findhdr + : define an alternate in-header-list? function inhdr='echo " "; td=$define; tu=$undef; yyy=$@; cont=true; xxf="echo \"<\$1> found.\" >&4"; |