diff options
author | Emilia Kasper <emilia@openssl.org> | 2015-10-09 20:00:53 +0200 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2015-10-14 19:08:54 +0200 |
commit | c97c7f8d53dda12f4fda24fc7542281999df97f6 (patch) | |
tree | 4d4d9e93dd179f90f9c12fec5a8f2ed16b5137ad /util | |
parent | a20d9422cf7a516cd576be8f91fe90738459ef42 (diff) |
make depend: prefer clang over makedepend
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/domd | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |