diff options
Diffstat (limited to 'crypto/openssl/util/domd')
-rwxr-xr-x | crypto/openssl/util/domd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/util/domd b/crypto/openssl/util/domd index bab48cb..6a628c7 100755 --- a/crypto/openssl/util/domd +++ b/crypto/openssl/util/domd @@ -14,7 +14,8 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi cp Makefile Makefile.save # fake the presence of Kerberos touch $TOP/krb5.h -if expr "$MAKEDEPEND" : '.*gcc$' > /dev/null; then +if ${MAKEDEPEND} --version 2>&1 | grep -q "clang" || + echo $MAKEDEPEND | grep -q "gcc"; then args="" while [ $# -gt 0 ]; do if [ "$1" != "--" ]; then args="$args $1"; fi |