summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-28 19:29:05 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-28 19:29:05 +0000
commit452e41562cdf7bd40706d2dfe5318dceefdc5fb3 (patch)
treedd3d115ca32940a4bc1f7c818482b88425520e3c /util
parent8c6dd96aedef82eabd65e9b4f3685fac0aa098e1 (diff)
PR: 2085
Submitted by: Mike Frysinger <vapier@gentoo.org> Approved by: steve@openssl.org Change domd test to match 1.0.0+ version: check $MAKEDEPEND ends in "gcc" to support cross compilers.
Diffstat (limited to 'util')
-rwxr-xr-xutil/domd2
1 files changed, 1 insertions, 1 deletions
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