From: Jarkko Hietaniemi Date: Wed, 21 Nov 2001 22:30:37 +0000 (+0000) Subject: AIX has broken builtin 'test'. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c2e04e73168418a95b5d33526ed5596531b401a1;p=p5sagit%2Fp5-mst-13.2.git AIX has broken builtin 'test'. p4raw-id: //depot/perl@13181 --- diff --git a/Configure b/Configure index bfd5a7b..62f4f31 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Nov 21 19:00:54 EET 2001 [metaconfig 3.0 PL70] +# Generated on Thu Nov 22 01:31:19 EET 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ </dev/null 2>&1; then - issymlink="$test -h" - echo "Your builtin 'test -h' may be broken, I'm using external '$test -h'." >&4 - fi - fi + case "$issymlink" in + "test -h") + if $test -h >/dev/null 2>&1; then + issymlink="/bin/test -h" + echo "Your builtin 'test -h' may be broken, I'm using external '/bin/test -h'." >&4 + fi + ;; + esac if $test "X$issymlink" = X; then if $test -L sym 2>/dev/null; then issymlink="$test -L"