From 452e41562cdf7bd40706d2dfe5318dceefdc5fb3 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 28 Oct 2009 19:29:05 +0000 Subject: [PATCH] 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. --- util/domd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1