diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-02 17:54:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-02 17:54:32 +0000 |
commit | dcd7796ab9330335475a23f3bb99758a7fe5b8d4 (patch) | |
tree | bfdd9de1051ee5128d0e53e1bb74e6abd559d764 /Configure | |
parent | 4248a4fbbde45bffdb71d6c3e4f9dca3ce032f3d (diff) | |
download | perl-dcd7796ab9330335475a23f3bb99758a7fe5b8d4.tar.gz |
An inconvenient hang would happen if the stdio _ptr wasn't
found in <stdio.h> and <stdio_impl.h> didn't exist. (grep
would be grepping stdin for all eternity for the _ptr.)
p4raw-id: //depot/perl@7954
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Fri Dec 1 22:20:01 EET 2000 [metaconfig 3.0 PL70] +# Generated on Sat Dec 2 18:39:37 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >/tmp/c1$$ <<EOF @@ -14497,14 +14497,19 @@ if $contains 'unsigned.*char.*_ptr;' `./findhdr stdio.h` >/dev/null 2>&1 ; then echo "Your stdio uses unsigned chars." >&4 stdchar="unsigned char" else - : Solaris 7+ - if $contains 'unsigned.*char.*_ptr;' `./findhdr stdio_impl.h` >/dev/null 2>&1 ; then - echo "Your stdio uses unsigned chars." >&4 - stdchar="unsigned char" - else - echo "Your stdio uses signed chars." >&4 - stdchar="char" - fi + : Solaris 7+, others? + stdiohdr=`./findhdr stdio_impl.h` + case "$stdiohdr" in + '') ;; + *) if $contains 'unsigned.*char.*_ptr;' $stdiohdr >/dev/null 2>&1 ; then + echo "Your stdio uses unsigned chars." >&4 + stdchar="unsigned char" + else + echo "Your stdio uses signed chars." >&4 + stdchar="char" + fi + ;; + esac fi : see if time exists |