From: Dr. Stephen Henson Date: Wed, 28 Oct 2009 19:29:05 +0000 (+0000) Subject: PR: 2085 X-Git-Tag: OpenSSL_0_9_8m-beta1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=452e41562cdf7bd40706d2dfe5318dceefdc5fb3;p=openssl PR: 2085 Submitted by: Mike Frysinger Approved by: steve@openssl.org Change domd test to match 1.0.0+ version: check $MAKEDEPEND ends in "gcc" to support cross compilers. --- diff --git a/util/domd b/util/domd index 560ebeaf82..112044c0d4 100755 --- a/util/domd +++ b/util/domd @@ -14,7 +14,7 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi cp Makefile Makefile.save # fake the presence of Kerberos touch $TOP/krb5.h -if [ "$MAKEDEPEND" = "gcc" ]; then +if expr "$MAKEDEPEND" : '.*gcc$' > /dev/null; then args="" while [ $# -gt 0 ]; do if [ "$1" != "--" ]; then args="$args $1"; fi